Hiding filter doesn't work on Google Chrome

Posting here is no longer possible, please use the corresponding product forum.
Locked
knight00931
Posts: 62
Joined: Fri Aug 27, 2010 5:53 am
Location: Taiwan

Hiding filter doesn't work on Google Chrome

Post 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.
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Hiding filter doesn't work on Google Chrome

Post 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
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
knight00931
Posts: 62
Joined: Fri Aug 27, 2010 5:53 am
Location: Taiwan

Re: Hiding filter doesn't work on Google Chrome

Post by knight00931 »

lewisje wrote:Try removing spaces where possible
Thanks for replying, but still no help.
Locked