We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How do I disable the ‘command-swipe to zoom’ behaviour entirely?

more options

I constantly brush my MacBook's touchpad while I have ‘command’ pressed for some other hotkey combination; and I perinially glance up to find that this webpage is at ~50% zoom. :P

I disabled the back/forward gestures in `about:config` ages ago, but I can't find a related control for the command-swipe-to-zoom functionality. Halp!

I constantly brush my MacBook's touchpad while I have ‘command’ pressed for some other hotkey combination; and I perinially glance up to find that this webpage is at ~50% zoom. :P I disabled the back/forward gestures in `about:config` ages ago, but I can't find a related control for the command-swipe-to-zoom functionality. Halp!

All Replies (1)

more options

Since it's a touchpad, you probably didn't think of looking for this setting under "mouse wheel"!

You can disable the Command + mouse scroll wheel / swipe touch pad from doing anything special as follows:

(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 wheel and pause while the list is filtered

(3) {MAC} Double-click the mousewheel.with_meta.action preference to display a dialog where you can enter the desired value, change 3 to 1 and then click OK

(4) Double-click the mousewheel.with_control.action preference to display a dialog where you can enter the desired value, change 3 to 1 and then click OK

These are the possible values:

  • 0 => do nothing
  • 1 => scroll
  • 2 => emulate back/forward buttons
  • 3 => zoom (default setting)
  • 4 => horizontal scroll
  • 5 => zoom (pinch zoom; not sure how this is different)

Does that help?