Page 1 of 1

Hiding filter doesn't work on Google Chrome

Posted: Wed May 02, 2012 5:25 pm
by knight00931
I am not sure whether it's a bug of Chrome or not, but adblock for chrome has the same issue:
http://code.google.com/p/adblockforchro ... il?id=6743

Chrome 18.0.1025.168m stable, Win7 x64 enterprise SP1, Adblock Plus for Chrome 1.2

STR:
1.Install adblock, make sure you've subscribed EasyList and ChinaList
2.Go to http://bbs.pcbeta.com/viewthread-457236-1-1.html and http://bbs.pcbeta.com/



http://bbs.pcbeta.com/ :
see http://imgur.com/p0xur.png (Please ignore that adblock button, I just too tried to make another picture)
In ChinaList we use

Code: Select all

bbs.pcbeta.com##.forum_top + div[style]:nth-child(3)
to hide these empty blocks, but doesn't work on Chrome.

Another filter

Code: Select all

##div[style="margin:0 0 10px 0;height:170px;padding-top:10px;border-top:1px solid #cdcdcd;"]
doesn't work either.


http://bbs.pcbeta.com/viewthread-457236-1-1.html :
see http://imgur.com/0iCwQ.png

In ChinaList we use

Code: Select all

bbs.pcbeta.com###diynavtop + .wp
to hide these empty blocks, but doesn't work on Chrome.

Another filter

Code: Select all

##div[style="position:relative;padding:10px;width:980px;height:170px;overflow:hidden;background:#d0dae4;"]
doesn't work either.

Re: Hiding filter doesn't work on Google Chrome

Posted: Sat May 05, 2012 4:36 pm
by lewisje
Try removing spaces where possible (in particular, not inside quoted strings); this means that you should try these two hiding rules instead of the similar-looking ones currently in ChinaList:

Code: Select all

bbs.pcbeta.com##.forum_top+div[style]:nth-child(3)
bbs.pcbeta.com###diynavtop+.wp
Another potential issue is that on Chrome, only CSS3 selectors supported by Chrome will work; however, these selectors (element, class, id, attribute, nth-child, and direct-adjacent) are all supported: https://secure.wikimedia.org/wikipedia/ ... #Selectors

Re: Hiding filter doesn't work on Google Chrome

Posted: Sat May 05, 2012 5:03 pm
by knight00931
lewisje wrote:Try removing spaces where possible
Thanks for replying, but still no help.