Advertisement
728x90
The right click on the page can be disabled by returning false from the oncontextmenu attribute on the body element.
html
1<body oncontextmenu="return false;"></body>Advertisement
Responsive Ad
🎯 Practice NowRelated Challenge
JavaScript Coding Exercise 40
Test your knowledge with this interactive coding challenge.
Start CodingAdvertisement
728x90
382of476