Difference between revisions of "Block ads"

From Finninday
Jump to: navigation, search
Line 29: Line 29:
 
maybe something like this
 
maybe something like this
 
http://ralf.schaeftlein.de/2013/07/07/ad-block-with-squid3-and-quintolabs-instead-of-adblock-plus/
 
http://ralf.schaeftlein.de/2013/07/07/ad-block-with-squid3-and-quintolabs-instead-of-adblock-plus/
 +
 +
Eh, I don't like qlproxy much, so I'll just try using squid, apache, and iptables to make a transparent proxy, since I have all those components installed already.

Revision as of 00:06, 14 November 2014

block ads

via /etc/hosts

I push this out via puppet to linux machins:

# blacklist ad servers
127.0.0.1 static.doubleclick.net
127.0.0.1 sharing.wane.com
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 showads.pubmatic.com
127.0.0.1 www.googleadservices.com
127.0.0.1 ad.doubleclick.net
127.0.0.1 ct1.addthis.com
127.0.0.1 liveviewer.ez.no
127.0.0.1 s7.addthis.com
127.0.0.1 www.googletagmanager.com
127.0.0.1 www.google-analytics.com
127.0.0.1 analytics.spongecell.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 a.adroll.com
127.0.0.1 cdn.atdmt.com

youtube ads on android

should I just install an android ad blocker app? Nah, I don't want to manage every device on the network.

proxy with ad blocking

maybe something like this http://ralf.schaeftlein.de/2013/07/07/ad-block-with-squid3-and-quintolabs-instead-of-adblock-plus/

Eh, I don't like qlproxy much, so I'll just try using squid, apache, and iptables to make a transparent proxy, since I have all those components installed already.