1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-01 02:02:29 +02:00

URL updates / errors noted as needed, ABP naming convention, grammar / rewording fixes, consistency with other wiki pages rewording

q1800 2022-04-12 22:02:43 -05:00
parent a81ea3ee4f
commit 6ed20ca781

@ -1,29 +1,29 @@
Just a page to collect my counterarguments when I spot something which I believe deserve countering.
This page is just a place for me to collect my counterarguments when I spot something which I believe deserves 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](./Who-cares-about-efficiency,-I-have-8-GB-and%7Cor-a-quad-core-CPU).
I heard this argument from apologists of bloated software frequently. I decided to give the counterargument a [dedicated page](./Who-cares-about-efficiency,-I-have-8-GB-and%7Cor-a-quad-core-CPU).
#### 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 Lowes Ad server list"_ is enabled out of the box.
uBlock Origin (uBO) supports the parsing/enforcing of hosts files and ships with a couple. One of them, _"Peter Lowes Ad server list"_, is enabled by default.
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.
Using a hosts file at the OS level rather than the uBO level is the better solution for lists of malware domains since these malware-linked domains would be blocked system-wide, 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](http://en.wikipedia.org/wiki/Hosts_(file)) at OS level.**
However, for lists of domains linked to ad servers, trackers, analytics, etc., this is not a good solution: **You can not easily un-break web pages with a [hosts file](https://en.wikipedia.org/wiki/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.
With the hosts file under the control of uBO, it is possible to un-break websites. A user can disable uBO for the website that breaks or create an exception filter to counter the blocking of a specific hostname appearing in a hosts file.
Many of the exception filters in [_"uBlock filters"_](https://github.com/gorhill/uBlock/blob/master/assets/ublock/filters.txt) are actually exception filters to counter entries in the hosts files shipped with uBO.
Many of the exception filters in [_"uBlock filters"_](https://github.com/gorhill/uBlock/blob/master/assets/ublock/filters.txt) are 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 want the project to be committed to fully supporting the hosts files that ship with uBO. Report any issues from using these, and the appropriate exception filters will get created.
I personally use all of these hosts files, and so far not much breakage.
I use all of these hosts files, and so far not been much breakage.
#### uBO is a fork of Adblock Plus code
#### uBO is a fork of Adblock Plus (ABP) 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](https://github.com/gorhill/uBlock/blob/master/js/element-picker.js#L27) [CSS.escape](http://mths.be/cssescape) from Mathias Bynens (because Chromium doesn't support yet [CSS.escape](https://developer.mozilla.org/en-US/docs/Web/API/CSS.escape)).
No. The code is wholly original and written from scratch. There are very few places I borrowed code from elsewhere, and these have identification. For example, for the element picker, I [embedded](https://github.com/gorhill/uBlock/blob/master/js/element-picker.js#L27) [CSS.escape](https://github.com/mathiasbynens/CSS.escape) from Mathias Bynens (because Chromium does not support yet [CSS.escape](https://developer.mozilla.org/en-US/docs/Web/API/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](https://bitbucket.org/adstomper/adblockedge/diff/lib/filterClasses.js?diff1=f89367e6ddc7&diff2=a642b932365d9521042cf8fec56089caca496a7d&at=default) is a diff of a code change for Adblock Edge, and [here](https://github.com/adblockplus/adblockplus/commit/384cb64c6d3c2aa698b5f15c9d8aaefd22c889aa#diff-3) is the same exact diff for Adblock Plus. The timestamps shows that Adblock Edge pulled code changes from the Adblock Plus project.
No, it is not. Adblock Edge is like ABP but without the _"Acceptable ads"_ exception filters out of the box. See for yourself: ~~[here](https://bitbucket.org/adstomper/adblockedge/diff/lib/filterClasses.js?diff1=f89367e6ddc7&diff2=a642b932365d9521042cf8fec56089caca496a7d&at=default)~~ [HTTP Error 404: Not Found] - Updated 4/12/2022 is a diff of a code change for Adblock Edge, and [here](https://github.com/adblockplus/adblockplus/commit/384cb64c6d3c2aa698b5f15c9d8aaefd22c889aa#diff-3) is the same exact diff for ABP. The timestamps show that Adblock Edge pulled code changes from the ABP project.