How to Enable Zoom Pinch on Firefox in a MacBook

by ContributorUpdated May 08, 2020
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."

New window in Firefox.

Accept the "Proceed with Caution" warning.

Proceed with Caution warning in Firefox.

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

Pinch preference options in Firefox.

Type or paste "cmd_fullZoomReduce" into the message box corresponding to "browser.gesture.pinch.in." Hit "Enter."

Pasting code into message box for pinch preferences in Firefox.

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

Editing pinch preferences in Firefox.

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

Tips

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 "browser.gesture.pinch.in," press "Enter" and then type the corresponding setting, such as "cmd_fullZoomReduce" into the second message box.

Warnings

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

Warnings

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

Tips

  • 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 "browser.gesture.pinch.in," press "Enter" and then type the corresponding setting, such as "cmd_fullZoomReduce" into the second message box.

References

Resources

About the Author

This article was written by a professional writer, copy edited and fact checked through a multi-point auditing system, in efforts to ensure our readers only receive the best information. To submit your questions or ideas, or to simply learn more, see our about us page: link below.

More Articles

×