PDA

View Full Version : How to disable right mouse click button?


fishugly
04-01-2007, 03:07 AM
To prevent copying, I have noticed that some sites will not allow one to right click. Is this an easy to add feature?

domedia
04-01-2007, 08:32 AM
Right click does not prevent copying, it only prevents right clicking, which is an important feature for the user. Disabling this will most likely seriously irritate your users. The only way a browser can read your code is to download it, so it;s already on the visitors computer when they see it.
Most people do File->Save to save the code for a webpage.

There are examples of javascript encrypted pages, which only can be seen by javascript enabled browser of course. I think it was just a a week or two ago someone asked and a link was given. Did you try a search in the forum?

fishugly
04-01-2007, 11:43 PM
Thanks, Domedia. I don't care to be irritating people so I'll just forget about this for now.

vkw91
04-04-2007, 10:37 AM
You can encypt the code and disable right by using http://www.antssoft.com/htmlprotector/index.htm - just make-sure you do a back up first if you use it.

fishugly
04-07-2007, 08:31 PM
You can encypt the code and disable right by using http://www.antssoft.com/htmlprotector/index.htm - just make-sure you do a back up first if you use it.

Thanks for the link and tip.