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 odgovor
  • 1 ima ovaj problem
  • 2144 views
  • Posljednji odgovor poslao cor-el

more options

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.

Izabrano rješenje

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)
Pročitajte ovaj odgovor sa objašnjenjem 👍 1

All Replies (1)

more options

Odabrano rješenje

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)