ankit / stylebot

Change the appearance of the web instantly
https://stylebot.dev/
MIT License
1.38k stars 205 forks source link

[Feature] Add the ability to replace objects based on rule or content match. #704

Open TsukiZero opened 2 years ago

TsukiZero commented 2 years ago

Is your feature request related to a problem? Please describe.

Somewhat. Sometimes I come across elements that have a randomly generated DIV or CLASS name but very specific rules or even content, like for example a button that contains strictly the text "Thanks", or a div that has a specific rule like background: lightyellow;

Describe the solution you'd like

I don't know how CSS works, but I know that for elements containing text I can uBlock them with :has-text(content), but that one specific example will take in account any thing that contains "content" at any point.