javascript prevent context menu
snippet in javascript

javascript prevent context menu

user2114

document.addEventListener('contextmenu', event => event.preventDefault());