Aug 18, 2005 23:53
I hate sites that cause message boxes to appear when you try to use the context menu. It never works and just slows you down. You can add this as a handy bookmarklet:
javascript:void(document.onclick=document.onmouse=document.onmousedown=document.onmouseup=null);
or for MSIE (untested):
javascript:void(document.oncontextmenu=document.onclick=document.onmouse=document.onmousedown=document.onmouseup=null);
You can also disable alert boxes::
javascript:function alert(){};void(document.onclick=document.onmouse=document.onmousedown=document.onmouseup=null);
The simplest thing, just disabling the context boxes, works most of the time:
javascript:function alert(){};
I also have a patch for Mozilla Firefox 1.0.6 that disables the captureEvents javascript function. Wee.