Universal Auto-Scroll (Modified)

Adds auto-scrolling functionality to any website with true dynamic UI scaling and display sleep prevention.

Autor
MasuRiii
Instalări zilnice
0
Total instalări
0
Rating-uri
0 0 0
Versiune
2.0
Creat
21-10-2025
Actualizat
21-10-2025
Size
19,2 KB
Licență
MIT
Se aplică pe
Toate site-urile

This is a modified and enhanced version of the excellent Universal Auto-Scroll script by Raymond Duong. Full credit goes to the original creator for the core concept and foundation.

This version (2.0) modernizes the script with powerful new features, greater user control, and significant quality-of-life improvements. It adds a fully customizable speed setting, dynamic UI scaling to counteract browser zoom, and uses the Wake Lock API to prevent your screen from sleeping during long reading sessions.

✨ Key Features / What's New in this Version

  • Custom Speed Control: The speed slider now includes a 10th "Custom" level. When selected, you can input your own precise speed multiplier, giving you complete control over the scrolling rate.
  • Dynamic UI Scaling: The control panel automatically adjusts its size to counteract browser zoom. Whether you're zoomed in at 150% or zoomed out at 80%, the UI remains a consistent, readable size.
  • Prevents Display Sleep: Utilizes the modern Wake Lock API to keep your screen awake while the script is actively scrolling. No more tapping the screen or wiggling the mouse during long articles!
  • Expanded Speed Range: The slider now offers 9 pre-defined speed levels (from "Snail" to "Very Fast") in addition to the new custom level, providing a wider and more granular selection.
  • Persistent Settings: Your chosen speed, custom speed value, and the panel's minimized/maximized state are all saved automatically, so your preferences are ready for your next visit.
  • Intelligent Pause: If you manually scroll using your mouse or trackpad, the auto-scroll will temporarily pause for 5 seconds, allowing you to reposition without fighting the script.

⚙️ How to Use

  1. Access the Panel: After a page loads, a control panel will appear in the bottom-right corner of your screen.
  2. Start/Stop Scrolling:
    • Click the large ▶️ Start Scrolling button to begin.
    • The button will turn green and change to ⏸️ Pause Scrolling. Click it again to stop.
  3. Adjust Speed:
    • Use the slider to select one of the 9 preset speeds. The name and level (1-9) will be displayed above it.
  4. Set a Custom Speed:
    • Move the slider all the way to the right to level 10 ("Custom").
    • The Speed Multiplier input box below the slider will become active.
    • Enter any positive number you like (e.g., 0.2 for very slow, 5.0 for extremely fast) to set your own speed. The script will remember this value.
  5. Minimize the Panel:
    • Click the button in the top-right corner of the panel to minimize it into a small floating bubble (📜).
    • Click the bubble to restore the full control panel.

🔧 User Customization (Advanced)

For advanced users, you can permanently change the default size of the UI panel by editing the script.

  1. Open the script in Tampermonkey's editor.
  2. Find the line near the top: javascript const uiScaleFactor = 0.8;
  3. Change the 0.8 value to your preference:
    • 1.0 = Default size
    • 0.8 = 80% size (smaller)
    • 1.2 = 120% size (larger)
  4. Save the script.