disable rightclick javascript code example
Example: javascript disable right click
document.addEventListener('contextmenu', event => event.preventDefault());
document.addEventListener('contextmenu', event => event.preventDefault());