This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Are there any way to disable mouse shortcuts ?

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by 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?

Chosen solution

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

Chosen Solution

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)