E-H Better Gallery Hiding

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

Versão de: 17/02/2019. Veja: a última versão.

Autor
HEN-TIE
Avaliações
0 0 0
Versão
2.7
Criado
07/10/2018
Atualizado
17/02/2019
Tamanho
4,44 KB
Licença
N/A
Aplicável a

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

  • Completely hides the galleries you want to get rid of
  • Displays hidden gallery count at top of page (hover on it for details)
  • 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 (superseded by on-site settings, has some benefits)
    • Works when logged out
    • Removes completely, no placeholder gallery card without an image
    • 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 your blocked uploaders, and enable the optional features.

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