Monthly Archives: November 2009

Blocking some DIV ad boxes with Privoxy

If you want to block one of those shiny-ass ads (think workplace sanitation), here’s a few simple one-liners. (Everything’s in /etc/privoxy.)

user.filter:
FILTER: div-ads DIV ad blocks.
s/<div id="banner_box"/<div id="crap" style="display:none;"/g

user.action:
{ +filter{div-ads} }
.

Don’t forget to uncomment that actionsfile user.action from your config file.

Info lifted from here.

Advertisements