WTR-Lab Auto Scroller

Adds dual-mode auto-scrolling (Constant Speed or Dynamic WPM) to the WTR-Lab reader for a hands-free reading experience.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
MasuRiii
日安装量
0
总安装量
3
评分
0 0 0
版本
5.1
创建于
2025-10-10
更新于
2025-10-30
大小
29.3 KB
许可证
MIT
适用于

alt text

Tired of constantly scrolling while reading on WTR-Lab? This script provides a seamless, hands-free reading experience by offering two distinct auto-scrolling modes—Constant Speed and Dynamic WPM—with controls integrated directly into the reader's display settings.

Set your preferred reading style, press play, and enjoy the story without ever touching your mouse or screen again. The script is designed to feel like a native part of the website.

Features

  • Dual-Mode Scrolling: Choose the style that fits you best.
    • Constant Speed Mode: A smooth, continuous scroll at a consistent pixel-per-second rate. Perfect for relaxed reading.
    • Dynamic WPM Mode: A smart scrolling mode based on your Words Per Minute (WPM). The script calculates the reading time for each paragraph and scrolls through its entire height over that duration. This creates a continuous, natural flow where the speed adapts to the density of the text.
  • Paragraph Highlighting: In Dynamic mode, the current paragraph is highlighted with a subtle border, helping you keep your place as the script advances. This can be toggled on or off.
  • Fully Integrated Controls: A clean, intuitive control panel is added directly within the existing "Display Configuration" menu. It includes:
    • A master Play/Stop button.
    • A Constant/Dynamic mode switcher.
    • Separate, clearly labeled inputs for Speed (SPD) or Words Per Minute (WPM).
    • A toggle switch for paragraph highlighting in Dynamic mode.
  • Persistent Settings & State: The script remembers your last-used mode, speed/WPM, highlighting preference, and whether you had scrolling active. If you leave it on 'Play', it will automatically start on the next chapter.
  • Smart Navigation & Interruption:
    • Intelligently detects chapter changes and automatically resumes scrolling on the next chapter after a 20-second pause, giving you time to orient yourself.
    • Automatically stops when it reaches the end of the scrollable content in both modes, ensuring a seamless transition to the next page.
    • Smart User Interruption: If you manually scroll (with a mouse wheel or by dragging the screen), the auto-scroll will instantly pause, giving you full control. After a few seconds of inactivity, it will intelligently resume from your new position. This works for both Constant and Dynamic modes.
  • Intelligent Pause & Resume: Switch to another tab and back without losing your place. The scroller automatically pauses when the tab is inactive and resumes smoothly from the exact same spot when you return.
  • Robust Screen Wake Lock: Utilizes the browser's Wake Lock API to prevent your device's screen from turning off while you're reading. It's smart enough to re-acquire the lock if you switch tabs and come back.
  • Advanced Debugging: A "Toggle Debug Logging" option is available in the Tampermonkey menu for troubleshooting.

How to Use

  1. Navigate to any novel chapter on wtr-lab.com.
  2. Click the gear icon (⚙️) in the top right to open the "Display Configuration" panel.
  3. You will see the new "Auto-Scroll Controls" section.
  4. Select your mode (Constant or Dynamic), adjust the corresponding speed or WPM, and press Play. All your settings are saved automatically for your next visit.