Created
July 5, 2022 12:15
-
-
Save henideepak/a9218c53b57b48f094c1b647eb4f4309 to your computer and use it in GitHub Desktop.
Disable Right Click via HTML attribute
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
/** | |
* Attribute | |
*/ | |
oncontextmenu="return false" | |
<body oncontextmenu="return false"> | |
<select oncontextmenu="return false"> | |
. | |
.. | |
... | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment