Greasy Fork is available in English.

AutoScroll

Cambia la velocità di scorrimento con un clic di un pulsante

Autore
李维嘉
Installazioni giornaliere
4
Installazioni totali
263
Valutazione
4 0 0
Versione
1.2.1
Creato il
28/12/2023
Aggiornato il
14/01/2024
Licenza
MIT
Applica a
Tutti i siti

永页机伴侣 PageAutoScroll

由三个按钮控制滚动速度 按钮悬浮在页面右下角,开启后在每个页面执行 具有自动滚动页面的功能 适用于浏览长页面时自动滚动

A script that automatically scrolls the page, adjusts the speed of the page auto-scrolling by clicking the emoji button, the button is suspended in the lower right corner of the page, and is executed on each page.

可与hoothin提供的东方永页机一起使用 Can be used with hoothin's Pagetual(东方永页机 (greasyfork.org)/)

由三个按钮控制滚动速度, 点击后滚动

🐰兔子滚动最快,每次5像素 Fast speed

🐸青蛙 滚动速度一般,每次2像素 Medium speed

😃树懒 滚动速度极慢,每次1像素 Low speed

⏸️暂停键 速度为0,不滚动 Stop scrolling

自定义图标及滚动速度,请修改括号内容

    var fastButton = createScrollButton('🐰', '#ff0', 5); 
    //数字值5为兔子按钮的滚动速度,您可自行修改提速
    var mediumButton = createScrollButton('🐸', '#ff0', 2);
    var slowButton = createScrollButton('😃', '#ff0', 1);
    var stopButton = createScrollButton('⏸️', '#f00', 0);

在Safari和Android中测试通过(iOS微瑕具体瑕疵见文末)

在Windows Edge中测试通过(使用油猴安装)

此脚本代码行数小于200,对浏览器无负担,且存在醒目的按钮闪动效果,提示您当前脚本正在运行

在iOS Safari 中测试发现以更快的滚动速度执行时,页面出现残影和抖动,尝试修改无果,如果你能修复此问题请发布修改版 拜谢

Testing in iOS Safari found that when executing at a faster scrolling speed, the page appears ghosting, and jitter to find information to no avail, if you can fix this issue would be appreciated

如果此脚本对你有帮助,鼓励开发者一杯咖啡

If this script helps you, donate a cup of coffee to the developer