-
Notifications
You must be signed in to change notification settings - Fork 82
Block more, way more
uBlock Origin can parse and enforce hosts files. For instance, out-of-the-box, uBlock supports Peter Lowe’s Ad server list which contains the hostnames of over 2,400 ad servers.
But there is an interesting hosts file available which is not enabled by default out-of-the-box: hpHosts ad/tracking servers list. This list contains over 20,000 hostnames linked to ad servers, trackers, and other such nuisances.
I have been using this list for days now, and I really do not see many issues, i.e. numerous unexpected web site "breakage".
I cannot select this list by default for new installs, since I have no idea yet of its likelihood of "breaking" web pages. But you may want to give it a try, adding an extra 20,000 ad servers to the filtering engine surely is of help. See results of this benchmark below to compare using hpHosts ad/tracking servers vs out-of-the-box default lists (remember, figures are what was not blocked, thus the lower the numbers the better).
With hpHosts ad/tracking servers:
- Domains: 219 / 220
- Hosts: 347 / 564
- Scripts: 558 / 832
- Outbound cookies: 36 / 158
- Net requests: 2,329 / 4,864
Without hpHosts ad/tracking servers (out-of-the-box settings):
- Domains: 243 / 244
- Hosts: 393 / 612
- Scripts: 596 / 871
- Outbound cookies: 48 / 175
- Net requests: 2,513 / 5,099
For reference, Adblock Plus with EasyList, EasyPrivacy and Malware protection enabled ("Acceptable ads" disabled):
- Domains: 250 / 251
- Hosts: 401 / 619
- Scripts: 613 / 894
- Outbound cookies: 45 / 183
- Net requests: 2,505 / 5,106
Eventually, if more users try the hpHosts ad/tracking servers list, and report any and all issues with it, we can create the appropriate exception filters to prevent web page breakages, and then it might become feasible to enable it out of the box.
For instance, the recent hacking of Reuters through the Taboola content delivery network would have left you unaffected if you were using this list, as hpHosts ad/tracking servers does contain the hostname cdn.taboola.com
, which is from where the compromised javascript file was downloaded.
So if you wish to help in making it possible to enable this list out of the box, try it, and report any breakage (after verifying the same breakage doesn't occur when the list is disabled) in issue #17.
uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.
- Wiki home
- About the Wiki documentation
- Permissions
- Privacy policy
- Info:
- The toolbar icon
- The popup user interface
- The context menu
-
Dashboard
- Settings pane
- Filter lists pane
- My filters pane
- My rules pane
- Trusted sites pane
- Keyboard shortcuts
- The logger
- Element picker
- Element zapper
-
Blocking mode
- Very easy mode
- Easy mode (default)
- Medium mode (optimal for advanced users)
- Hard mode
- Nightmare mode
- Strict blocking
- Few words about re-design of uBO's user interface
- Reference answers to various topics seen in the wild
- Overview of uBlock's network filtering engine
- uBlock's blocking and protection effectiveness:
- uBlock's resource usage and efficiency:
- Memory footprint: what happens inside uBlock after installation
- uBlock vs. ABP: efficiency compared
- Counterpoint: Who cares about efficiency, I have 8 GB RAM and|or a quad core CPU
- Debunking "uBlock Origin is less efficient than Adguard" claims
- Myth: uBlock consumes over 80MB
- Myth: uBlock is just slightly less resource intensive than Adblock Plus
- Myth: uBlock consumes several or several dozen GB of RAM
- Various videos showing side by side comparison of the load speed of complex sites
- Own memory usage: benchmarks over time
- Contributed memory usage: benchmarks over time
- Can uBO crash a browser?
- Tools, tests
- Deploying uBlock Origin
- Proposal for integration/unit testing
- uBlock Origin Core (Node.js):
- Troubleshooting:
- Good external guides:
- Scientific papers