Highlighter for E-Hentai (e-hentai.org/exhentai.org). Supports regular expressions.
(Original: https://sleazyfork.org/en/scripts/1605-e-hentai-highlighter)
E-H 2019 New layout fix.
This version fixes the functionality in the thumbnail view in the 2019 layout.
Tried to fix extended view but it seemed like it would take a lot of changes. Maybe if I receive requests for other views I'll look at them.
If this stops working you can try this script as a substitution (it highlights whole items/rows based on its tags).
KEYWORD will highlight all galleries having KEYWORD in the (regular expression:TAG (notice the colon) will highlight all galleries having TAG in the tag flags/COLOR at the end of the line will highlight the gallery using the specified colorenglish: highlights all galleries having "english" in the using the default highlight colortouhou/blue: highlights all galleries having "touhou" in the using the color blueenglish/#00ff00: highlights all galleries having "english" in the using the color green (hex\beng(lish)?\b: highlights all galleries having a that matches the regular expression provided.\beng(lish)?\b matches (eng), [eng], {eng},(english), [english], {english}, etc.:big breasts: highlights all galleries having a tag flag containing the keyword "big breasts":big breasts/red: highlights all galleries having a tag flag containing the keyword "big breasts"Format used by highlighting lines:
MAIN FILTER[! EXCLUSIONS][;TAG EXCLUSIONS][/COLOR]
MAIN FILTER: A regular expression used to identify potential matches. A colon at the start of theMAIN FILTER indicates that the matching should be performed on gallery tag flags instead of EXCLUSIONS: A regular expression used to exclude previously matched galleries.
_EXCLUSION, as you might have guessed, is only checked against gallery s;TAG EXCLUSIONS: Similar to _EXCLUSIONS, used to exclude previously matchedTAG_EXCLUSIONS are only checked against gallery tag flags;COLOR: The color to highlight the gallery with if the matching is successfull. _EXCLUSIONS and TAG_EXCLUSIONS are OR-ed together.
english!digital/red: highlight all galleries with "english" in the using the color red, but exclude
galleries with "digital" in the ;english;anthology/blue: highlight all galleries with "english"
in the using the color blue, but exclude galleries with an "anthology" tag flag;:big: highlight all galleries with a "big breasts" tag flag using the default color,
breasts;crossdressing
but exclude galleries with a "crossdressing" tag flag;:big breasts!digital;anthology/green:
highlight all galleries with a "big breasts" tag flag using the color green, but exclude galleries with "digital"
in the OR with an "anthology" tag flag.
KEYWORD will filter all galleries having KEYWORD in the (regular expression:TAG (notice the colon) will filter all galleries having TAG in the tag flagssample: filters all galleries having "sample" in the sample/blue: same as above (color information is discarded as it's not meaningful for filters):netorare: filters all galleries having a tag flag containing the keyword "netorare"