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