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.

As of 30.10.2024. See ბოლო ვერსია.

ავტორი
emvaized
რეიტინგი
0 0 0
ვერსია
1.0.0
შექმნილია
30.10.2024
განახლებულია
30.10.2024
Size
3,37 KB
ლიცენზია
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)