搜尋 Mozilla 技術支援網站

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

了解更多

How do I disable the page zoom?

more options

On my macbook, a page will zoom in or out whenever I hold down the command key and swipe up or down on my trackpad. This is really annoying. How do I fix this

On my macbook, a page will zoom in or out whenever I hold down the command key and swipe up or down on my trackpad. This is really annoying. How do I fix this

被選擇的解決方法

Hi justinhustles, would it be silly to inquire "Why are you holding down command while scrolling?"

Here's how you can change what happens in this situation:

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

(3) Double-click the mousewheel.with_meta.action preference and enter the desired value:

  • 1 = Scroll (ignore the Command key)
  • 2 = Go Back/Forward in history (AVOID!)
  • 3 = Zoom in/out (default on Mac)
  • 0 = No action (AVOID!)

The zoom feature is still available using control key + scrolling. If you don't want zooming there either, the relevant preference is mousewheel.with_control.action

Success?

從原來的回覆中察看解決方案 👍 9

所有回覆 (2)

more options

選擇的解決方法

Hi justinhustles, would it be silly to inquire "Why are you holding down command while scrolling?"

Here's how you can change what happens in this situation:

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

(3) Double-click the mousewheel.with_meta.action preference and enter the desired value:

  • 1 = Scroll (ignore the Command key)
  • 2 = Go Back/Forward in history (AVOID!)
  • 3 = Zoom in/out (default on Mac)
  • 0 = No action (AVOID!)

The zoom feature is still available using control key + scrolling. If you don't want zooming there either, the relevant preference is mousewheel.with_control.action

Success?

more options

That works. Thanks