Greasy Fork is available in English.

[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.

queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.

  • v2.1 07/09/2025

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

  • v2.0 07/09/2025
  • v2.0 07/09/2025

    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 19/06/2025

    [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 01/05/2025