Coz
unread,Mar 15, 2011, 10:58:58 PM3/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-extensions
Question: What is the event thats fired when a file is dragged and
dropped on a chrome window?
I have been unsuccessful in finding out how to capture the event that
fires when a file is dragged onto the chrome browser.
Different file types trigger different outputs. If I drag an txt file,
chrome will open the txt file, if I drag and drop a mp3 onto a chrome
window it will trigger the mp3 to play.
What event is fired? I tried creating a content_script that adds a
ondrag* event listener to the body of every page, but it doesn't seem
to fire.
If anyone can shed some light on this or even point me to an extension
that works with this type of event, that would be uber appreciated.
Cheers,
Coz