I want to drag images from other sites to dropzone on my site (between tabs / windows). This works with Firefox and Chrome, but not in IE 10 (the same behavior in gmail if you drop images to your email address). In Firefox or Chrome, evt.dataTransfer contains enough information to retrieve a URL or image as a file.
dropbox.addEventListener("drop", drop, false); ... add more event listeners... function drop(evt) { evt.stopPropagation(); evt.preventDefault(); ... // in firefox this works: console.log(evt.dataTransfer.getData('text/html')); ... }
In IE10, the event does not contain any useful information, it seems to be lost if I drag between tabs.
BUUUT, if I delete the image, IE goes to the site where the image came from. Is there any way to access this information? If I take an image on my desktop, I can upload the file.
How can I get the URL of the dropped image in IE 10?
Edit: there is a similar question (didn't help me) HTML5 drag and drop between windows
Puckl source share