Adding an exeption to part of an element.

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Croix

Adding an exeption to part of an element.

Post by Croix »

I'm not actually trying to block ads, but something I find almost as annoying. A forum I go to displays people's avatar, join date, post count, location, and a title/rank below their name, all under the same tag <span class="postdetails"> as follows;

Code: Select all

<td width="150" align="left" valign="top" class="row1"><table align="center" bgcolor="#bfbfbf" cellpadding="1" cellspacing="1" width="95%"><tr><td width="100%" bgcolor="#fffff8"></td></tr><tr><td width="100%" bgcolor="#fffff8"><center><span class="name"><a name="301890"></a><b>Secret_Holder</b></span><br /><span class="postdetails">Conscript<br /><img src="http://www.celestialheavens.com/forums/images/ranks/20.gif" alt="Conscript" title="Conscript" border="0" /><br /><img src="images/avatars/2282683254544ef6989c84.gif" alt="" border="0" /></center></td></tr><tr><td width="100%" bgcolor="#FFFFF8"><span class="postdetails">Joined: 29 Oct 2006</td></tr><tr><td width="100%" bgcolor="#FFFFF8"><span class="postdetails">Posts: 223</td></tr><tr><td width="100%" bgcolor="#FFFFF8"><span class="postdetails">Location: The freezing cold North</span></td></tr></table></td>
Although I wish to remove the post count and title ("Conscript"), I do not wish to block any of the other elements under <span class="postdetails"> (already blocked rank image). How would I do so? I will settle for an exemption just for the avatar, but I haven't even been able to figure that out.
Croix

Re: Adding an exeption to part of an element.

Post by Croix »

So should I assume it's impossible because of how Ad Block works?
Croix

Re: Adding an exeption to part of an element.

Post by Croix »

Blast! I know there are people around here that must know this stuff! Is this just in the wrong subforum?
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: Adding an exeption to part of an element.

Post by Michael »

The filter celestialheavens.com##TD > .postdetails will remove all of the information below the avatar, but it is difficult to target the post count and title because there are no CSS tags present that permit suitable and specific filtration of the unwanted content.
Locked