JavaScript Отключите щелчок правой кнопкой мыши
document.addEventListener('contextmenu', event => event.preventDefault());
Mobile Star
document.addEventListener('contextmenu', event => event.preventDefault());
// for disabling right click use this as it is
document.addEventListener('contextmenu', event => event.preventDefault());
event.preventDefault()