To solve the annoying issue when swiping left and right in Mac trackpad (with two fingers), it trigger back and forward to previous page in Google chrome

Open Terminal app, and paste the command.

defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE

Then restart Google Chrome for it to take effect.