Touch UI back and forward buttons for FireFox

Fixing FireFox Touch navigation

Author
Tony Fabian
Daily installs
0
Total installs
31
Ratings
0 0 0
Version
0.2
Created
2022-02-14
Updated
2022-02-14
Size
1.26 KB
License
MIT
Applies to
All sites

Script that enable back and forward navigation using touch in Firefox.

This script enables you to using a single finger to move back and forward in the browser history by swiping anywhere on the body of the page similar to Microsoft Edge on devices with a touch screen.

Disclaimer: The script is working but other multi touch gestures like zoom can trigger navigation. I am looking into it.

How it works
================

When you touch the screen the x,y coordinates are being registered. When you lift your finger again. If you have moved the finger more than 75px to the right or left navigation will be triggered.

Source code
================
https://github.com/ToFab/UserScript-Firefox-Touch-Navigation