Can't block CSS files in Chrome?

Everything about using Adblock Plus on Google Chrome
Post Reply
telemetry

Can't block CSS files in Chrome?

Post by telemetry »

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?

Post by telemetry »

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
ttjoseph
Posts: 79
Joined: Sat Dec 04, 2010 4:12 am

Re: Can't block CSS files in Chrome?

Post by ttjoseph »

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
telemetry

Re: Can't block CSS files in Chrome?

Post by telemetry »

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
Sleepy
Posts: 1
Joined: Sun Jan 16, 2011 2:45 pm
Contact:

Re: Can't block CSS files in Chrome?

Post by Sleepy »

Thanks, had the same issue.
Post Reply