ly3xqhl8g9 / holocene-timestamp

Browser extension to replace web page timestamps with the Holocene Epoch Timestamp ("2020 CE" becomes "12020 HE")
https://holocenetimestamp.org
Other
2 stars 1 forks source link

CSS Clash #4

Open davidagross opened 5 years ago

davidagross commented 5 years ago

On this site, which normally appears as

image

turns into

image

Maybe there is a way to mark the HE link in a blander, ubiquitous CSS markup so that it doesn't take on non-text formatting?

ly3xqhl8g9 commented 5 years ago

Funny. It is because ”HE” is a link, and there is a class selector styling all links on that page ”.topbg07 a” to make them look like this greenish button. I could try add some !important tags to the anchor styling, or try to Shadow DOM the HE tag.

Screenshot 2019-08-03 at 07 58 18

However, getting an accurate matching/replacement on all the webpages it's quite a daunting task and without a feedback & self-learning mechanism rather improbable.