[Wallhaven] Purity Groups

Organizes thumbnails into collapsible SFW, Sketchy, and NSFW sections with dynamic grid resizing and a floating button to toggle seen wallpapers with persistent state.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v2.1 2025-09-07

    [v2.1] Fixed typo for default value of "LINK_OPEN_DELAY". Changed value from "500" to "200" in ms.

  • v2.0 2025-09-07
  • v2.0 2025-09-07

    Changelog [v1.5] to [v2.0]

    New/Added Features:

    Purity Colors Object: Introduced a PURITY_COLORS constant to centralize color definitions for SFW (#008000), Sketchy (#ffa500), and NSFW (#ff0000) purities.
    Open Unseen Button: Added a button (Open Unseen) for each purity section to open all unseen wallpapers from that group in new tabs.
    Link Open Delay Constant: Added LINK_OPEN_DELAY constant set to 200ms to control the delay between opening links in the new "Open Unseen" feature.



    Modified Features:

    Error Handling in Initialization: Updated the try-catch block in the initialization section to silently handle errors instead of logging them to the console.
    Section Label Styling: Adjusted the section label button to have a width: 100% and margin: 0 to fit within the new header container layout.

  • v1.5 2025-06-19

    [v1.5]

    Added:
    Persistent state for the "Hide Seen" button using GM_setValue and GM_getValue, allowing the toggle state to be saved across page reloads.

    Changed:
    Refactored ControlPanel class to initialize hideSeen from saved state and apply it during panel creation.
    Modified toggleSeenWallpapers to save the toggled state and reuse visibility logic via a new applySeenWallpapersState method.

  • v1.4 2025-05-01