How to disable mouse back and forward shortcuts?

All we need is an easy explanation of the problem, so here it is.

Mouse’s buttons 4 and 5 operate as back and forward shortcuts in Firefox. Accidentally pressing these buttons has been common with every mouse I’ve owned and has resulted in severe issues with banking websites and job applications. I don’t want to disable the hardware keys because these extra buttons are useful especially in games with complex control schemes.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

  1. Type about:config into Firefox’s address bar
  2. If you haven’t previously disabled it, a warning page about the dangers of changing settings that you don’t understand will pop up. Read it, then click “I accept the risk!”
  3. In the about:config search bar, search for mousebutton. You should find two preferences, mousebutton.4th.enabled and mousebutton.5th.enabled, both set to true. Double click each of these to set them to false.
  4. Restart Firefox probably. IDK that’s what I did, don’t know if it’s necessary.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply