annoying affiliates

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

annoying affiliates

Post by smk »

Is there a way to block a portion providing text links by blocking comments? drives me crazy sometimes. for example all the stuff in between
<!-- affiliate -->
blah blah blah
<!-- /affiliate -->
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re: annoying affiliates

Post by Adblock Plus Fan »

smk wrote:by blocking comments?
no, but post a link and point out what you need blocked and maybe we can help.
smk

Post by smk »

thanks for the quick reply :)
there's many sites that use something like

Code: Select all

<!-- affiliate -->

 <SCRIPT language="javascript">
function blurAnchors(){
  if(document.getElementsByTagName){
    var a = document.getElementsByTagName("a");
    for(var i = 0; i < a.length; i++){
      a[i].onfocus = function(){this.blur()};
    }
  }
}
window.onload = blurAnchors;
</script>
<table width="100%"  border="0" cellpadding="1" cellspacing="0" class="boxBorder2"><tr> 
<td><table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
<tr><td><img src="templates/Selven/images/aff-side.jpg" width="231" height="36"></td> 
</tr><tr><td><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="sidebox-sub"> 
<tr><td><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="sidebox-aff"> 
<tr><td>
<a href="http://www.ninjababe.com" class=blackLink>Ninja Babe</a><br><a href="http://www.surfatschool.net" class=blackLink>Surf At School Web Proxy</a><br><a href="http://www.myspaceismylife.net" class=blackLink>Myspace top site</a><br><a href="http://www.tutorial-site.com" class=blackLink>Photoshop Tutorials</a><br><a href="http://www.mmoccforum.com" class=blackLink>MMOCC Forum</a><br><a href="http://www.myspaceismylife.com" class=blackLink>Myspace Layouts</a><br><a href="./link.php?action=out&id=33" class=blackLink>Free Flash Games</a><br><a href="./link.php?action=out&id=76" class=blackLink>Arcade-Freaks</a><br><strong><center><a href=./index.php?page=link_trade style="color: #526272;">Add Link!</a></center></strong>

</td></tr>
</table></td> 
<tr><td><img src="templates/Selven/images/bottom-side.jpg" class="sideaff" width="231" height="11"></td> 

</tr></table></td> 
</tr></table></td></tr></table> 
 <!-- /affiliate -->
and the things in between sometimes have no particular pattern
link is http://www.selven.org/
maybe a suggestion
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Post by Adblock Plus Fan »

The affiliate thing?
Try this code

Code: Select all

selven.org#TABLE(class=boxBorder2)(width=100%)(cellspacing=0)(cellpadding=1)(border=0)
If you already didn't know, EHH can find these rules pretty easily.
http://adblockplus.org/en/elemhidehelper
smk

Re:

Post by smk »

Thanks, never digged that deep into documentation :P
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re:

Post by Adblock Plus Fan »

smk wrote:never digged that deep into documentation
If you decide you want to try it, I can highly recommend studying these help options: http://adblockplus.org/images/66.gif

W and N are very useful to make the red frame target precisely.

V is useful if you want a quick glance at usable attributes.
smk

Re:

Post by smk »

yep, looked a bit when blocking msn search sponsors
So, does adblock+ block elements by blocking source?
Maybe it's then possible to block html source directly with some improvements in code
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re:

Post by Adblock Plus Fan »

smk wrote:does adblock+ block elements by blocking source?
It doesn't actually block anyhing, EHH only hides with CSS. So these kind of rules still download your content.
Ask Wladimir if you have any good suggestions.
smk
Posts: 100
Joined: Mon Jul 14, 2008 6:54 am

Re:

Post by smk »

Hmmm, appears that only mods can post new topics in future development :?
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re:

Post by Hubird »

smk wrote:Hmmm, appears that only mods can post new topics in future development :?
Future development:
Discussion of possible Adblock Plus features and changes. Suggestions still go into the general forum and will be moved if necessary
smk
Posts: 100
Joined: Mon Jul 14, 2008 6:54 am

Re:

Post by smk »

lol :oops: sry
Locked