ankit / stylebot

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

[Feature] or question: XPath or JQuery element selection #768

Open midenok opened 7 months ago

midenok commented 7 months ago

Some (or most) big sites use dynamic class name obfuscation which makes CSS selection unusable. The task is to select element wich has children, parents, siblings and siblings of parents of specific properties or containing specific content. Sorry, I'm not strong with CSS, maybe it's already possible there?

For example here we need to select .bay8 element which has grand...child with href containig /product/ and which grand...parent has previous sibling with id #comments:

image