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

Disable alt+scroll going back/forward

  • 1 பதிலளி
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by cor-el

Hi, I need to use alt+scroll to zoom in and out on a website I use regularly. However, often, I will use alt+scroll to zoom out and end up leaving the session as firefox backs out to the previous page. This means that I have to spend a long time logging back in and loading my page.

I have tried shortkeys, but it doesn't seem to support modifying shortcuts using the scroll wheel.

How can I disable this shortcut?

Thank you.

Hi, I need to use alt+scroll to zoom in and out on a website I use regularly. However, often, I will use alt+scroll to zoom out and end up leaving the session as firefox backs out to the previous page. This means that I have to spend a long time logging back in and loading my page. I have tried shortkeys, but it doesn't seem to support modifying shortcuts using the scroll wheel. How can I disable this shortcut? Thank you.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

There are specific actions defined to set what happens if you rotate the mouse wheel and hold down modifier keys like Alt or Ctrl or Shift. You can disable this action by setting the related mousewheel pref to 0 (zero) on the about:config page.

  • mousewheel.with_alt.action = 0

See:

Mousewheel prefs:

  • mousewheel.default.action
  • mousewheel.with_*.action
  • mousewheel.with_alt.action = 2
  • mousewheel.with_control.action = 3
  • mousewheel.with_meta.action = 1
  • mousewheel.with_shift.action = 4
  • mousewheel.with_win.action= 1

Action:

0: Nothing happens
1: Scrolling contents
2: Go back or go forward, in your history
3: Zoom in or out (reflowing zoom)
4: Treat vertical wheel as horizontal scroll
5: Zoom in or out (pinch zoom)
Read this answer in context 👍 1

All Replies (1)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

There are specific actions defined to set what happens if you rotate the mouse wheel and hold down modifier keys like Alt or Ctrl or Shift. You can disable this action by setting the related mousewheel pref to 0 (zero) on the about:config page.

  • mousewheel.with_alt.action = 0

See:

Mousewheel prefs:

  • mousewheel.default.action
  • mousewheel.with_*.action
  • mousewheel.with_alt.action = 2
  • mousewheel.with_control.action = 3
  • mousewheel.with_meta.action = 1
  • mousewheel.with_shift.action = 4
  • mousewheel.with_win.action= 1

Action:

0: Nothing happens
1: Scrolling contents
2: Go back or go forward, in your history
3: Zoom in or out (reflowing zoom)
4: Treat vertical wheel as horizontal scroll
5: Zoom in or out (pinch zoom)