E-H Better Gallery Hiding

Undoable hiding based on tags, title keywords, and uploader name.

As of 2019-12-11. See the latest version.

Author
HEN-TIE
Ratings
0 0 0
Version
3.12
Created
2018-10-07
Updated
2019-12-11
Size
5.17 KB
License
N/A
Applies to

**Works with March 2019 site update!**

About Hides galleries with tag colour #FF0000. Lets you toggle to see true, full, search results. All other filter features are optional.

Features

  • Hides galleries you don't want to see
  • Tells you how many results are hidden, and why
  • Temp. disable hiding button, if you're curious
  • Displays hidden gallery count at top of page (hover on it for full details)
  • Hide ongoing galleries
    • Checks the title for "ongoing/on going"

  • Hide Pixiv artist galleries
    • Checks the title for "pixiv"
    • Checks the title for "fanbox"

  • Hide artist portfolio galleries
    • Checks title for "artist" and "twitter"

  • Hide by Uploader (superseded by on-site settings, still has some benefits)
    • Works when logged out
    • Hiding can be toggled, so you don't miss out on any search results
    • Does not work in thumbnail mode

  • Hide by Tag
    • Hides galleries with #FF0000 flagged tags

  • Soft-Hiding Mode
    • Reverse of normal functionality, fades-out galleries by default, then you can toggle to hide them

    Configuration Edit variables at top of script to add your blocked uploaders, and enable the optional features.

    /*───────────────────┐
    │   CONFIGURATION    │
    ├────────────────────┼──────────────────────────┬──────────────────────────────┐
    │  uploader hiding   │       title hiding       │         flag hiding          │
    ├────────────────────┼──────────────────────────┼──────────────────────────────┤
    │ edit "var blocked" │ edit "var hidePixiv"     │ flag tags with #FF0000       │
    │ case insensitive   │ edit "var hideOngoing"   │ it will be hidden, but can   │
    │ format:            │ edit "var hidePortfolio" │ be toggled as desired        │
    │ ['user1','user2']  │ format:                  │                              │
    │                    │ true/false               │                              │
    └────────────────────┴──────────────────────────┴─────────────────────────────*/
    var softHiding = false; //default to fading-out galleries, instead of hiding
    var blocked = []; //blocked uploaders
    var hidePixiv = false; //pixiv art dumps
    var hideOngoing = false; //ongoing in title
    var hidePortfolio = false; //other artist dumps
    /*────────────────────────────────────────────────────────────────────────────*/