There is a right click disable script here along with all the other methods that do not work to prevent access to images and source.
http://continue.to/hope
If you still think is is possible then visit here and look at the webmaster tools, to see what you must defeat to stop even the most inexperience user:
http://www.hereforlife.com
And of course you may want to look at the commercially available tools as well:
http://www.codelifter.com/
If after that you still thingk you have found away to protect the source code, post the link where use are using it and I will have my nine-year old niece email you the code.
I'm sure you believe your source code is unique and has value, I guarantee you it does not, unless you have reinvented HTML.
IF teh source is that important to you, then don't put it on the 'net, because the moment you publish it it belongs to the world and there is nothing you can do to prevent othere from seeing it, saving it, using it, and modifying it.
Cd&
Main Topics
Browse All Topics





by: hagurPosted on 2001-11-03 at 06:40:04ID: 6616040
No, it's not possible. You can disable right-clicking with some javascript code in both browsers, but users will still be able to goto the view > source menu.
There is a neat and easy trick in IE which is to put "onContextMenu="return false;" in the body tag. This will disable the popup menu when you right-click.
But like I said earlier, users will still be able to use the menu to access the source.