No right click Javascript (source code and image protection)
Be sure to subscribe to the TPCS blog.
![]()
|
Be sure to check out our gadgets (widgets) section! |
There are many reasons you might want to disable the right click function within your webpages. Maybe you want to try and protect your images or source code etc... A Javascript that can stop your visitors from right clicking your webpages is quite helpful. This no right click javascript will open an auto centering alert box providing a message to the visitor.
No right click (source code and image protection) Javascript
If you are concerned about visitors easily stealing your images and graphics you can place the below META code in your pages head section:
<meta http-equiv="imagetoolbar" content="no">
To download this no right click version 2 Javascript click here. |
![]() |
Did you find the PHP or Javascript you were looking for?
Searching for scripts can be a time consuming effort. Be sure to save this site as a favorite by clicking here. Mozilla and Firefox users must press 'CTRL D' to bookmark this website.
|
Having trouble with the no right click javascript you found here? Ask Dave from TPCS for help! |




