搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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!

所有回覆 (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?