3 ms·
Though hosts files can be fed to uBlock Origin ("uBO"), it will enforce their content differently. With uBO, a "facebook.com" entry in a hosts file will also c
by gorhill 10y ago
Though hosts files can be fed to uBlock Origin ("uBO"), it will enforce their content differently.
With uBO, a "facebook.com" entry in a hosts file will also cause all subdomains of "facebook.com" to also be blocked, so there is no need to list all subdomains as is done here if the goal is to block "facebook.com" with uBO.
If one wants to block Facebook via uBO, I personally advise to do it through dynamic filtering[1]. This way one can always point-and-click to create exceptions on a per-site basis.
[1] https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-to-easily-reduce-privacy-exposure https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-to...
- cheiVia0 10y agoWell, if my goal is to block all of Facebook's domains, I wouldn't complain if uBO happens also to block new.sub.domain.fbcdn.net even if it's not in the hosts file :) Does uBO optimize these cases, though? E.g. if there's "apps.facebook.com", "connect.facebook.net" and plain "facebook.com", does it collapse to just 1 filter (facebook.com)? I see it says "880 used out of 881" which is the number of entries in the file.