NovelUpdates Tag Filter

Filters NovelUpdates series finder results GLOBALLY to show only series with a minimum tag count (with manual filter button).

安装此脚本
作者推荐脚本

您可能也喜欢NovelUpdates Tag Sorter

安装此脚本
作者
MasuRii
日安装量
0
总安装量
0
评分
0 0 0
版本
1.4
创建于
2025-02-20
更新于
2025-02-21
大小
4.3 KB
许可证
MIT
适用于

NovelUpdates Tag Filter

Description:

This userscript enhances the NovelUpdates Series Finder page by adding a global tag count filter with a manual "Filter by Tags" button. It automatically hides or removes novel series from the search results that have fewer than a specified minimum number of tags, across all search result containers on the page. This ensures consistent filtering regardless of how the results are structured or paginated.

To handle dynamically loaded content due to pagination, a floating "Filter by Tags" button is added to the bottom right of the page. Clicking this button will re-apply the tag filter, ensuring that newly loaded series are also filtered according to your minimum tag count setting.

When used in conjunction with the "NovelUpdates Tag Sorter" userscript (also available), the "Filter by Tags" button is positioned slightly above the "Sort by Tags" button for clear distinction and usability.

This script is useful for narrowing down search results to novels that are more comprehensively tagged and potentially more detailed in their genre and trope descriptions, providing a cleaner and more focused browsing experience, especially when browsing paginated search results.

Features:

  • Global Tag Count Filtering: Filters search results by tag count across all .w-blog-content.other containers on the page, ensuring consistent filtering across all result sections and pages, including dynamically loaded content.
  • Manual "Filter by Tags" Button: Adds a button at the bottom right of the page to manually re-trigger the tag filter, essential for applying the filter to paginated or dynamically loaded search results.
  • Vertically Offset Buttons (with Tag Sorter): When used with the "NovelUpdates Tag Sorter" script, the "Filter by Tags" button is positioned slightly above the "Sort by Tags" button for clear separation.
  • Minimum Tag Count Threshold: You can customize the minimum number of tags required for a series to be displayed. Series with fewer tags than this threshold are hidden.
  • Easy Customization: The minimum tag count is easily adjustable by modifying a single line within the userscript code.
  • Preserves Website Functionality: The script is designed to be non-intrusive and preserves the original functionality of the NovelUpdates Series Finder, including filters and pagination.
  • Global Application: Filtering is applied consistently across all search result containers present on the page and can be re-applied manually as needed.

How to Use:

  1. Install a Userscript Manager: You need a browser extension like Tampermonkey (Chrome, Firefox, Safari, Opera), Greasemonkey (Firefox), or Violentmonkey (Chrome, Firefox, Opera).
  2. Install the Userscript: Click on the "Install" button on the Greasy Fork script page (once you've listed it). Your userscript manager will prompt you to install the script. Confirm the installation.
  3. Navigate to NovelUpdates Series Finder: Go to the NovelUpdates Series Finder page: https://www.novelupdates.com/series-finder/ and perform a search.
  4. Initial Global Filtering: The search results across all containers will be automatically filtered upon page load.
  5. Use the "Filter by Tags" Button (For Pagination): When you scroll down and load more search results (pagination), click the "Filter by Tags" button at the bottom right of the page to apply the filter to the newly loaded content. You can re-click this button anytime you want to re-apply the filter.

Recommended Complementary Userscripts:

For the ultimate NovelUpdates browsing experience, we highly recommend using this script alongside:

  • NovelUpdates Tag Sorter: This companion script sorts novels by tag count, displaying novels with the most tags first. When used together with the Tag Filter, you can first filter out novels with too few tags and then sort the remaining ones by tag count, creating a perfectly organized reading list.

  • Pagetual: This userscript enables automatic infinite scrolling, eliminating the need to navigate through multiple pages manually. When combined with both the Tag Filter and Tag Sorter, you can effortlessly browse through an endless stream of well-tagged, sorted novels.

The combination of these three scripts creates a powerful, seamless browsing experience on NovelUpdates, allowing you to quickly find novels with comprehensive tag information organized exactly how you want them.

Customization:

You can easily adjust the minimum tag count for filtering:

  1. Open your userscript manager and find the "NovelUpdates Tag Filter (Global)" script in your script list.
  2. Edit the script.
  3. Look for the following section in the code (usually near the top):
   // ========================================================================
   //  USER CONFIGURATION -  IMPORTANT!
   // ========================================================================
   //  ... comments explaining minTagCount ...
   const minTagCount = 3;  // <=====  ADJUST THIS NUMBER TO CHANGE MINIMUM TAG COUNT
   // ========================================================================
   //  END USER CONFIGURATION
  1. Change the number 3 in the line const minTagCount = 3; to your desired minimum tag count.
    • Example: To show series with at least 5 tags, change it to const minTagCount = 5;
    • To show series with at least 10 tags, change it to const minTagCount = 10;
    • To disable filtering and see all series regardless of tag count, change it to const minTagCount = 0;
  2. Save the script.
  3. Refresh the NovelUpdates Series Finder page. The filter will now use your new minimum tag count and apply it globally.

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.