businessinsider.in

Blaz

Moderator & Translator
Staff member
Moderator
Code:
businessinsider.*#?#.story-text .Normal > br + strong:contains(SEE ALSO)
businessinsider.*#?#.story-text .Normal > br + strong:contains(SEE ALSO) + a
 

Blaz

Moderator & Translator
Staff member
Moderator
No. Simple CSS.
It tells to search for element A and then select the next element.
 

Blaz

Moderator & Translator
Staff member
Moderator
Here you go:
Code:
businessinsider##.colombia ~ .article_breaks[data-nm1] + .amazon_ad ~ .inarticle-wdgt-parent:empty + br
businessinsider##.colombia ~ .article_breaks[data-nm1] + .amazon_ad ~ .inarticle-wdgt-parent:empty + br + br
businessinsider##.colombia ~ .article_breaks[data-nm1] + .amazon_ad ~ .inarticle-wdgt-parent:empty + br + br + br
businessinsider##.colombia ~ .article_breaks[data-nm1] + .amazon_ad ~ .inarticle-wdgt-parent:empty + br + br + br + br
If you want to remove the last br too, add another rule with + br at the end. Without .colombia it would remove additional br
 
Top