Tuesday, December 7, 2010

Block ads in Chrome in Xfce

Of course by now there are a lot of extensions for blocking ads in Chrome (similar to the popular Adblock Plus for Firefox), but a very convenient solution also is to install an HTTP proxy, like privoxy:
sudo apt-get install privoxy

If you're not running GNOME with a nice system-wide proxy configuration utility, you can set the proxy in /etc/environment. This also works in Xfce. Add the following to the file:
http_proxy="http://localhost:8118"

Restart your system and Chrome should be using the proxy. You can also check privoxy's settings by visiting http://config.privoxy.org/.

No comments: