Hi. I've been unable to delete this ad on http://forum.afterdawn.com/
If you go into a topic just by the last post is a post with username Advertisement. I've been able to get rid of the ad and iframe using ABP but i cant get with of the advertisement name and area
afterdawn Advertisement
Unfortunately, plain text contained between beginning and ending tags cannot identify its element ... nor is there a way to write a css rule that way for ABP, afaik.
You can select a child element if you path from a specific element BEFORE your target element .... or by using a ":first-child: or ":last-child" selector. These must be done using regular css rules (they start with ##). You can use a uniquely defined TABLE to find a TD in another following TABLE. Example something like:
This tells ABP to remove the second table cell in any table that is after a table who's 'id' is "container".
Because the forum uses the exact same table row generation for any post, without a 'unique' path or identifier preceding the "Advertisement" table row, there is no way to target it.
Hope I made this easy to understand as you seem to be knowledgeable.
Whether there will be a way to select elements via regular text ... I really don't know.
You can select a child element if you path from a specific element BEFORE your target element .... or by using a ":first-child: or ":last-child" selector. These must be done using regular css rules (they start with ##). You can use a uniquely defined TABLE to find a TD in another following TABLE. Example something like:
Code: Select all
##TABLE[id="container"]+ TABLE> TR> TD:first-child + TD
Because the forum uses the exact same table row generation for any post, without a 'unique' path or identifier preceding the "Advertisement" table row, there is no way to target it.
Hope I made this easy to understand as you seem to be knowledgeable.
Whether there will be a way to select elements via regular text ... I really don't know.
Last edited by rick752 on Thu May 17, 2007 11:55 pm, edited 1 time in total.
I see where your getting from. I've also noticed that there is a > operator which tells adblock plus to go down in the DOM tree. the isn't by any chance a < operator in the code of adblock plus to tell the program to go up in the DOM tree eg.
The code telling adblock plus to get rid of TR which has IFRAME as a child
Code: Select all
##TABLE > TR < IFRAME
I have the perfect discussion for you to read on my EasyList forum. This should answer your questions as the OP there started the same exact topic:
http://www.richsterling.com/forum/viewtopic.php?p=3389
ps: Your last question is near the end of the topic.
http://www.richsterling.com/forum/viewtopic.php?p=3389
ps: Your last question is near the end of the topic.