Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Disable alt+scroll going back/forward

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Solution choisie

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)
Lire cette réponse dans son contexte 👍 1

Toutes les réponses (1)

more options

Solution choisie

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)