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