How do I disable the page zoom on [SHIFT+SCROLL] on mac?
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.
All Replies (2)
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):
Preference | Key | Mac Default Action |
mousewheel.with_alt.action | Option/Alt | 2 => Back/Forward in History |
mousewheel.with_control.action | Ctrl | 3 => Zoom in/out (reflowing) |
mousewheel.with_meta.action | Command | 3 => Zoom in/out (reflowing) |
mousewheel.with_shift.action | Shift | 1 => 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 மூலமாக
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 மூலமாக