Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 2 ответа
  • 1 имеет эту проблему
  • 15 просмотров
  • Последний ответ от 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.

Все ответы (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

Изменено jscher2000 - Support Volunteer

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 = "";
}

Изменено cor-el