Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
-
kornbln
- Posts: 4
- Joined: Fri Sep 19, 2008 12:11 am
Post
by kornbln »
Can I block both of these divs in a single rule?
Code: Select all
<div id="textlinks">
<div class="titlebar">
stuff
</div>
</div>
-
rick752
- Posts: 2709
- Joined: Fri Jun 09, 2006 7:59 pm
- Location: New York USA
-
Contact:
Post
by rick752 »
Sure, just use the outer one:
-
kornbln
- Posts: 4
- Joined: Fri Sep 19, 2008 12:11 am
Post
by kornbln »
rick752 wrote:Sure, just use the outer one:
If I block that one, it blocks other things I dont want to block. But blocking both of them would do what I need.
-
fanboy
- Posts: 3446
- Joined: Sun Jun 17, 2007 4:45 am
-
Contact:
Post
by fanboy »
How about this?
Code: Select all
##div(id=textlinks) > div(class=titlebar)
-
Stupid Head
- Posts: 214
- Joined: Sat Aug 26, 2006 8:11 pm
- Location: USA
Post
by Stupid Head »
Actually, the parentheses should be brackets:

Code: Select all
##div[id=textlinks] > div[class=titlebar]
What, me worry?
-
rick752
- Posts: 2709
- Joined: Fri Jun 09, 2006 7:59 pm
- Location: New York USA
-
Contact:
Post
by rick752 »
Stupid Head wrote:Actually, the parentheses should be brackets:

You forget the "quotes" as well.
Code: Select all
##div[id="textlinks"] > div[class="titlebar"]
-
Adblock Plus Fan
- Posts: 1255
- Joined: Sat Feb 24, 2007 11:08 am
Post
by Adblock Plus Fan »
kornbln wrote:Code: Select all
<div id="textlinks">
<div class="titlebar">
stuff
</div>
</div>
Been busy with the page source?
Rules for these things are easily composed in EHH's advanced treeview:
