Disable alt+scroll going back/forward
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)