disable right click html w3schools

Solutions on MaxInterview for disable right click html w3schools by the best coders in the world

showing results for - "disable right click html w3schools"
Danny
24 Oct 2020
1document.addEventListener('contextmenu', event => event.preventDefault());
2
3// ⇓ Test it (fiddle) ⇓