by aaronm67 · 13y ago · 0 comments
document.body.addEventListener("paste", function(e){
console.log("paste event fired")
})
In Chrome, this will fire when you paste, in Firefox it will not.http://jsbin.com/odupog/1/edit
Either way, should alleviate some of the privacy concerns, as you can only get ClipboardData from elements where "paste" has a visible effect.