Quote:
Originally Posted by Mattmaul1992
The code above will kill all clicks and the user can simply disable JavaScript to get around this, and people can still just go view->source through their browsers. In the end disabling right click on the whole body is the bad idea. Just on ever object you don't want stolen such as images and text use the second code above so it is harder to steal. The only way to steal it after that is to print the screen, view the source, or turn JavaScript off (once again). There's also some sort of plugin in FF that may be blocking your JavaScript because it disables right clicking.
|
I'm not sure if the OP is trying to figure out how to kill the context menu, or something else ... but I have to chime in agreement with Mattmaul1992.
As a photographer, whose images have been stolen, cancelling the right-click menu isn't something you want to do. Many use it for navigation - I'm one of them, and if I can't get "back" by right-clicking, I leave the site. Intellectual property isn't something I'm arguing against, but this computer is my physical property, and I don't want it messed with.
A less intrusive method a lot of people use is to cut the images up into a lot of slices, then display them together. This way if someone saves one of your images, they'll only get a small piece of it. Others use a transparant gif file laid over the main image, so you get a single-pixel image if you try saving artwork from a site.
But in the end, whether you use Flash, slicing, java, or anything else, if a visitor can see your site, they can take a picture of their screen with their digital camera. I take basic precautions ( watermark © ), and then spend the rest of my time on the site's content ... at least I can do some good there.
|