find parent element by child elements

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
dersven
Posts: 4
Joined: Tue Nov 13, 2007 5:00 pm

find parent element by child elements

Post by dersven »

HI!
A simple thing, but maybe its not possible (because i did not find any description for CSS):

I want to all <div class="part"> instead of those that have a <table class="adstarter"> as a child elment. e.G.


<div class="part">Header to be shown</div>


<div class="part">
Header to be hidden
<table class="adstarter">...</table>
</div>


on another website i saw scripts that can work with if-commands - is that possible in ABP? how can i do that?

ciao
Wladimir Palant

Post by Wladimir Palant »

As I already said in http://adblockplus.org/forum/viewtopic.php?t=1857 - no, this is not possible.
dersven
Posts: 4
Joined: Tue Nov 13, 2007 5:00 pm

Post by dersven »

but is the a script-modul for firefox which can help me?
Wladimir Palant

Post by Wladimir Palant »

GreaseMonkey - but you will have to write the script yourself unless somebody already did it for this site.
Locked