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