by foepys · 3y ago · 0 comments
Firefox is the only browser where uBlock Origin is actually working as intended, Chrome on the other hand (even in manifest v2) is blocking so many features that uBO isn't actually able to work as a privacy and anti-malware tool. CNAME uncloaking is essential because websites can counter any filter rule by just aliasing the Google Analytics domain but Chrome doesn't have an API for that. Instead you need a gigantic list of filter rules, one for each domain, making loading web pages slower.
uBO is even slower in Chrome because Chrome doesn't allow extensions to use wasm.
https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...
>Chrome doesn't have an API for that.
It rolled out a year ago.
https://bugs.chromium.org/p/chromium/issues/detail?id=115104...
>Chrome because Chrome doesn't allow extensions to use wasm.
Chrome doesn't allow loading remote web assembly in mv3 extentions. You can't run remote javascript either. It's fine if you bundle the wasm with your extension.
When Google says "remote" they really mean "remote to Google". You cant execute any of your own code from local drive, everything must be controlled by Google.
By not using recursive DNS, including open resolvers or other third party DNS providers, I avoid this problem. I do not need to maintain a list of domains to block,^1 I only need to maintain a list of domains for hosts that I actually want to access. I do not even make remote DNS lookups because generally I already have the DNS data stored (gathered in bulk beforehand), so the web becomes faster, not slower. One of the requirements for the web to suck the way it does, and for so-called "tech" companies to proliferate by collecting data and selling ad services, is that the web browser and webpages must be give free reign to resolve any domain name. IME over nearly 20 years of controlling own DNS, restricting that ability makes the web instantly readable, even so-called "dumpster fire" webpages.
1. AFAICT no one actually does this anyway. They delegate the task to third parties, "blocklist" maintainers.
https://chrome.google.com/webstore/detail/ublock-origin-lite...
EDIT: Discussion from 6 months ago
https://github.com/brave/adblock-rust
but you will only have it built-in in Brave currently.