how to stop right click on website code example
Example 1: javascript disable right click
document.addEventListener('contextmenu', event => event.preventDefault());
Example 2: disable right click javascript
//Disable mouse right click
$("body").on("contextmenu", function(e) {
return false;
});