Hacker News new | ask | show | jobs
by forgotpwtomain 3269 days ago
Interesting comment by Gorhill from the above discussion:

>> I thought web extensions couldn't block that content.

> I just ran a couple of tests, and I believe you are correct.

> Legacy uBlock Origin can block the network request to GA.

> However webext-hybrid uBO as per Network pane in dev tools does not block it. Same for pure webext Ghostery, the network request to GA was not blocked, again as per Network pane in dev tools.

> What is concerning is that both uBO webext-hybrid and Ghostery report the network request to GA as being blocked, while it is really not as per Network pane in dev tools. It's as if the order to block/redirect the network request was silently ignored by the webRequest API, and this causes webext-based blockers to incorrectly and misleadingly report to users what is really happening internally, GA was not really blocked on about:addons, but there is no way for the webext blockers to know this and report properly to users.

> This is what I have observed, hopefully this can be confirmed by others.

1 comments

Sounds like a bug to be filed. I'd encourage people to try the webext versions of those add-ons so we can catch things like this in time for 57.
I installed the latest Firefox Aurora (55.08b), latest uBlock0.webext.xpi and a MITM proxy.

uBlock WebExt does not block GA.

I added a specific filter for the GA domain, but still uBlock failed to block again.

Unrelated, I noticed Firefox also made a connection to aus5.mozilla.org which sets cookies named _ga and _gid.

Doesn't block it generally, or doesn't block it for the "Get Add-ons" page?

The latter is expected. The former isn't. In any case you should report this to the author, not here.

How do I get the webextension version of uBO?