John
People use that method to try and stop people copying source code. Unfortunately there really is no reliable way of doing so because:
1. the page is usually cached by the browser and you can get the source code from there
2. browsers can be set to disable javascript to get around these kinds of right-click disabling scripts
Basically, since HTML is interpreted by user agents (browsers etc) and not compiled, its next to impossible to stop people copying content/code
-- Neerav Bhatt http://www.bhatt.id.au Web Development & IT consultancy
http://www.bhatt.id.au/blog/ - Ramblings Thoughts http://www.bhatt.id.au/photos/ http://www.bookcrossing.com/mybookshelf/neerav
John Horner wrote:
the page: http://www.deafvision.net/projects/btw/revised/indexx.html.
Can I raise a quick issue -- I noticed when I went to that page and right-clicked on it... a JavaScript alert came up to say that the page was copyright, and, as far as I could tell, stopped me from doing "view source" via the context menu -- what's the reason for that?
------------------------------------------------------------
"Have You Validated Your Code?"
John Horner (+612 / 02) 9333 3488
Senior Developer, ABC Online http://www.abc.net.au/
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
