Scroll page on double tap (mobile)

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.

Versión del día 30/10/2024. Echa un vistazo a la versión más reciente.

Autor
emvaized
Calificaciones
0 0 0
Versión
1.0.0
Creado
30/10/2024
Actualizado
30/10/2024
Tamaño
3.92 KB
Licencia
MIT
Funciona en
Todos los sitios

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)