E-H Better Gallery Hiding

Hide galleries based on tag-flags, title keywords, and uploader name.

目前为 2019-02-24 提交的版本。查看 最新版本

作者
HEN-TIE
评分
0 0 0
版本
2.9
创建于
2018-10-07
更新于
2019-02-24
大小
5.1 KB
许可证
暂无
适用于

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 the numbers)
  • Has 'temporarily disable' disable button
  • 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;
/*────────────────────────────────────────────────────────────────────────────*/