Stop Chrome Back/Forward Two Finger Swipe

Disable Chrome two fingers back/forward swipe

After way too long, I discovered this:

html, body {
overscroll-behavior-x: none;
}

How can I disable the history swipe action in Google Chrome?

From what I've seen, there is no officially-sanctioned way to fix this. Toggling swipe gestures is regulated at the system level, not at the browser, so the only way to disable them is to do so manually in the system preferences (turn off "swipe between pages" in System Preferences -> Trackpad -> More Gestures).

However, after searching for a little while, I stumbled upon a hack that uses JQuery's mousewheel.js to override the settings.

This plugin by Pablo Villalba of Teambox was the first implementation I found when searching for a plugin that implements such an override. Hope this helps.



Related Topics



Leave a reply



Submit