Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Ability to go back/forward one page by using two-finger swipe as Chrome

  • 5 replies
  • 2 have this problem
  • 50 views
  • Last reply by jscher2000

more options

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.

All Replies (5)

more options

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.

more options

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.

more options

There are various browser.gesture prefs available. I don't know if they cover this.

more options

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";
more options

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).