get image data from clipboard javascript code example Example: javascript get image data from clipboard var items = pasteEvent.clipboardData.items;