E-H Better Gallery Hiding

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

Verze ze dne 17. 02. 2019. Zobrazit nejnovější verzi.

Autor
HEN-TIE
Hodnocení
0 0 0
Verze
2.6
Vytvořeno
07. 10. 2018
Aktualizováno
17. 02. 2019
Size
4,4 KB
Licence
neuvedeno
Spustit na

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.

Configuration
Edit variables at top of script to add blocked uploaders, and enable pixiv/ongoing gallery hiding.

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    │
├────────────────────┼──────────────────────────┬──────────────────────────────┐
│  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;
/*────────────────────────────────────────────────────────────────────────────*/