E-H Better Gallery Hiding

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

Verze ze dne 11. 12. 2019. Zobrazit nejnovější verzi.

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

**Works with March 2019 site update!**

Get Started

  • Go to the My Tags page, the script will hide galleries with tag colour #FF0000
  • Do not check the "hidden" checkbox
  • Move blocked uploaders from site settings into script
  • All other filtering features are optional, edit the variables at top of script to enable them

Features

  • General
    • Tag Hiding
      • Uses My Tags to hide specified tags
      • Tells you how many search results were hidden (hover on count for full details)
      • Temp. disable hiding button, if you're curious
    • Uploader Hiding
      • Works like on-site uploader blocking, but can be toggled so you don't miss out on search results
      • Doesn't work in thumbnail mode
  • Optional
    • Soft Hiding Mode
      • Reverse of normal functionality, dims flagged galleries, use toggle to hide them
    • Ongoing Gallery Hiding
      • Checks title for "ongoing" etc.
    • Pixiv Dump Hiding
      • Checks title for "pixiv", "fanbox"
    • Artist Portfolio Hiding
      • Checks title for "twitter", "patreon", "hentai-foundry", "artist" etc.

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
/*────────────────────────────────────────────────────────────────────────────*/