Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

How do you disable the scrolll wheel click from going back to a previous site?

  • 2 fhreagra
  • 7 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó nichii

more options

This has been bugging me for a while now. I click on links using my scroll wheel to open them up in a new tab. If I accidentally click outside of the link, Firefox will take me back to the website that I last visited. Here's an example. I go to google and then go to youtube. If I click anywhere on the page that isn't a link using the scroll wheel, it takes me back to google. I've checked the about:config mousewheel settings and to my understanding, the "2" value is what makes the mousewheel do this. However, none of the options in my about:config have the "2" value. I don't believe it's a driver issue because I use Linux and am provided with the default drivers. Does anyone know how to fix this? I'd greatly appreciate any help I can get.

This has been bugging me for a while now. I click on links using my scroll wheel to open them up in a new tab. If I accidentally click outside of the link, Firefox will take me back to the website that I last visited. Here's an example. I go to google and then go to youtube. If I click anywhere on the page that isn't a link using the scroll wheel, it takes me back to google. I've checked the about:config mousewheel settings and to my understanding, the "2" value is what makes the mousewheel do this. However, none of the options in my about:config have the "2" value. I don't believe it's a driver issue because I use Linux and am provided with the default drivers. Does anyone know how to fix this? I'd greatly appreciate any help I can get.

Réiteach roghnaithe

Thank you. Unfortunately, changing those settings didn't help, but I believe I found the solution. In the about:config page there's an option named middlemouse.contentLoadURL. If you set that to false, it seems to stop the middle mouse click from going back to the previous visited website.

Read this answer in context 👍 2

All Replies (2)

more options

You can modify mousewheel.with prefs on the about:config page to disable actions for specific modifiers.

0 means "Do nothing"
1 means "Scroll contents"
2 means "Go back or forward in the history"
3 means "Zoom in or out the contents"
mousewheel.default.action
mousewheel.with_alt.action
mousewheel.with_control.action
mousewheel.with_meta.action
mousewheel.with_shift.action

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Réiteach Roghnaithe

Thank you. Unfortunately, changing those settings didn't help, but I believe I found the solution. In the about:config page there's an option named middlemouse.contentLoadURL. If you set that to false, it seems to stop the middle mouse click from going back to the previous visited website.