Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ahkohd/aa32e0db14fb692f082d45dbd51b8dad to your computer and use it in GitHub Desktop.
Save ahkohd/aa32e0db14fb692f082d45dbd51b8dad to your computer and use it in GitHub Desktop.
Code snippet to disable 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 FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment