Skip to content

Instantly share code, notes, and snippets.

@ward
Created October 28, 2015 12:15
Show Gist options
  • Save ward/508743e3e566c87f68e5 to your computer and use it in GitHub Desktop.
Save ward/508743e3e566c87f68e5 to your computer and use it in GitHub Desktop.
reenablebrowsersanity.js
document.oncontextmenu = undefined;
document.onselectstart = undefined;
document.oncut = undefined;
document.oncopy = undefined;
document.onpaste = undefined;
document.onmousedown = undefined;
document.onclick = undefined;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment