Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamhrv/d6518bf25cad51f9148bac450249f6b3 to your computer and use it in GitHub Desktop.
Save adamhrv/d6518bf25cad51f9148bac450249f6b3 to your computer and use it in GitHub Desktop.
adadvisor.net
adnxs.com
btrll.com
casalemedia.com
demdex.net
doubleclick.net
everesttech.net
liverail.com
mixpanel.com
mxpnl.com
newrelic.com
nexac.com
nr-data.net
openx.net
pubmatic.com
rfihub.com
rfihub.net
rlcdn.com
ru4.com
rubiconproject.com
tapad.com
tubemogul.com
walkme.com
@adamhrv
Copy link
Author

adamhrv commented Apr 21, 2016

# Block list of URLs for OSX from line-delimited text file
# This script will append the list of URLs to your /etc/hosts file and redirect it to your localhost (127.0.0.1)
sudo -s
# Uncomment next line to make a backup of your hosts file first
# cp /etc/hosts /etc/hosts.bkup.adblockers
cat this-file.txt | awk '{print "127.0.0.1\t"$0}' >> /etc/hosts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment