Closed GoogleCodeExporter closed 8 years ago
Thanks erunno for reporting.
I read the original post on your forum, and checked the BBC page with our
filter ON.
But the page is still readable. Why?
##*[class*="sponsor"] hides the DIV element with id
"bbccom_storyprintsponsorship".
This element is located after the article body and too small to make the page
blank.
I don't think our filter causes the problem.
Best regards,
k2japan
Original comment by k2ja...@gmail.com
on 27 May 2010 at 7:48
Hi,
the <body> element contains "bbccom_slot_storyprintsponsorship" in its class
declaration. ##*[class*="sponsor"]
triggers because of the "sponsor" substring and therefore hides the whole side.
Best regards,
Erunno
Original comment by erunno.o...@googlemail.com
on 27 May 2010 at 8:27
Hi, Erunno
I was a little bit confused. I thought ##*[id*="sponsor"] was wrong.
It's not ID but CLASS, which cause false positive. I misunderstood that.
Anyway, I tried to reproduce the problem again because one of our contributers
pointed out that the problem happens with JavaScript enabled.
The problem is reproduced with JavaScript. The page dynamically adds some class
attributes, which include "bbccom_slot_storyprintsponsorship".
Now, ##*[class*="sponsor"] has exception as follows to avoid the false positive.
~bbc.co.uk##*[class*="sponsor"]
Thanks again for reporting, Erunno
Best regards,
k2japan
Original comment by k2ja...@gmail.com
on 28 May 2010 at 3:11
Original issue reported on code.google.com by
erunno.o...@googlemail.com
on 27 May 2010 at 7:59