Aaron N. Tubbs bio photo

Aaron N. Tubbs

Dragon chaser.

Twitter Facebook Google+ LinkedIn Github

I came across a lovely hack today for firefox … one of those things that should have been obvious, but nobody thinks of. The basic idea is modifying the chrome userContent.css with an imported css file that is updated to get rid of advertisements that adblock isn’t built to handle (suck as google’s adverts in their search results). To cut to the chase, you would just hack up your userContent.css (creating one if you don’t have one already), to include @import url("http://adblock.f2g.net/sites.css");.

Most likely you’re not going to care a lot about all of the crap in this filter set, nor will you really want firefox to have to go and retrieve this every time you load, so it may make more sense to just edit your own imported file (or just code it into userContent.css direct), but the idea makes perfect sense.