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