Can't block CSS files in Chrome?

Everything about using Adblock Plus on Google Chrome

Can't block CSS files in Chrome?

Postby telemetry » Wed Jan 12, 2011 9:26 pm

Hi there - since AdThwart switched over to AdBlock+ on the Chrome browser, my user filters to block CSS files don't seem to do anything at all. If I add
Code: Select all
adblockplus.org/forum/styles/prosilver/theme/stylesheet_merged.css

to my user filters, nothing happens - this forum renders as usual. The same thing happens with the full URL, wildcards like '*.css' or even just 'css'. Am I missing something, shouldn't the full URL be enough to block it? It worked perfectly in AdThwart so I'm not sure what's happening now
telemetry
 

Re: Can't block CSS files in Chrome?

Postby telemetry » Thu Jan 13, 2011 12:12 am

Sorry I should have specified, I'm on the beta channel of Chrome (9.0.597.47) and I'm currently using version 1.0.25 of ABP
telemetry
 

Re: Can't block CSS files in Chrome?

Postby ttjoseph » Thu Jan 13, 2011 4:55 am

This is because AdThwart actually removed page elements while ABPC only disables them. The problem with AdThwart's approach was that it broke some pages. To fix this problem in ABPC, I added a little code to actually disable LINK tags when the (presumably stylesheet) URL matches a filter:

https://hg.adblockplus.org/adblockplusc ... 24f2912dfb
ttjoseph
 
Posts: 79
Joined: Sat Dec 04, 2010 5:12 am

Re: Can't block CSS files in Chrome?

Postby telemetry » Thu Jan 13, 2011 4:29 pm

Ahh great, that works perfectly - thanks! I know a few people who've had this issue so they'll be happy too :) And thanks for the quick response
telemetry
 

Re: Can't block CSS files in Chrome?

Postby Sleepy » Sun Jan 16, 2011 5:11 pm

Thanks, had the same issue.
Sleepy
 
Posts: 1
Joined: Sun Jan 16, 2011 3:45 pm


Return to Adblock Plus for Chrome support

Who is online

Users browsing this forum: No registered users and 10 guests