Skip to content

Instantly share code, notes, and snippets.

@DeeNewcum
Last active November 9, 2023 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeeNewcum/7edc80736cfd3eff8900e8cd0a49816c to your computer and use it in GitHub Desktop.
Save DeeNewcum/7edc80736cfd3eff8900e8cd0a49816c to your computer and use it in GitHub Desktop.
# 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
# FOR FIREFOX, you must disable DoH (DNS over HTTPS) for this to work.
# https://support.mozilla.org/en-US/kb/dns-over-https
#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
127.0.0.1 youtube.com www.youtube.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment