E-H Better Gallery Hiding

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

Verze ze dne 19. 03. 2019. Zobrazit nejnovější verzi.

Autor
HEN-TIE
Hodnocení
0 0 0
Verze
3
Vytvořeno
07. 10. 2018
Aktualizováno
19. 03. 2019
Size
5,2 KB
Licence
neuvedeno
Spustit na

March 2019 Site Layout Update: Script fixed!
New hiding: obliterates the gallery, can't see what tag was triggered, can't undo.
The solution is to use a watched tag in colour #FF0000, and hide those.

-Instead of hiding tags, you must set bad tags to Watched #FF0000.
-All script features work as they did before.
-Watched tags in minimal mode currently broken, hopefully they fix that.




About
Real gallery hiding for e-hentai.org and exhentai.org.
By default this script only hides watched galleries with #FF0000.
Instead of hiding them forever, you'll be able to toggle hiding to see all search results.

Features

  • Hides the galleries you want to get rid of, but you won't miss out on search results
  • Temporarily Disable button
  • Displays hidden gallery count at top of page (hover on it for extra details)
  • Hide ongoing galleries
    • Checks the title for "ongoing/on going"
  • Hide Pixiv artist galleries
    • Checks the title for "pixiv"
  • Hide artist portfolio galleries
    • Checks title for "Artist - " etc.
  • 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
    • Undoable gallery hiding
    • Obviously requires tag flagging perk
    • Only hides galleries with Watched #FF0000 tags

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"     │ set unwanted tag to WATCHED  │
│ case insensitive   │ edit "var hideOngoing"   │ using colour #FF0000         │
│ format:            │ edit "var hidePortfolio" │ it will be hidden, but can   │
│ ['user1','user2']  │ format:                  │ be shown when desired        │
│                    │ true/false               │                              │
└────────────────────┴──────────────────────────┴─────────────────────────────*/
var blocked = [];
var hidePixiv = false;
var hideOngoing = false;
var hidePortfolio = false;
/*────────────────────────────────────────────────────────────────────────────*/