Touch UI back and forward buttons for FireFox

Fixing FireFox Touch navigation

المؤلف
Tony Fabian
التثبيت اليومي
0
إجمالي التثبيت
30
التقييمات
0 0 0
الإصدار
0.2
تم إنشاؤه
14-02-2022
تم تحديثه
14-02-2022
Size
1.26 KB
الترخيص
MIT
ينطبق على
جميع المواقع

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