Ability to go back/forward one page by using two-finger swipe as Chrome
I'd like to be able to go back and forward by swiping with two fingers either left for back one page or swipe right forward one page as seen on Chrome. It's very convenient and I was hoping to know if there's any way of achieving this on Firefox.
Opaite Mbohovái (5)
Hi Anish, do you mean on a touchpad connected to your Windows computer, or on a touchscreen display?
Actually, I'm not sure how to set up either of those, but perhaps another volunteer has an idea.
Thanks for the response. Actually using both, connected touchpad as well as the touchscreen. When you swipe with two fingers across the touchpad it should either go forward or backward.
There are various browser.gesture prefs available. I don't know if they cover this.
There seems to be a pref property that should allow user to do so, however the JS is in-editable.
I guess this code is responsible for it:
/** * Checks whether a swipe gesture event can navigate the browser history or * not. * * @param aEvent * The swipe gesture event. * @return true if the swipe event may navigate the history, false othwerwise. */ _swipeNavigatesHistory: function GS__swipeNavigatesHistory(aEvent) { return this._getCommand(aEvent, ["swipe", "left"]) == "Browser:BackOrBackDuplicate" && this._getCommand(aEvent, ["swipe", "right"]) == "Browser:ForwardOrForwardDuplicate";
Here are two extensions for your consideration. Because the swipe needs to be detected by an event in the page, unfortunately, they require the most intrusive permission (access to all data).
- https://addons.mozilla.org/firefox/addon/swipetonavigate/ (no reviews yet)