Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Tag Flagging Enhancement
- // @namespace ehtagflag
- // @description Highlights flagged galleries in E-Hentai Thumbnail and Compact View
- // @include /:\/\/[g\.]*e.hentai.org\//
- // @exclude *://*e*hentai.org/uconfig.php
- // @exclude *://*e*hentai.org/mytags
- // @grant none
- // ==/UserScript==
- var flags = document.querySelectorAll('.gt:nth-child(1)'), n = flags.length;
- while ( n-- > 0 ) {
- var gl1t = flags[n].parentNode.parentNode, gl4t = gl1t.firstChild.firstChild;
- if ( gl4t.style ) {
- gl1t.style.cssText = flags[n].style.cssText;
- gl4t.style.color = flags[n].style.color; }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement