Skip to content

Instantly share code, notes, and snippets.

@questionlp
Last active August 31, 2024 00:10
Show Gist options
  • Save questionlp/1c64e88a82b5ca3a02d88d49caf4a593 to your computer and use it in GitHub Desktop.
Save questionlp/1c64e88a82b5ca3a02d88d49caf4a593 to your computer and use it in GitHub Desktop.
Firefox Pinch Zoom Settings

Firefox Pinch Zoom Settings

Windows

Disable Pinch Zoom

  1. Go to about:config
  2. Set browser.gesture.pinch.in to a blank value
  3. Set browser.gesture.pinch.out to a blank value
  4. Set browser.gesture.pinch.in.shift to a blank value
  5. Set browser.gesture.pinch.out.shift to a blank value
  6. Optional: Restart Firefox

Re-enable Pinch Zoom

  1. Go to about:config
  2. Set browser.gesture.pinch.in to cmd_fullZoomReduce
  3. Set browser.gesture.pinch.out to cmd_fullZoomEnlarge
  4. Set browser.gesture.pinch.in.shift to cmd_fullZoomReset
  5. Set browser.gesture.pinch.out.shift to cmd_fullZoomReset
  6. Optional: Restart Firefox

Linux

Disable Pinch Zoom

  1. Go to about:config
  2. Set apz.gtk.touchpad_pinch.enabled to false

Enable Pinch Zoom

  1. Go to about:config
  2. Set apz.gtk.touchpad_pinch.enabled to true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment