Blocking tags that have children with class or text


New Member
Surprised that I can't find this by searching..., <Article> tag that has child div containing text 'Promoted' or perhaps some other keys.
These divs with the search text have a class .css-9010a0 for what it's worth, but don't want to blanket block on that class because some are useful.

Been trying things like:

Code:$#article:has(div:has-text(/Promoted/)) { visibility: hidden; height: 0 !important; }
But my CSS is super rusty...


Moderator & Translator
Staff member

Please note promoted elements should be already hidden by our normal filters. If on iOS you need to enable Advanced protection.


New Member
Hey thanks, you're right it should have been blocked.
Problem - using experimental Orion (Safari) browser with FF extension installed.