I was reading through this article about image pasting in Chrome and Firefox.
To recap, Firefox does not provide any information about the image pasted, the "paste" event handler gets a null clipboardData object.
To work around, one places an invisible contenteditable div in the DOM and always keeps it in focus, when stuff is pasted it triggers a timeout that checks the contents of the invisible div to grab an image handle.
Is there any way to hack stuff using magic iframes or what-not, short of replacing the textarea with a contenteditable div, to get paste-image-support in Firefox?
(note: Java and Flash solutions are out of the question)
document.onpastemethod. This should allow you to not force focus on that div the entire time.