disable the right click using dhtml code example
Example: disable right click
document.addEventListener('contextmenu', event => event.preventDefault());
document.addEventListener('contextmenu', event => event.preventDefault());