uBlock Origin 1.48 adds readiness status, code viewer, and other fixes
github.com
github.com
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
Besides, I really don't care how fast it it when displaying ads and tracking me. I'd prefer not to see them, thank you very much.
https://github.com/brave/adblock-rust
but you will only have it built-in in Brave currently.
Not really detecting it, but avoiding useful usage at first moment
When you navigate to another page, it will sometimes get the host for a web request wrong, causing it to apply the wrong rules for that request. This can cause you to lose your login cookies. And since uMatrix has been discontinued, so there's no more central repository to collect bug fixes.
A fork is available called nuTensor which does resolve the cookie clearing problem, but I often see hosts that are not part of the current page (they were from the page I was previously viewing) appearing on the grid.
Huh, so that was why that was randomly happening. Sigh, I totally understand gorhill not wanting to have to support another overlapping tool, but uMatrix is unparalleled for visualizing the sheer mass of privacy vampirism on the modern Web. I've learned a lot from using it on sites, and am now kind of a cottage expert on CDNs thanks to determining the minimum whitelisting to get a site's basic functionality to run.
the simple improvement in internet speed is well worth it, even though i do too have a pihole running.
Sometimes when i visits friends i barely recognize sites that i use frequently.
Thank you, gorhill.
A browser-based blocker is able to block ads served by the same domain as the content you actually want, without blocking said content. They are also able to apply fixes to pages that break or have bad layouts when ads fail to load in.
UBO also blocks harmful elements inside of a page, not just page loads. I've used it to automatically remove the annoying paywalls that are just an element over the text I want to read.
AdGuard is basically pi-hole, just with different pre-configured filter lists and especially child and parental control settings. IIRC, some services can also be blocked there directly, Instagram for example.
> If syncing is enabled, the data is synced to any Chrome browser that the user is logged into. If disabled, it behaves like storage.local. When the browser is offline, Chrome stores the data locally and resumes syncing when it's back online. The quota limitation is 100 KB approx, 8 KB per item. Consider using it to preserve user settings across synced browsers.
https://developer.chrome.com/docs/extensions/reference/stora...
* * *
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
I am saddened that I do not know how to best express my gratitude towards gorhill, and the filter list maintainers, for their incredibly valuable, tireless work, so "Thank you, so, so much!" will have to do here.
It's only thanks to uBlock Origin, I believe, that my parents (of rather old age) are able to make positive use of the Internet. A world without uBlock Origin would see them drowning in an onslaught of noise, attacks, flashing attention-grabbing spam, none of which improves the quality of their lives.
So, thank you, thank very very much, gorhill, and the filter list maintainers!
https://github.com/gorhill/uBlock/wiki/Why-don%27t-you-accep...
Also, a common cause of such anti-blocker walls is the use of other content blockers beside uBO, as this often breaks uBO's own anti-blocker mechanisms -- we often resolve such issues by asking people to disable other content blockers.
I was hoping uBO would eventually get a dedicated feature like that, I don't think it's possible with filters. I tried pretty hard. I think knowing anyone could decide to completely erase a domain from their entire internet experience, down to the link level, would motivate sites not to do stupid things like this.
We constantly create filters for detection issues[1]. Filter list maintainers have a lot of experience on how to work around such issues, with solutions that are often not obvious to people that are less familiar with filtering capabilities and syntax. The only way to know for sure whether it can be addressed is by reporting it.
* * *
[1] https://github.com/uBlockOrigin/uAssets/issues?q=is%3Aissue+...
Does it just strip out the <a> tag?
The source [2] is available too.
The actual idea of the extension is "Style stuff using regular expressions". So you specify a regex; what to search, attributes and/or text (text can cause a lot of undesired results so I don't use it much); and css styles to add to the elements containing matches. I only really use it to apply visibility: hidden to any element with an attribute matching one big regex that's basically just a bunch of domains regex |'d together. The example in the options UI is what I'm still using years later, I've just added more domains.
EDIT: I just realize the example has "searchText" set to true, you'll probably want to set that to false.
To give you some idea of how user unfriendly it is, configuration is JSON in a textarea and the regexs are defined in a string in that JSON, necessitating the use of many backslashes for escaping from both regex and strings. It's basically brainfuck :)
I originally started with just taking out tags but that idea was quickly shot down. Lots of links aren't <a> tags. Sometimes the domain being linked to is buried in some JS in a onX event attribute, or some data-* attr that the UI framework uses and a bunch of other oddities. So the code searches all attrs. It's not super efficient but I've never noticed it causing a slow down.
Another problem is, often, the original request doesn't even contain the links, they're loaded after. So it uses a MutationObserver and looks at the new elements for matches.
[1] https://addons.mozilla.org/en-US/firefox/addon/ssure/
[2] https://github.com/7w0/ssure/blob/master/content/content.js
Them opening a Patreon and you patronizing them would work great. And ensure the continuity of the project.
I wish I could repay in some way the happiness this extension is bringing me though
var internetSafety = -10;
internetSafety += windows ? -5 : 3;
internetSafety += uBO ? 4 : -9;
internetSafety += uMatrix ? 13 : -99;
https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-qu...
OpenWrt has Ad blocking capabilities built-in.
Of course the other thing that's been happening is that most of it isn't "reading the internet" anymore; it's all watching short-form videos (also laced with ads).
"...whenever a website doesn't work for any reason I get an earfull about my 'damn adblocker'..."
Really easy to setup once you have homebridge itself running. Just enter in your Pi-hole api key and add it to HomeKit.
"I like the ads." - Wife
For example, go to https://community.ee.co.uk/t5/My-EE-app-and-website/EE-Site-... and search for "Adblocker" in this page. You will find a story where their mobile service provider blacklisted their IP because they clicked on a button on the website while their adblocker was enabled.
Exactly the same thing happened to me with the same mobile service provider except that I was using uBlock origin when my mobile service provider blacklisted my IP.
Bank websites sometimes breaking in the presence of an adblocker is a common occurrence in many parts of the world.
You live in one geography and you visit websites that you need in your life. Do not assume everyone else is having the same experience as you. Websites breaking in the presence of adblockers is a real thing that sometimes makes us hesitate to install it on the browsers of our friends and family who may not be as tech savvy as we are.
I still install uBlock Origin on most of my friends computers, but make sure they know to open any sites that break in a private tab.
The default rules probably won't cause issues, but you'll still see a lot of ads. As you optimize these away, things start breaking
As someone who has sat in front of a computer daily for nearly 30 years, this really hit me.
I am REALLY good at maintaining a no-ad/no-spam experience for my self with high-density-information content, that I almost never see ads.
My viewing is clean, I have never been accidentally rick-rolled, I have never seen TG1C, TubGirl, etc... no Ogrish or other crap...
I am my own 'curator'
-
But yeah - if you dont take time to set mental-health-boundaries against the internet - then the internet is the same as the experiments when they just plugged in a machine (win98? xp? cant reacall) - pwnd in matter of minutes.
Thats the same as your mind.
put mental firewalls up.
Be open to positive content, but destroy negative impacts on your mental health with impunity.
and this is far improved my experience. it makes me sad that people arent/cant get these articles and have this other rage-bait experience, but I’m glad I opted out of that crap
and there's an experience beyond archive.is
moving on
not sure what has archive.is to do with extensions I mentioned
uBlock Origin is the good one
gorhill created uBlock.
After some amount of time gorhill found that the uBlock project was taking up too much of his time.
gorhill handed over the uBlock project to someone else.
That other person or other group of people took the uBlock project in a direction that gorhill did not agree with.
gorhill decided that because of this, he should continue to maintain a version of uBlock.
Thus was born uBlock Origin.
Yes you can, and GH sets up an automatic redirect from the old name to the new name (as long as you don't create a new repo with the old name).
Being a volunteer filter list maintainer is a thankless and time-consuming task, and when I myself investigate filter issues, I repeatedly have to go through the same steps which is looking at the source code of pages and JS resources, which most often are minified, and it's also difficult to navigate between the different resources back and forth. If you want to understand the benefits, I suggest you regularly try to contribute to filter lists.[1]
* * *