basically the site uses code similar to this one to embed their ads:
Code: Select all
<div class="article">
<td class="adheadline">Here comes the headline of the ad</td>
Here is the actual content of the ad
</div>
now, is there a way to block all div.article elements that contain the td.adheadline as child (as far as i know CSS selectors can only match the child of a certain parent but not the way round)?
so far i'm using the rip-extension for this job, which uses xpaths to hide objects (but it is quite unstable), but i'd rather use adblock to have all my filters in one place. if you want to see the actual source code site: it's derstandard.at & the ads, i'm talking about, are surrounded by "</ADVERTORIAL>"
i'd really appreciate any thoughts...