Skip to content

Instantly share code, notes, and snippets.

@ridheshcybe
Created September 28, 2021 15:22
Show Gist options
  • Save ridheshcybe/f96d16c3c08f3a2945decbe553fc7087 to your computer and use it in GitHub Desktop.
Save ridheshcybe/f96d16c3c08f3a2945decbe553fc7087 to your computer and use it in GitHub Desktop.
document.addEventListener("contextmenu", function(e){
e.preventDefault();
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment