Turn off trackpad pinch-to-zoom on Firefox on Mac OS X

If you browse the web using Firefox on a Mac laptop you’ve probably brushed the track pad the wrong way and accidentally zoomed in on content. I’ve never used the pinch gesture to zoom in on purpose, it always happens by accident, then I have to press Command-0 to reset the screen back to normal.

I tried Googling for an answer, and found a bunch of people annoyed by the same experience, but no solutions.

I thought there might be a Firefox setting to control this, so I looked and I found one. Here’s what I did:

  • I typed “about:config” into the Firefox location bar to get to the configure-anything screen.
  • I clicked past the “this voids your warranty” disclaimer.
  • Type “zoom” in the search bar to find settings related to zoom.
  • The zoom in / zoom out gesture settings are browser.gesture.pinch.in and browser.gesture.pinch.out. Click browser.gesture.pinch.in to edit the setting. It’s usually set to “cmd_fullZoomReduce” and I changed that to “cmd_fullZoomReduce-disable”. (That way if I ever want to re-enable it all I have to do is remove the “-disable” part.)
  • Click browser.gesture.pinch.out and change its setting from “cmd_fullZoomEnlarge” to “cmd_fullZoomEnlarge-disable”.

That’s it. No more annoying track pad zoom.

Hope you find this useful.

Share Button

2 thoughts on “Turn off trackpad pinch-to-zoom on Firefox on Mac OS X

  1. I know this is an old article but you can disable globally using System Preferences. If you open the Touchpad panel under System Prefs you can untick “Pinch Open & Close”.

    While I understand some people like this feature, I personally found it quite annoying in almost every application it interacted with.

    This was tested on Mac OS X 10.6.8.

Leave a Reply

Your email address will not be published. Required fields are marked *