-
Notifications
You must be signed in to change notification settings - Fork 3.2k
About "This other extension reports more stuff blocked!"
TL;DR: Do not rely on the number shown over an extension badge to judge blocking power to assess how well your privacy is protected. Doing so would fool you big time.
For both Adblock Plus (ABP) and uBlock Origin (uBO) (and many other such extensions), the badge on the icon reports the number of net requests blocked by the extension.
Sometimes one extension can report more stuff blocked than the other on the same page, while the reality could be the opposite.
The fewer the extension blocks, the higher the number of network requests. The higher the number of these, the more likely some will need to be blocked. Occasionally you end up with more network requests blocked, as shown by the badge, while internally, additional network requests were allowed for the web page.
For me, it's ultimately the benchmarks I run to report blocking power that tells the real story. The badge is not a good way to assess the blocking ability of an extension, as you could conclude the opposite of what is happening.
If you don't want to run a benchmark, I have this little online tool with which you can find out the requests which were not prevented from leaving your browser. Use it by opening the dev console for the page you want a report from and going to the Network tab. Edit: since then, I have created uBO-Scope, an extension whose purpose is to inform you about what was not blocked.
Clear the browser cache by right-clicking somewhere in the Network tab console. Force a reload of the web page. Right-click in the Network tab console and select "Copy all as HAR". Paste the result in the text area on this online tool, and click Parse. It will show the hostnames that were hit by the browser for the particular page you loaded.
For example, for the front page of https://www.cnet.com/
, uBO shows ten requests blocked, while ABP shows sixteen requests blocked (both have a lot of filter lists). Here is what happened internally:
Remote servers reached:
ABP:
- dw.cbsi.com
- cnet3.cbsistatic.com
- cnet4.cbsistatic.com
- fonts.cnet.com
- urs.cnet.com
- www.cnet.com
- 1ab45d4854fe036a37ff-6643978b1699ef52a80b7f45a7bcfe3d.r85.cf2.rackcdn.com
- www.googletagservices.com
- zor.livefyre.com
- platform.twitter.com
- s.yimg.com
- dw.cbsimg.net
- geo.query.yahoo.com
uBO:
- dw.cbsi.com
- cnet3.cbsistatic.com
- cnet4.cbsistatic.com
- fonts.cnet.com
- urs.cnet.comg
- www.cnet.com
uBO caused the browser to hit far fewer remote servers. Meaning it blocked more, yet its badge displayed a lower number of requests blocked.
So the point is, do not rely on the badge to judge blocking power to assess how well your privacy is protected. Doing so would fool you big time.
On the other hand, blocking too much may "break" some aspects of a website, so in the end, as long as you understand what is happening under the hood, you can make informed choices.
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