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!

Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

How do I disable the page zoom on [SHIFT+SCROLL] on mac?

  • 2 respostas
  • 1 tem este problema
  • 15 visualizações
  • Última resposta de cor-el

more options

On my macbook [macOS Big Sur 11.4 ] in firefox [version 89.0.2 (64-bit)] all pages will zoom in or out whenever I hold down the shift key and swipe up or down on my trackpad. This is really annoying. How do I fix this?

( I really use the CTRL+SHIFT+TAB shortcut to navigate tabs and it becomes problematic very quickly)

I could find the solution for fixing it for [[CTRL+SCROLL (https://support.mozilla.org/en-US/questions/1194305) |CTRL+SCROLL (https://support.mozilla.org/en-US/questions/1194305) ]]but couldn't find for SHIFT+SCROLL.

On my macbook [macOS Big Sur 11.4 ] in firefox [version 89.0.2 (64-bit)] all pages will zoom in or out whenever I hold down the '''shift key and swipe up or down''' on my trackpad. This is really annoying. How do I fix this? ( I really use the CTRL+SHIFT+TAB shortcut to navigate tabs and it becomes problematic very quickly) I could find the solution for fixing it for [[CTRL+SCROLL (https://support.mozilla.org/en-US/questions/1194305) |CTRL+SCROLL (https://support.mozilla.org/en-US/questions/1194305) ]]but couldn't find for SHIFT+SCROLL.

Todas as respostas (2)

more options

Hi Gandhi, I think it would be similar to the Ctrl / Command situation, but I don't have an easy way to test Mac stuff so let us know:

Here's how you can change what happens with the "mouse wheel" which probably is the same as swiping on the touchpad:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste mousewheel.with_*.action and pause while the list is filtered (if you don't get a bunch of matches, try mousewheel.with_).

Firefox will display numerous matches. This is my understanding of what maps to what on Mac (please ignore the override_x preferences):

PreferenceKeyMac Default Action
mousewheel.with_alt.actionOption/Alt2 => Back/Forward in History
mousewheel.with_control.action
Ctrl3 => Zoom in/out (reflowing)
mousewheel.with_meta.actionCommand3 => Zoom in/out (reflowing)
mousewheel.with_shift.actionShift1 => Scroll normally

(3) Double-click the preference you want to modify and enter the desired value from the following list. After making the change, click the blue checkmark button or press Return to complete the edit.

  • 1 = Scroll normally (ignore the modifier key)
  • 2 = Go Back/Forward in history (dangerous?)
  • 3 = Zoom in/out (reflowing zoom)
  • 4 = Switch to horizontal scroll
  • 5 = Zoom in/out (pinch/magnfy zoom)
  • 0 = Do nothing

Alterado por jscher2000 - Support Volunteer em

more options

Interesting, I played a bit with the fin bar and apparently it switches to a basic RegExp mode if you type '*' as this works perfectly (a '.' is any character in a RegExp): *shift[.]action or *\.action$ For all relevant mousewheel in six characters 'LOL': ^mo*n$ Even this works as expected: ^mo*_[x-z]$


Searching on searchfox confirms this:

gFilterPattern = null;
if (gFilterString.includes("*")) {
  gFilterPattern = new RegExp(gFilterString.replace(/\*+/g, ".*"), "i");
  gFilterString = "";
}

Alterado por cor-el em