| One of
the more commonly asked questions, you will find a couple of good
scripts for this at the following links:
Basic
No-Right-Click Script with Alert
is a standard no-right-click script.
No-Right-Click
Script Launches PopUp Window
is a bit more interesting, in that it launches a popup window where
you can put your own page, hurling whatever invective amuses you at
the unduly curious.
It should be noted
that no-right-click scripts offer limited protection in a standard
browser window, since the visitor can simply use View > Source
from the browser menu to see the code. However, if you put
your content in a configured window (popup window, or fullscreen
mode window) with no menu or status bars, such scripts can be
reasonably effective. The code for any page is still in the
browser cache on the visitor's hard drive, but extremely few people
will go to the effort to dig it out.
|