Hi. I'm jon.404, a Unix/Linux/Database/Openstack/Kubernetes Administrator, AWS/GCP/Azure Engineer, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: *nix.
Die, Ad, die?
Posted 03-15-2013 at 08:21 PM by rocket357
I hate ads. I took it upon myself to start filtering ads via unbound recently, but then my wife (an avid Google Chrome user) started complaining about the incredibly painful eyesore that is Chrome's way of saying "jeez...this piece of the page rejected my connection attempt".
There must be an easier way, right?
Yup. There is.
On an old sparc box, I put nginx. I configured it to serve 404.gif (a transparent gif) on all 404 errors. Oh, did I mention the only file in it's root is 404.gif, so unless you specifically request the transparent gif, you get the transparent gif? I mean, unless you specifically request it, in which case you get...the transparent gif...
Yup. My firewall redirects dns traffic to my unbound instance, and unbound returns the ip of my nginx sparc machine for known ad servers.
The end result? No ads, no Chrome abuse, and less bandwidth across my internet connection.
Eat that, advertisers.
There must be an easier way, right?
Yup. There is.
On an old sparc box, I put nginx. I configured it to serve 404.gif (a transparent gif) on all 404 errors. Oh, did I mention the only file in it's root is 404.gif, so unless you specifically request the transparent gif, you get the transparent gif? I mean, unless you specifically request it, in which case you get...the transparent gif...
Yup. My firewall redirects dns traffic to my unbound instance, and unbound returns the ip of my nginx sparc machine for known ad servers.
The end result? No ads, no Chrome abuse, and less bandwidth across my internet connection.
Eat that, advertisers.
Total Comments 2
Comments
-
Never was a Duke fan.
Posted 03-15-2013 at 08:59 PM by VRV -
Duke?
Posted 03-15-2013 at 09:53 PM by rocket357