how2 if possible, style text diferently based on the original color

writing/editing a style for some webnovel websites, the anti-pirating measures are killing me, pls help.
is it posible to specify a range of "color:#" ? i need to turn whit-ish text transparent while keeping the black-ish text as is
(black-ish-anti-copypasta)
span style="color:#101b01;""Looking at Feng Luo leading S"
ong XiaoHu away, Ling Xia said to Yu ZhiJue with a smile, “Yep, this Feng Luo is pretty nice, pe
span style="color:#071810;" "rhaps you can""
all become good friends

[later, same page]

(whit-ish-anti-copypasta)
However, Yu ZhiJue’s reaction was only
span style="color:#e7efef;""|"
to
span style="color:#e6efef;""i"
frown

so i either get
[ ong XiaoHu away, Ling Xia said to Yu ZhiJue with a smile, “Yep, this Feng Luo is pretty nice,
per all become good friends]

or i get

[However, Yu ZhiJue’s reaction was only|toifrown]

Comments

  • edited December 2018 [?]
    Best you could do is utilize partial attribute selectors, like:

    span[style*="color:#e"]{color:transparent!important;}

    If any contain hexes that don't start with "#e", you'll need to add those as well, like:

    span[style*="color:#e"],span[style*="color:#c"]{color:transparent!important;}
Sign In or Register to comment.