You never know if you're going to scroll the page or to navigate in the history. Sometime your need to configure a page with parameters/choices, then you try to scroll left, and instead of that you just navigate to the previously displayed URL, your configuration is deleted. I find this choice to return to the previous URL not particularly smart, nor very useful in the first place.
To disable swiping in the history:
- Go to settings at URL
about:config.
- Select the group of gesture setting by searching
browser.gesture or browser.gesture.swipe.
- Edit the two gestures
browser.gesture.swipe.left (value is Browser:BackOrBackDuplicate) and browser.gesture.swipe.right (Browser:ForwardOrForwardDuplicate)
Delete the existing values, leaves the fields blank. You're done. In case you need to restore the previous values, no need to remember them, just use the Reset button at the end of the line (left curved arrow)