搜尋 Mozilla 技術支援網站

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

了解更多

Are there any way to disable mouse shortcuts ?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I use option + mouse scroll to scroll the webpage horizontally, however Firefox use option + mouse scroll to switch page back/forward. Are there any way to disable it?

I use option + mouse scroll to scroll the webpage horizontally, however Firefox use option + mouse scroll to switch page back/forward. Are there any way to disable it?

被選擇的解決方法

In Firefox you use the Shift modifier to scroll horizontally. You can possibly swap these two prefs on the about:config page:

  • mousewheel.with_alt.action = 2 => 4
  • mousewheel.with_shift.action = 4 => 2

You can use '0' to disable a specific action.

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".


Mousewheel action prefs on the about:config page:

  • 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

選擇的解決方法

In Firefox you use the Shift modifier to scroll horizontally. You can possibly swap these two prefs on the about:config page:

  • mousewheel.with_alt.action = 2 => 4
  • mousewheel.with_shift.action = 4 => 2

You can use '0' to disable a specific action.

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".


Mousewheel action prefs on the about:config page:

  • 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)