Scroll page on double tap

This userscript is designed for mobile browsers, and scrolls page on double tap. Top half of the screen scrolls up, and bottom half scrolls down. Single taps are ignored for a specified timeout while script waits for a second tap, and then get dispatched programmatically.

Verzia zo dňa 30.10.2024. Pozri najnovšiu verziu.

Autor
emvaized
Hodnotenie
0 0 0
Verzia
1.0.0
Vytvorené
30.10.2024
Aktualizované
30.10.2024
Veľkosť
3,4 KB
Licencia
MIT
Spustiť na

This userscript is designed for mobile browsers, and scrolls page on double tap. Top half of the screen scrolls up, and bottom half scrolls down. Single taps are ignored for a specified timeout while script waits for a second tap, and then get dispatched programmatically.

Default value is to scroll page by 80% of the screen width on each double tap. It can be changed by modifying the amountToScroll variable (default value: 0.8)