Re: [xsl] How to Disable Right Click in browser window using javascript

Subject: Re: [xsl] How to Disable Right Click in browser window using javascript
From: Matt Gushee <mgushee@xxxxxxxxxxxxx>
Date: Sun, 17 Mar 2002 13:15:27 -0700
On Sun, Mar 17, 2002 at 11:52:21AM -0800, iva karr wrote:
> Disabling the right click in IE 6 is easier, but if you are looking for a
> cross-browser solution, try the js bellow.
> Note: it's buggy in NS 6 - the right click is caught, but the right click
> menu still shows up even though we returned false, there may be a way to
> cancel the event bubble, but I haven't spent time looking into this.

And I would add that -- as you may know -- any skilled user can enable
right-clicking just by turning off javascript. You might then want to
insert logic that prevents the page from displaying properly when Java-
script is turned off. But a clever person can find a way around that, too.
In short, these Javascript hacks are not a very good way to protect your
data.
-- 
Matt Gushee
Englewood, Colorado, USA
mgushee@xxxxxxxxxxxxx
http://www.havenrock.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread