How to Enable Zoom Pinch on Firefox in a MacBook

By Editorial Team

Updated May 08, 2020

How to Enable Zoom Pinch on Firefox in a MacBook
i Yahan Liyanage/iStock/GettyImages

MacBook laptops with a multi-touch trackpad support two-finger pinch gestures to zoom in and out of Web pages in Mozilla Firefox. Some versions of the browser starting with version 4, however, disable this feature by default. Firefox doesn't provide an option for pinch zoom in its settings window, but you can still turn it on by editing a few lines on the Firefox configuration page.

Open a Firefox window and type "about:config" into the address bar. Press "Enter."

i S.H.

Accept the "Proceed with Caution" warning.

i S.H.

Type "pinch" in the search bar at the top of the configuration page. Double-click the preference named ""

i S.H.

Type or paste "cmd_fullZoomReduce" into the message box corresponding to "" Hit "Enter."

i S.H.

Double-click the following three preferences to edit their contents: set "" to "cmd_fullZoomReset," "browser.gesture.pinch.out" to "cmd_fullZoomEnlarge" and "browser.gesture.pinch.out.shift" to "cmd_fullZoomReset."

i S.H.

Close the configuration page window. Launch a new window of Firefox and your pinch gestures will now work.


In all steps, do not type the quotation marks around the commands.

You can alternatively install the Firefox add-on "pinchy," which automatically changes the above settings.

If any of the four preferences do not exist in the "about:config" page, right-click the page's background, select "New" and click "String." Type the preference name, such as "," press "Enter" and then type the corresponding setting, such as "cmd_fullZoomReduce" into the second message box.


Information in this article applies to Firefox versions 4 through 20, and may differ slightly or significantly in later releases.