Hacker News new | ask | show | jobs
by mfo 3679 days ago
I just want to say "Privacy matters, thanks you" (even more when FB decided to leverage their like/share button for a global ad netwotk) :-) non tech saavy guys may love a simple .sh / .bat to automatically add those entries to the /etc/hosts on windows & unix
4 comments

Telling "non tech saavy guys" to pipe URLs into their shell (or hosts file in this instance) is a pretty bad idea. You're training them to engage in risky behaviour and be even more gullible.

    curl https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all | sudo tee -a /etc/hosts
Data straight from the net into a system file as root...

You are a bad, bad man Mr Rochacon.

Not sure if this list is included here, but here's something a friend has used:

https://github.com/StevenBlack/hosts

All you have to do is copy/paste that into the file using any text editor.