enable trackpad zoom in Firefox

With Firefox 29 just out, I’ve been testing it out as an alternative to Safari. However, if you’re new to Firefox you’ll probably find that the trackpad pinch and zoom gestures are not set by default. To turn them on, you’re going to need to do a bit of tinkering.

Open Firefox and type


in the address bar. Then type ‘browser.gesture’ in the search field and make the following changes to the ‘Value’ field for each of these preferences:

browser.gesture.pinch.in -> cmd_fullZoomReduce
browser.gesture.pinch.in.shift -> cmd_fullZoomReset
browser.gesture.pinch.out -> cmd_fullZoomEnlarge
browser.gesture.pinch.out.shift -> cmd_fullZoomReset
browser.gesture.pinch.latched -> false

Optionally you might want to also reduce the browser.gesture.pinch.threshold (I’ve got mine on 60).


About philastokes

Independent Software Developer, Technical Writer and Researcher at SentinelOne. Explaining the unexplainable with images, video and text. Scripting anything imaginable in AppleScript, Bash, Python and Swift.

Posted on April 30, 2014, in Safari 6.0 and tagged , , , , . Bookmark the permalink. 3 Comments.

  1. This was SO helpful. It was driving me crazy that the pinch-zoom stopped working with Yosemite! Thank you!

  2. about:config then Go to the ‘browser.gesture.tap’ pref and change the value to : cmd_fullZoomEnlarge

  3. Any way to enable the tap with two fingers gesture to zoom in on the page?

%d bloggers like this: