Hate that right click menu?

by "Captain F.M. O'Lary" <ctfuzzy(at)canopy.net>

 Date:  Wed, 26 Sep 2001 12:06:56 -0400
 To:  hwg-basics(at)hwg.org
  todo: View Thread, Original
Here's a JS that's used to prevent the user from (theoretically) displaying
the right-click menu.

// No right click
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer'
&& (event.button == 2 || event.button == 3)) {
alert("Copyright (c) 1999-2000 Annoying Online Marketing,
LLC. All Rights Reserved.");
return false;
}
return true;
}

The question is . . . would *you* use it?   Why?

Fuzzy
<inquiring fuzzies want to know!>


______________________________________________________________
Captain F.M. O'Lary
ctfuzzy(at)canopy.net
I asked Mom if I was a gifted child... she said they certainly wouldn't 
have paid for me.
------------------------------------------------------------------

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA