Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

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.

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.

Всички отговори (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).