Disabling right click menu using javascript

This Tutorial Has Been Viewed 524 Times.

Hi tired of searching and integrating so many scripts on your webpage to disable the right clcik option?

Then here is a simple method inside the HTML or PHP or what ever page you want this to happen just add this code oncontextmenu=”return false;” inside the body tag simple

<body oncontextmenu=”return false;”>

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Incoming search terms:





You will also be interested in ,

Tags:

Leave a Reply

Spam protection by WP Captcha-Free

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks
More in JavaScripts (77 of 80 articles)


Here is a simple javascript to estimate the number of seconds and days left before new year. [javascript] function days_between(date1, ...