Skip to content

Instantly share code, notes, and snippets.

@basola21
Created September 14, 2023 15:19
Show Gist options
  • Save basola21/7e3df78ac55a4f5550fd045a55ec7884 to your computer and use it in GitHub Desktop.
Save basola21/7e3df78ac55a4f5550fd045a55ec7884 to your computer and use it in GitHub Desktop.
Taking the paste power back
function dontTreadOnMe(e) {
e.stopImmediatePropagation()
}
documnet.addEventListener(
"paste",
dontTreadOnMe,
true
):
@basola21
Copy link
Author

if you find a website that disables paste just add this to the console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment