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