JavaScript deaktivieren Sie die rechte Klick
document.addEventListener('contextmenu', event => event.preventDefault());
Mobile Star
document.addEventListener('contextmenu', event => event.preventDefault());
//Disable mouse right click
$("body").on("contextmenu", function(e) {
return false;
});
// for disabling right click use this as it is
document.addEventListener('contextmenu', event => event.preventDefault());
event.preventDefault()
document.oncontextmenu = document.body.oncontextmenu = function() {return false;}
document.addEventListener('contextmenu', event => event.preventDefault());
// ⇓ Test it (fiddle) ⇓
aaaaa