I block ads using the following with any applications (particularly browsers without adding adblock plus). Copy and save the following script as ultimate-adblocker.sh and chmod+x ultimate-adblocker.sh and then do ./ultimate-adblocker.sh
Code: Select all
#!/bin/sh
groupadd -g 206 privoxy
useradd -u 206 -g privoxy -d /dev/null -s /bin/false privoxy
slapt-src -i privoxy
wget http://andrwe.org/doku.php/scripting/bash/privoxy-blocklist?do=export_code&codeblock=0
chmod +x privoxy-blocklist.sh
./privoxy-blocklist.sh
And create a crontab to executie privoxy-blocklist.sh periodically. And do not forget to change the port from 8181 to something else if you are using tor+polipo (also runs in port 8118).
For chromium, you can do something like this:
Code: Select all
chromium --proxy-server=127.0.0.1:8118
Hope it is helpful.