This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to disable that mouse thumb buttons trigger "previous page" and "next page" in Firefox?

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I really want to disable that Firefox uses the mouse thumb buttons 4 and 5 as "previous page" and "next page" commands.

Example: Sometimes I study/play for hours a chess problem on https://tactics.chessbase.com/de/Solve but as soon the page gets reloaded it will be a new chess problem - no way to go back!

Somebody wrote a solution to disable the backspace key (on keyboard) triggering the "previous page" command, assuming the mouse thumb button 4 would be used by Firefox as backspace key. Unfortunately this assumption proofed to be wrong. The solution only disabled the backspace key to trigger the "previous page" command, but the mouse thumb buttons STILL DO TRIGGER the "previous page" and "next page" commands.

Where can I disable the mouse thumb buttons in Firefox - without disable the thumb buttons entirely in the Logitec software?

I really want to disable that Firefox uses the mouse thumb buttons 4 and 5 as "previous page" and "next page" commands. Example: Sometimes I study/play for hours a chess problem on https://tactics.chessbase.com/de/Solve but as soon the page gets reloaded it will be a new chess problem - no way to go back! Somebody wrote a solution to disable the backspace key (on keyboard) triggering the "previous page" command, assuming the mouse thumb button 4 would be used by Firefox as backspace key. Unfortunately this assumption proofed to be wrong. The solution only disabled the backspace key to trigger the "previous page" command, but the mouse thumb buttons STILL DO TRIGGER the "previous page" and "next page" commands. Where can I disable the mouse thumb buttons in Firefox - without disable the thumb buttons entirely in the Logitec software?

Modified by Mark

Chosen solution

You can try to set these prefs to false on the about:config page.

  • mousebutton.4th.enabled = false
  • mousebutton.5th.enabled = false

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".


Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

You can try to set these prefs to false on the about:config page.

  • mousebutton.4th.enabled = false
  • mousebutton.5th.enabled = false

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".


Modified by cor-el