Skip to content
q1800 edited this page Feb 12, 2022 · 30 revisions

Just a page to collect my counterarguments when I spot something which I believe deserve countering.

Who cares about efficiency, I have 8 GB

I heard this argument so often from apologists of bloated software that I decided to give the counterargument its own page.

Just use a hosts file

uBlock Origin (uBO) supports the parsing/enforcing of hosts files, and ships with a couple of them. One of them, "Peter Lowe’s Ad server list" is enabled out of the box.

Using a hosts file at OS level rather than uBO level is definitely the better solution for lists of malware domain, since these malware-linked domains would be blocked system-wide at OS level, and all applications would benefit from it.

However, for lists of domain linked to ad servers, trackers, analytics, etc., this is not a good solution: You can't easily un-break web pages with a hosts file at OS level.

With hosts file under control of uBO, it is possible to un-break web sites: a user can just disable uBO for the web site which breaks, or an exception filter can be created to counter the blocking of a specific hostname appearing in a hosts file.

Many of the exception filters in "uBlock filters" are actually exception filters to counter entries in the hosts files shipped with uBO.

I want the project to be committed to fully support the hosts files which ship with uBO, i.e. report any issues arising from using these, and appropriate exception filters will be created.

I personally use all of these hosts files, and so far not much breakage.

uBO is a fork of Adblock Plus code

No. Code is wholly original, it was written from scratch. There are a very few places I borrowed code from elsewhere, and this is clearly identified. For example, for the element picker, I embedded CSS.escape from Mathias Bynens (because Chromium doesn't support yet CSS.escape).

Adblock Edge is as light as uBO

No it's not. Adblock Edge is like Adblock Plus, except that notably it doesn't have the "Acceptable ads" exception filters out of the box. See for yourself: here is a diff of a code change for Adblock Edge, and here is the same exact diff for Adblock Plus. The timestamps shows that Adblock Edge pulled code changes from the Adblock Plus project.

Clone this wiki locally