ANSWERS: 6
  • Can't be done. The right click is processed at the user's machine and not on the website. And there is no way your web server can distinguish read-to-display from read-to-save. Indeed, they are the same; when the user right clicks, your picture is already in their ram.
  • Yes, there are many out there. Here are some examples to insert into your code: http://www.brownielocks.com/stopcopying.html I haven't seen any that are 100% because of the all the different browsers and versions of each out there but at least you can make it more difficult. Of course using a 'copyright' mark also helps, especially if it's one of those flashing ones.
  • I find my previous answer was wrong: I came across this sneaky idea (and its workaround): "Flickr has a really annoying protection against downloading pictures from their site using the right click menu of your browser. They streched a 1×1 transparent pic over the picture you would like to download, so if you right click on the picture, you actually right click on the transparent overlay."
  • I don't have a clue how I would even do that. It's a fantastic idea and I thank you for telling me. But do you happen to know how it would be done?
  • Copy and paste this code into the html for the page: <script language="JavaScript"> // distributed by http://hypergurl.com <!-- var popup="Sorry, right-click is disabled.nnThis Site Copyright ©2000"; function noway(go) { if (document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> </script>
  • You can disable the right click with clever Javascript/div tricks, as outlined in the other answers, but if someone wants to steal a photo they can just do a screengrab and paste it into their imaging software, bypassing all your right-click securities.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy