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
Blocklist of all Facebook domains
61–70 of 152 posts
Re: Blocklist of all Facebook domains
#62Alternatively you can use Adblock to block it. https://secure.fanboy.co.nz/fanboy-antifacebook.txt Disclaimer, list Author.
Your list blocks fewer things, though.
Re: Blocklist of all Facebook domains
#63Re: Blocklist of all Facebook domains
#64Earlier quoted context omitted.
Your list blocks fewer things, though.
When a site adds Facebook it's using connect.facebook.* the main bulk of the list is just whitelists for Facebook users (first-party). The hosts file will break all of Facebook even if you visit it directly. The better option is to just block Facebook outside of Facebook.
Just my humble opinion.
Re: Blocklist of all Facebook domains
#65For this, you can run dnsmasq and use the "--address" option or "address" command in dnsmasq.conf:
$ man dnsmasq
[...]
-A, --address=//[domain/]
Specify an IP address to return for any host in the given
domains. Queries in the domains are never forwarded and always
replied to with the specified IP address which may be IPv4 or
IPv6. To give both IPv4 and IPv6 addresses for a domain, use
repeated -A flags. Note that /etc/hosts and DHCP leases over‐
ride this for individual names. A common use of this is to redi‐
rect the entire doubleclick.net domain to some friendly local
web server to avoid banner ads. The domain specification works
in the same was as for --server, with the additional facility
that /#/ matches any domain. Thus --address=/#/1.2.3.4 will
always return 1.2.3.4 for any query not answered from /etc/hosts
or DHCP and not sent to an upstream nameserver by a more spe‐
cific --server directive.Re: Blocklist of all Facebook domains
#66Re: Blocklist of all Facebook domains
#67Isn't Ghostery a better solution for something like this? If we are talking about browsers that is.
Re: Blocklist of all Facebook domains
#68Earlier quoted context omitted.
I'm guessing some sort of crude malware tried to MitM Facebook logins so they started cleaning host files?
Microsoft was an investor in Facebook, http://whoownsfacebook.com and they are planning an undersea cable between the US and Europe that will only be used by the two companies.
Re: Blocklist of all Facebook domains
#69Any idea of an easy/quick way to toggle these edits on/off on Ubuntu?
I've put them in my host file and created an alias that switches between naming the host-file "hosts" (which will be recognized by the OS) and hostx. from my .zshrc: #block Twitter, Facebook, reddit and Linkedin. alias on="sudo mv /etc/hostx /etc/hosts" alias off="sudo mv /etc/hosts /etc/hostx"
Re: Blocklist of all Facebook domains
#70I 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