WTR-Lab Library Auto-Sorter by Progress

Automatically loads all items and sorts your WTR-Lab library by reading progress. Sort order and logging are configurable in the menu.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
MasuRiii
日安装量
0
总安装量
1
评分
1 0 0
版本
2.6
创建于
2025-10-10
更新于
2025-10-28
大小
6.9 KB
许可证
MIT
适用于

Alt text

Tired of manually sorting your WTR-Lab library to find the series you're least caught up on? This script completely automates the process for you.

Upon loading your library page, or navigating between folders, this script will:

  1. Automatically find and click the "Load More" button until every single series in the current view is visible.
  2. Once all items are loaded, it will instantly sort the entire list based on your reading progress.

You can easily choose your preferred sort order and toggle debug logging right from the Tampermonkey menu. Your preferences are saved, so you only have to set them once!

Features

  • Fully Automatic "Load More": No more repetitive clicking! The script handles loading your entire library for you.
  • Progress-Based Sorting: Automatically sorts all items by their reading progress percentage.
  • Reactive to Page Navigation: Works seamlessly when you switch between library folders without needing a manual page refresh.
  • Configurable Sort Order: Choose between Ascending (0% -> 100%) or Descending (100% -> 0%) via the Tampermonkey extension menu.
  • Toggleable Debug Logging: Easily enable or disable console logging from the menu for troubleshooting.
  • Persistent Settings: Your chosen sort order and logging preferences are saved and remembered for your next visit.
  • Lightweight and Efficient: The script waits for content to appear before running, ensuring compatibility and smooth performance.

How to Use

  1. Make sure you have a userscript manager like Tampermonkey installed.
  2. Install this script.
  3. Navigate to your WTR-Lab library page (e.g., https://wtr-lab.com/en/library).
  4. That's it! The script will automatically load everything and then sort the page for you.

To change settings:

  1. Click on the Tampermonkey extension icon in your browser's toolbar.
  2. A menu will appear. Find the entry for this script: WTR-Lab Library Auto-Sorter by Progress.
  3. You will see options to change the sort order and toggle logging. A checkmark (✅) indicates the current sort setting.
  4. After changing a setting, the page will automatically reload to apply it.

Notes & Troubleshooting

  • When you first load a library page, you may see the unsorted list for a moment while the script works. This is normal.
  • If the script doesn't seem to work, try reloading the page (Ctrl+F5 or Cmd+R for a hard refresh).
  • If you encounter any issues, you can enable logging via the Tampermonkey menu and check the browser's developer console (F12) for messages prefixed with [WTR-Lab Sorter]:.