Closed Bug 173800 Opened 22 years ago Closed 22 years ago

Need an option to block the disabling of the right mouse button menu.

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 86193

People

(Reporter: Joe, Assigned: bugs)

References

()

Details

The above page has discovered how to disable the right click menu.  It may be a
good idea to add an option that would prevent this sort of mischief.  Not that
it is terribly difficult to pull out pictures and html code from the cache, but
this allows people to kill quite a few functions of mozilla. 

//disable right click
am = "copyright Corbis.com";

bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      //alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     //alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
//end disable right click
See bug 

*** This bug has been marked as a duplicate of 86193 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.