X
Tap here to go to the mobile version of the site.

Support Forum

How to prevent Firefox from sending Right Click Events to a Server?

Posted

Hi, I am getting sick and tired of websites taking action upon a Right Click Even. No, I am not talking about a webserver hijacking the righ-click menu. I have that under control. The problem is that the millisecond something is right-clicked on, the server executes and action, e.g. opening a different page. There used to be an about:config option to prevent this from happening, but I have lost it. If any kind person would be so kind to remind me, I would be eternally grateful.

Hi, I am getting sick and tired of websites taking action upon a Right Click Even. No, I am not talking about a webserver hijacking the righ-click menu. I have that under control. The problem is that the millisecond something is right-clicked on, the server executes and action, e.g. opening a different page. There used to be an about:config option to prevent this from happening, but I have lost it. If any kind person would be so kind to remind me, I would be eternally grateful.

Modified by cor-el

Quote

Additional System Details

Installed Plug-ins

  • A plugin to detect whether the Adobe Application Manager is installed on this machine.
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.231.2 for Mozilla browsers
  • Office Authorization plug-in for NPAPI browsers
  • 5.1.50918.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3

More Information

Wesley Branton
  • Top 10 Contributor
709 solutions 5606 answers

I think you are probably looking for the dom.event.contextmenu.enabled preference on the about:config page.

I think you are probably looking for the <code>dom.event.contextmenu.enabled</code> preference on the <code>about:config</code> page.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17777 solutions 160810 answers

Helpful Reply

Note that it is quite possible that the website uses JavaScript to monitor mouse events and take action when you left-click or right-click. This action isn't send to the server, but is processed locally on your computer. The above posted pref will only prevent the website from disabling the Firefox context menu (i.e. you can get two drop-down menus: website and Firefox), but websites will still be able to take action when you right) click. You would have to block the script that does this action to prevent this.

Note that it is quite possible that the website uses JavaScript to monitor mouse events and take action when you left-click or right-click. This action isn't send to the server, but is processed locally on your computer. The above posted pref will only prevent the website from disabling the Firefox context menu (i.e. you can get two drop-down menus: website and Firefox), but websites will still be able to take action when you right) click. You would have to block the script that does this action to prevent this.
Was this helpful to you? 1
Quote

Question owner

cor-el said

Note that it is quite possible that the website uses JavaScript to monitor mouse events and take action when you left-click or right-click. This action isn't send to the server, but is processed locally on your computer. The above posted pref will only prevent the website from disabling the Firefox context menu (i.e. you can get two drop-down menus: website and Firefox), but websites will still be able to take action when you right) click. You would have to block the script that does this action to prevent this.

Tx. Possibly. Problem is, this seems to be the newest stupid trend of the week. Webmasters taking control away from the user "for the greater good", of course. Will try disabling JavaScript, but this is the nuclear option as it breaks down all other functionality. There used to be addons that would allow finer control over this level of stupidity, but they now seem deprecated. Too bad...

''cor-el [[#answer-1278254|said]]'' <blockquote> Note that it is quite possible that the website uses JavaScript to monitor mouse events and take action when you left-click or right-click. This action isn't send to the server, but is processed locally on your computer. The above posted pref will only prevent the website from disabling the Firefox context menu (i.e. you can get two drop-down menus: website and Firefox), but websites will still be able to take action when you right) click. You would have to block the script that does this action to prevent this. </blockquote> Tx. Possibly. Problem is, this seems to be the newest stupid trend of the week. Webmasters taking control away from the user "for the greater good", of course. Will try disabling JavaScript, but this is the nuclear option as it breaks down all other functionality. There used to be addons that would allow finer control over this level of stupidity, but they now seem deprecated. Too bad...
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.