Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# On Windows, install this within C:\Windows\System32\drivers\etc\hosts
##########################################################
# Dee's personal website block list
#
# THINK before you disable these!
##########################################################
# List of things that can't be blocked in the hosts-file, but instead must be blocked via Windows Defender Firewall or some other measure:
# - paperlined.org (because SecureCRT uses the direct IP address)
# - some Google News can still be accessed with something like https://www.google.com/search?q=politics&tbm=nws
#127.0.0.1 evernote.com www.evernote.com
127.0.0.1 amazon.com www.amazon.com
#127.0.0.1 en.wikipedia.org
127.0.0.1 earth.google.com
# ======== social media ========
127.0.0.1 reddit.com www.reddit.com old.reddit.com
127.0.0.1 facebook.com www.facebook.com login.facebook.com blogs.facebook.com apps.facebook.com
# Unfortunately blocking "www.facebook.com" disables profile-pictures within the Windows-native Messenger application (but not messenger.com!),
# but unblocking it permits wide-open use of the Facebook website, even after logging out. So it will have to stay blocked.
127.0.0.1 twitter.com
127.0.0.1 instagram.com www.instagram.com
# ======== news sites ========
127.0.0.1 feedly.com
127.0.0.1 news.google.com
127.0.0.1 nytimes.com www.nytimes.com
127.0.0.1 politico.com www.politico.com
127.0.0.1 washingtonpost.com www.washingtonpost.com
127.0.0.1 vox.com www.vox.com
127.0.0.1 theguardian.com www.theguardian.com
127.0.0.1 theatlantic.com www.theatlantic.com
127.0.0.1 cnn.com www.cnn.com
127.0.0.1 msnbc.com www.msnbc.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment