返回首頁 

Greasy Fork is available in English.

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.

Устаревшая версия за 30.10.2024. Перейдите к последней версии.


Установить этот скрипт?
Автор
emvaized
Оценки
000
Версия
1.0.0
Создано
30.10.2024
Обновлено
30.10.2024
Размер
3,4 КБ
Лицензия
MIT
Работает на

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)