[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to Disable Right Click in browser window using

Subject: Re: How to Disable Right Click in browser window using javascript
From: Matt Gushee <mgushee@xxxxxxxxxxxxx>
Date: Sun, 17 Mar 2002 13:15:27 -0700
cancel right click javascript
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.