Tuesday 13 July 2004

, ,

Why do some sites prevent you from using the right-click function?

Such anti-right-click mechanisms are implemented to prevent visitors from viewing (and possibly stealing) the site's source code, copying and pasting text and saving images.

If you want to know how to stop people right-clicking on your own site, visit a free javascript snippet site like Dynamic Drive. Bear in mind though that none of these 'solutions' are totally foolproof. For instance, Firefox's javascript preferences menu allows users to prevent web sites from disabling their right-click context menu. Unticking a check box is hardly rocket science.

0 comments: