MooTools Clipboard

window.addEvent(paste, function(e){
if (e.event.clipboardData) {
console.log(e.event.clipboardData);
var text = e.event.clipboardData.getData(text/plain);var html = e.event.clipboardData.getData(text/html);console.log('text/plain - ' + text);if (html !== undefined) {console.log('text/html - ' + html);}text = text.replace(/</?[a-z][a-z0-9]*[^<>]*>/ig, '');document.execCommand(insertHTML, false, text);/*html*/}e.stop();});
 Firefox 14.0.1Chrome 22.0Safari 6.0IE 9.0Opera 12.01
paste eventYesYesYesYesNo
paste event on non-editable elementNoYesNoNoNo
clipboardDataNoYesYesYesNo
clipboardData.typesNoYesYesNoNo
clipboardData.getDataNoYesYesYesNo
clipboardData.setDataNoYesYesYesNo
mime typesNoYesYesNoNo
custom typesNoYesYesYesNo
event.clipboardDataNoYesYesNoNo
window.clipboardDataNoNoNoYesNo