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.

目前為 2024-10-30 提交的版本,檢視 最新版本

作者
emvaized
評價
0 0 0
版本
1.0.0
建立日期
2024-10-30
更新日期
2024-10-30
尺寸
3.4 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)