E-H Better Gallery Hiding

Hide galleries based on flags, uploader, ongoing status. Displays a count notice.

As of 2019-02-17. See the latest version.

Author
HEN-TIE
Ratings
0 0 0
Version
2.6
Created
2018-10-07
Updated
2019-02-17
Size
4.43 KB
License
N/A
Applies to

About
Real gallery hiding for e-hentai.org and exhentai.org.
By default this script only hides flagged galleries, but like, actually hides them. No stupid empty placeholder.

Features

  • Displays hidden gallery count after the search result count
  • Hide ongoing galleries
    • Checks the title for "ongoing"
  • Hide Pixiv artist galleries
    • Checks the title for "pixiv"
  • Hide artist portfolio galleries
    • Checks title for "Artist - "
  • Hide by Uploader
    • Alternative to on-site settings
    • Works when logged out
    • Can tell when a result has been hidden (count notice), while on-site uploader filter just hides and doesn't tell you
    • Does not work in thumbnail mode (unless you use this script)
  • Hide by Flag Status
    • Actually completely hides the gallery
    • Obviously requires tag flagging perk
    • Only hides flags with 'hidden' checked in settings

Configuration
Edit variables at top of script to add blocked uploaders, and enable pixiv/ongoing gallery hiding.
/*───────────────────┐
│ CONFIGURATION │
├────────────────────┼──────────────────────────┬──────────────────────────────┐
│ uploader hiding │ title hiding │ flag hiding │
├────────────────────┼──────────────────────────┼──────────────────────────────┤
│ edit "var blocked" │ edit "var hidePixiv" │ needs tag flagging hath perk │
│ case insensitive │ edit "var hideOngoing" │ fully hides, no placeholder │
│ format: │ edit "var hidePortfolio" │ │
│ ['user1','user2'] │ format: │ │
│ │ true/false │ │
└────────────────────┴──────────────────────────┴─────────────────────────────*/
var blocked = [];
var hidePixiv = false;
var hideOngoing = false;
var hidePortfolio = false;
/*────────────────────────────────────────────────────────────────────────────*/