Created
August 28, 2024 00:54
-
-
Save wolfcoder/82b1e80e66986e010a49c080ad70321e to your computer and use it in GitHub Desktop.
Disable right click command on browser
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
document.addEventListener('contextmenu', event => event.preventDefault()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment