So you want to block Facebook?!

Tracking, ads, data fetching and general connections you can go without. Removing the large list of known Facebook endpoints that can connect to your request will be refreshing.

Thanks to and lcherone with this Gist adding the following domains to your hosts file will stop Facebook from being able to interact with you online.

Given the amount of Facebook subdomains this list has you can see pretty clearly that Facebook has its sights on your data and ads. The list is huge!

Just add them into your hosts file which can be found at C:\Windows\System32\drivers\etc

Do note if you actually use Facebook this will interrupt that.

The list is this: