Protect Images | JavaScriptSource

Protect Images

JavaScriptSource Staff Sep 9, 2000



Home } Page Details } Protect Images



(4.0+ browsers) Keep visitors from stealing your site images by right-clicking and then selecting "Save Image As..." This script will disable the right click on all the images on your site. Not foolproof, but helpful!


[ Try to steal this image by right-clicking on it and selecting "Save Image As...." ]

The JavaScript Source: Page Details: Protect Images

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
2 comments)

In Chrome, this doesn't work. It allowed me to save the image. Any other ideas?

Doc Jan 27, 2014

This is a great code, but I can still click and copy your image in Firefox browser . Ah well. Back to find another way to keep thieves from stealing my custom-designed pages. Thanks!

Regina Sep 8, 2012