Is it possible to read the clipboard in Firefox, Safari and Chrome using JavaScript?
Safari supports reading the clipboard during onpaste events: Information You want to do something like: someDomNode.onpaste = function(e) { var paste = e.clipboardData && e.clipboardData.getData ? e.clipboardData.getData(‘text/plain’) : // Standard window.clipboardData && window.clipboardData.getData ? window.clipboardData.getData(‘Text’) : // MS false; if(paste) { // … } };