Last active
July 3, 2023 02:54
-
-
Save ychin/2d259a758c24fe230ea5843680bc4281 to your computer and use it in GitHub Desktop.
Bookmarklet – Remove the anti-user event handlers on a website. If you are a web developer reading this: *Please* stop hijacking my web browser events, thanks!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:window.addEventListener('copy', function(event) {event.stopImmediatePropagation();}, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:window.addEventListener('scroll', function(event) {event.stopImmediatePropagation();}, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment