<a href="http:&#x2F;&#x2F;shinnok.com&#x2F;rants&#x2F;2015&#x2F;04&#x2F;05&#x2F;blocking-ads-and-trackers-using-hosts&#x2F;" rel="nofollow">http:&#x2F;&#x2F;shinnok.com&#x2F;rants&#x2F;2015&#x2F;04&#x2F;05&#x2F;blocking-ads-and-tracker...</a><p>I&#x27;ve been using this simple script on OS X for quite some time now. It works like a charm and is using git for that exact reason, to be able to quickly disable&#x2F;enable and also keep track of exceptions, changes, etc.