Reclaim your right mouse button

October 28th, 2005

Fixing Right-Click

I just hate it when I can’t use my contextual menu (right-click) on a web site. Drives me crazy. Luckily I just stumbled across this bit of code via one of the GTD sites. I made a bookmarklet out if it by bookmarking it in Firefox:

javascript:void(document.oncontextmenu=null)

Another interesting trick: “If a dialog box opens whenever you right-click, could can often get around it by the following sequence: Hold the right mouse button, hit enter to close the dialog box, and then release the right mouse button.” In Firefox this didn’t work exactly right, but I was able to hold the right mouse button down and click “OK” with the left button.

Disclaimer: people in the comments are whining about stealing from web sites. I almost never use right-click to view source. With my Firefox extensions installed, I use right-click to copy image and link locations, look up words in the dictionary, bookmark pages and much more. So I resent disabling the menu.

No comments

You must be logged in to post a comment.