搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Disable alt+scroll going back/forward

  • 1 回覆
  • 1 有這個問題
  • 2144 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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)
從原來的回覆中察看解決方案 👍 1

所有回覆 (1)

more options

選擇的解決方法

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)