Sort NovelUpdates series finder r###lts by tag count
Description:
This userscript significantly enhances the NovelUpdates Series Finder page by introducing a global sort by tag count feature. Unlike previous versions, this script now sorts search r###lts across all r###lt containers on the page, ensuring a comprehensive and consistent sorting order, especially on pages with multiple r###lt sections or pagination. It displays series with the most tags at the very top across all containers and series with the fewest tags at the bottom, distributed across the containers.
Additionally, this version intelligently preserves any existing elements within the first search r###lt container (like filter controls or informational text) while clearing and re-populating only the search r###lt boxes themselves. Subsequent r###lt containers are fully cleared and re-populated with the sorted series.
A floating "Sort by Tags" button is added to the bottom right of the page, allowing you to re-trigger the tag-based sorting at any time after the page has loaded, for example, after applying filters or navigating pages.
Features:
.w-blog-content.other
containers on the page, providing a unified sorted list.How to Use:
Customization:
1. **Open your userscript manager** and find the "NovelUpdates Tag Sorter" script in your script list.
2. **Edit the script.**
3. **Look for the following section in the code (usually near the top):**
```javascript
// ========================================================================
// USER CONFIGURATION - IMPORTANT!
// ========================================================================
// Set this to 'true' to enable console logging for debugging,
// or 'false' to disable console logs for cleaner console output.
const enableLogging = false; // <===== ADJUST THIS TO 'true' TO ENABLE LOGGING, 'false' TO DISABLE
// ========================================================================
// END USER CONFIGURATION
```
4. **Change `const enableLogging = false;` to `const enableLogging = true;`** to enable console logging. To disable logging (cleaner console), set it back to `false`.
5. **Save the script.**
6. **Refresh the NovelUpdates Series Finder page.**
License:
This userscript is released under the MIT License.
Support and Feedback:
If you encounter any issues, have suggestions for improvements, or want to provide feedback, please use the "Feedback" link on the Greasy Fork script page or contact the author directly.