Disabling Multi-Touch Swipe in Chrome on OSX to Prevent Back and Forward Actions


This is a nifty little tidbit that could have saved me many a lost page or form fill in Chrome.  If you have the Swipe configured for OSX (as I do), it also works as the back and forward button in your Chrome browser.  This is handy sometimes, but not when you spend 15 minutes filling in a web form and then accidentally swipe left with a second finger on the trackpad and it goes back a page losing all your work. (Spoiler alert: This is a very, very, very anecdotal situation I just experienced)

Just go out to a Terminal window and type the following:

defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE

You will have to restart your browser in order to complete the change.  That will stop the swipe from invoking the “back” or “forward” action within Google Chrome for the two-finger swipe gesture.

As you can imagine, the reverse of the command by changing FALSE to TRUE will bring the swipe actions back for you.

defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool TRUE


Hope that helps you as much as it did for me!

Comments 4

  1. Perfect – thanks for sharing! Horizontal scrolling and scrollbar response in chrome can be inconsistent and jerky, so a normal left scroll to see a hidden part of the page triggers the “back” scroll a lot. I have been cursing this “feature” for months and finally decided to do something about it. I have not hated a feature so much since “tap to click” on the trackpad and am going to share this with everyone who hates this as much as I do….

  2. Wonderful, been losing pages / forms and wasting time for a while and you solved it with this fix. Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.