Re: adblock extension not filtering backgrounds

Roland <[email protected]> Thu, 28 Apr 2005 23:06:38 +0200
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
On 28-4-2005 22:14, Philip wrote:
> Philip wrote:
> 
>> DC wrote:
>>
>>> Philip wrote:
>>>
>>>
>>>> Some annoying yahoo ads started to appear that I could not get 
>>>> adblock to filter. It seems these graphics are tablbe backgrounds.
>>>
>>>
>>>
>>>> Is there a way to get adblock to zap these things too?
>>>
>>>
>>>
>>> URL?  I might have a solution but would like to try it first, before I
>>> step on my, uh, thingy.  }:O)
>>>
>>
>>
>> It was one of Yahoo's ads. So it only appears sporatically. I wish now 
>> that I
>> had saved the page source.
>>
>> Basically you can try to jury rig it. The ad image is the background 
>> attribute
>> of a table. The table element(s) contains a transparent spacer.gif 
>> that give the
>> table size, but allow the background to show through.
> 
> 
> I caught one of the ads on yahoo. Here is the offending html:
> 
> <table width="728" height="90" border="0" cellspacing="0" 
> cellpadding="0" 
> background="http://us.a1.yimg.com/us.yimg.com/a/ya/yahoo_personals2/20050415_53485_v2_728x90_super_ypmiranda_w2m.jpg"> 
> 
You could add the following line to AdBlock (Tools -> AdBlock -> 
Preferences; press label /Add/ to the right of the New Filter input field):

http://us.a1.yimg.com/us.yimg.com/a/ya/yahoo_personals*

-- 
Regards,

Roland de Ruiter
   ___      ___
  /__/ w_/ /__/
/  \ /_/ /  \