Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at contact@userstyles.org.
Changing your Avatar.
The only way to currently change a forum avatar is through Gravatar.com. The email address used for your Userstyles.org account must be one of the email addresses that is registered to your Gravatar account.

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.