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.)

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

{ +filter{div-ads} }

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

Info lifted from here.


One Comment

  1. mat
    Posted December 11, 2009 at 12:24 pm | Permalink | Reply

    Fantastic !!
    Thanks for sharing it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: