Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahkohd/b9ab8bf4664e02774d138eb6244e4daf to your computer and use it in GitHub Desktop.
Save ahkohd/b9ab8bf4664e02774d138eb6244e4daf to your computer and use it in GitHub Desktop.
Code snippet to enable two-finger swipe gesture for next/previous page navigation for Chromium based browsers on macOS.
appName="TypeTheNameOfTheChromiumBaseBrowserInstalledOnYourMacHere"
bundleID=$(osascript -e 'id of app "'$appName'"')
defaults write $bundleID AppleEnableSwipeNavigateWithScrolls -bool TRUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment