Touch UI back and forward buttons for FireFox

Fixing FireFox Touch navigation

作者
Tony Fabian
今日安裝
0
安裝總數
31
評價
0 0 0
版本
0.2
建立日期
2022-02-14
更新日期
2022-02-14
尺寸
1.3 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