Want to hire a development team?
No Images Added Yet

Disabling the Right Mouse (Right-Click) Button

Rated3.9/5 (41 ratings)
Add to Favorites
Protect your code by disabling the right-click action
Product Details

This script allows you to effectively protect your code from prying eyes by disabling the availability of the right-click context menu's View Source option in the browser.

Report this Listing
Licence Type
Submitted on
7th February 2000
Last Updated
11th February 2009

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(41 ratings)
Average User Rating: 3.9/5
Not 100% fool-proof
Reviewed byAnonymousonWed, 13th December 2000
Rating 2 - Fair
Any programmer with a minimal understanding of JS can figure out that on right-clicking the mouse, you just have to keep it pressed as you manoeuvre the mouse towards the alert box, click the 'OK' to close it, and then release the right button....VOILA! There you have your context menu! There are ways by which this loop-hole can be patched up though....
Preventing view source
Reviewed byAnonymousonSun, 8th April 2001
Rating 3 - Average
This is an okay script, but do not rely on it to help prevent people from viewing your source since by temporaily disabling javascript users can get around it.
Displaying 1-2 out of 2 reviews
View All Reviews