Page 1 of 1

Blocked element says "false"

Posted: Fri Dec 14, 2007 12:36 am
by larrymcg
A minor issue (or maybe just a curiosity):
On My Yahoo! page there is always an ad that I block with
http://ads.yimg.com/us.yimg.com/a/*
I also have Collapse Blocked Elements checked.
Most of the time the ad is blocked and the fairly large square it would take up is collapsed to a thin white rectangle with the word "Advertisement" in it. That's fine with me.
But sometimes the large white square remains and has the word "false" below "Advertisement".
Seems a bit weird. The FF Error Console shows no errors when this happens.

I am using Firefox 2.0.0.11 (but this minor issue occurred on earlier versions) and AdBlockPlus 0.7.5.3 (but it happened on earlier versions too) on WinXP with SP2 and all current fixes.

I have not subscribed to any standard blocking lists. I just blocked things that bugged me on the pages I use the most.

Since My Yahoo! is a custom page associated with my Yahoo login, I can't provide a link to it.

I right clicked the large white rectangle and pulled up the Frame Info. In case it's useful it says:
Untitled Page:
Address: javascript:false
Type: text/html
Render Mode: Quirks Mode
Encoding: ISO-8859-1

Thanks,
Larry

Posted: Fri Dec 14, 2007 4:21 am
by rick752
Sounds like the info served in the iframe varies. The solution would be block or hide the iframe itself.

Posted: Sun Dec 16, 2007 6:13 am
by Circumlocutus
If your 'My Yahoo!' address is "cm.my.yahoo.com", You need to widen the spotlight on the Ad frame to get ABP to not take the contents of the wanted frames with it.

here is the line that ELH generated for me which successfully removes the ad from My Yahoo.

Code: Select all

cm.my.yahoo.com#DIV(id=ad-lrec)(class=mod advertisement)

Posted: Sun Dec 16, 2007 6:59 pm
by larrymcg
Circumlocutus,

Huh? What is "ELH"? And is the string you provided a regular expression? I know just a little bit about regular expressions but that doesn't look like one to me.

Curiously,
Larry

Edit: I just found the element hiding stuff in the Adblockplus documentation. I think I see what your code does. I'm thinking I can just put that into my filter list and it will do the right thing. I'll try it. Thanks.

Posted: Sun Dec 16, 2007 7:42 pm
by Circumlocutus
Sorry, my bad, it should have been EHH. (Element Hiding Helper)

But manually adding that line will remove the ad frame.

Posted: Mon Dec 17, 2007 7:47 pm
by larrymcg
Works like a charm. Thanks.
So now I'm feeling the need to understand what elements are in this context and when to use the EHH. Lots of reading to do......
--Larry