Override site specific JavaScript right click context menu with browser specific right click context menu

Go To StackoverFlow.com

4

Is there a way in Mozilla Firefox, Internet Explorer and/or Google Chrome to override the site specific right context menu (launched via JavaScript) so that the browser context menu shows instead? I want to be able to use the browser add-on options in the context menu, but some sites don't allow this. If you have any experience with any of these browsers, please respond and I will up-vote you.

One example:

Open Google Mail and right click a message in your inbox.

2012-04-05 18:53
by MacGyver
Unfortunately you haven't asked about Opera, it has a built-in setting for that - Bergi 2012-10-22 08:26


2

The site admins generally do this for security reasons. However, you can get around this easily if you know bit of HTML / JavaScript. Just tweak your 'mousedown' / 'click' handler. In case of jQuery, you might want to disable 'contextmenu' event.

There are some browser extensions to achieve this, according to http://www.techpanache.com/how-to/enable-right-click-menu-on-chrome-and-firefox/:

2012-10-22 08:04
by Varunkumar Nagarajan
What does this page mean with "security reasons" - Bergi 2012-10-22 08:23
Ads