Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

disable right click javascript

document.addEventListener('contextmenu', event => event.preventDefault());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disable #click #javascript
ADD COMMENT
Topic
Name
9+3 =