搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改