Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

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

Are there any way to disable mouse shortcuts ?

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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)
Read this answer in context 👍 1

All Replies (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)