Board logo

subject: Secure your website with JavaScript "NO RIGHT CLICK" for Images [print this page]


Secure your website with JavaScript
Secure your website with JavaScript

"NO RIGHT CLICK" for Images

Have you ever worked really hard on graphics for your site only to find later that someone has stolen them as their own. You can fully encrypt and protect your site with HTML-Protector and the scripts below will help against novices.

Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.

This script only works on newer browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes right after your tag:

// distributed by http://hypergurl.com

Script For "NO RIGHT CLICK" for Source

Here is a handy little script which will not only protect your images from right clicking, but your whole page. Remember this only stops some visitors from viewing your source. There are ways around it and if someone really wants to view your source they may find a way. There is another trick below to protect your source code.

This script works best if placed within the head tags of your html.For the script please go to

studiobrains.blogspot.com

Secure your website with JavaScript "NO RIGHT CLICK" for Images

By: Dipali




welcome to loan (http://www.yloan.com/) Powered by Discuz! 5.5.0