Skip to content

Instantly share code, notes, and snippets.

@watain666
Last active July 23, 2020 05:50
Show Gist options
  • Save watain666/739e1cbc246bbf3857569e524aec2341 to your computer and use it in GitHub Desktop.
Save watain666/739e1cbc246bbf3857569e524aec2341 to your computer and use it in GitHub Desktop.
Crack disable select and contextmenu, just select and drag this one line js code to your bookmarks, and click it.
javascript:(()=>{(()=>{function n(n){ona='on'+n,window.addEventListener&&window.addEventListener(n,function(n){for(let o=n.originalTarget;o;o=o.parentNode)o[ona]=null},!0),window[ona]=null,document[ona]=null,document.body&&(document.body[ona]=null)}n('contextmenu'),n('click'),n('mousedown'),n('mouseup'),n('selectstart')})();})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment