None that work. Oh, wait! If you don't publish, no one can screen-cap it or right click. cheers, gary
You can disable right-clicks, which is just going to annoy your visitors. You can't truly protect your source, if that's your goal. If you are trying to protect your images, a water-mark is the best option. They can easily be generated with PHP's GD library. There is no way to prevent someone from taking a screenshot of your page.
I agree to watermark your images. Use at least an invisible digital watermark, and a visible one where appropriate. Don't disable the right click. It does way more harm than good as far as usability goes. You can also make your images the background of divisions or other objects. Makes them much more difficult to download.
That is the worst thing you can do to a visitor - please - please - don't do disable the right click!
Thanks for your comments, it's actually for my legal information, not my main content or sales pages. Should I still disable right click?
I am not a lawyer, so I can't answer from a legal perspective - but why would that be something that you would want to disable the right-click for? Is there a good legal reason? If so - then do it - but it is just a usability nightmare.
I noticed that many people disable right click on their legal information pages, so I think it's a good idea. I won't disable right click on other pages though.
As far as I know - I can still can still go to "View->Page Source" and copy paste from there, so I am not sure what that will do for you. It kind of makes me giggle, because you dealing in public domain information.
Yes i recently made a similar topic to this, i wouldn't really reccomend disabling the right-click but on the legal pages i believe this should be no problem. As for protecting images the helpful users here guided me towards, not putting the picture up at all, but if need be just digitally watermark the images. There is no way at all whatsoever of protecting your image from the user. However there are measures you can take to slow the user down, just add a transparent gif ontop of the image, this should prevent most basic users from stealing your images anyway.
This is a good no right click for IE: onContextMenu="return false;" onSelectStart="return false;" onDrag="return false;" stick it in your <body> tag
What kind of "legal page" do you mean? Like a TOS? If so, why don't you want people to be able to access it? Utimately, the content is able to be taken by your users. It's only a matter of how difficult (and thus, how much more inaccessible your site becomes) you make it. For instance, you can disable right-clicking with JavaScript, but that might annoy someone who wants to right click to reload, bookmark, open in new window etc. and it doesn't stop anyone from viewing your source (either through the main menu, via disabling JS, via the cache, etc.). You can make it all a picture which means they can't copy and paste the text, but they can grab the picture. Then you end up killing accessibility for text readers.
I have put images as the background image of a table before. People can't right click and save, which may deter most of your visitors right there. But they can always view your code and find the image url and get it that way.
I found a way to override the disable right click. If you right click and immediately press enter right after you click, it will show up a menu. haha anyways off topic. the only way you can protect the images (that i can think of) is by creating your website in flash. otherwise there is no other way.
Hey did you ever think of sticking a transparent spacer above the image in a layer. When the user right clicks and saves the image, all they are going to get is a spacer!