9 ms·
What's funny is that extensions were supposed to be a way to let you do the things the browser didn't want you to do. Guess that was a bit too much freedom for
by avaer 2mo ago
What's funny is that extensions were supposed to be a way to let you do the things the browser didn't want you to do. Guess that was a bit too much freedom for Google to accept, so they had to make a store with a gate, and destroy the APIs so that they're useless. Then they had to make up some reasons to justify that and ram it through the pipeline despite everyone's objections, and the frog got boiled.
Now we're back to needing an actual extension system that does what extensions were supposed to do in the first place.
- matheusmoreira 2mo ago> Then they had to make up some reasons to justify that Hate to be the one to defend Google here, but the reasons weren't that unreasonable. I want my browser to prevent random extensions from directly reading web page data. The declarative API idea is pretty good. It's just that uBlock Origin is so insanely useful, important and trusted, it should get full access to the entire browser regardless. Honestly, it should be literally built into the browser instead of being a mere extension. Only the conflicts of interest inherent in an ad company maintaining an ad blocker prevent that.
- codedokode 2mo agoYes, but if you write your own extension maybe you want to read and modify the data. For example, patch fingerprinting script so that it gets the wrong result. Furthermore, malicious extension can read the data from the DOM, from forms (for example, password or credit card fields), and in some cases, from JS variables. They can insert fake information into the page. So preventing extensions from reading network data still leaves a lot of options for a malicious extension.
- jimmydorry 2mo agoSo you're saying that because Google didn't completely up-end the security model and break almost every extension in the one-go, we should have no-progress towards a more secure extension model? uBlock Origin via declarative blocks is almost as powerful as the original. While I would trust gorhill with almost unfettered control over my browser, I don't trust EVERY extension owner (no do I trust uBlock Origin in perpetuity).
- glenstein 2mo ago>So you're saying that because Google didn't completely up-end the security model and break almost every extension in the one-go, we should have no-progress towards a more secure extension model? A funny argument to make because the thing that would make such a measure ridiculous as you rightly point out, is exactly what already makes the Manifest changes ridiculous in the first instance. They were making a rhetorical point and you elaborated on their point for them as if doing so expressed a disagreement.
- jimmydorry 2mo agoI think a big step forward, towards a better security model, was overall a good thing, even if it meant that a good extension no longer had unfettered access to everything your browser saw. I don't think this change is ridiculous at all. And I don't want them to stop here either! v4 should close more of the avenues that malicious extensions are abusing! Extensions should declare everything up-front, so it's easy see if abuse is occuring.
- simonra 2mo agoHow do you secure against the system vendor (in this case the browser) limiting what the consumer/user can or can't do (alone or with the help of third parties) with the product after acquiring it though? After all security for individuals against commercial and otherwise organized interests is one of the, if not the most important security after life and health. Even if one values the market overall for financial reasons, there is a solid argument that preventing modifications (and thus also repairs) is anti-competitive. It would be damaging to society if manifestV4 is realized restricting what can run further, much like printers and operating systems where the users ability to run software they bring themselves is limited has been. Just as no one should have to go to a mechanic with a special deal with the manufacturer to get their car or tractor to work as desired, neither should users of software.
- maccard 2mo agoYou use a different browser, like Firefox.
- bo1024 2mo agoOf course it's tempting to reply "don't install random extensions". But a bigger point here is that browsers have grown so massively complex that it's almost impossible to build one, so we don't have an ecosystem where you can choose your browser for safety and I can choose mine for freedom. Of course, Google has had a big incentive and hand in making it this way.
- radley 2mo ago> I want my browser to prevent random extensions... Why are you installing random extensions?
- matheusmoreira 2mo agoI'm not. The only extension I trust enough to install is uBlock Origin.
- FeepingCreature 2mo agoWell great! You are already protected from random extensions then.
- matheusmoreira 2mo agoYeah, by opting out of them altogether. I'd very much enjoy having useful extensions that are not dangerous instead.
- aucisson_masque 2mo agoYou can't trust a code that you didn't audit before. End of story. What you are asking for is simply impossible, even without any permissions rogue extensions can still do a lot. It's what some developers spend their entire time working on. If Google couldn't fix it with Android, which has granular permission per applications, why do you think it's going to be even remotely effective on the web browser ?
- Ballas 2mo agoDo you audit all the code running on your PC? I certainly did not audit Chrome (and I also don't really trust it).
- lxgr 2mo agoNot GP, but sometimes I want my browser to do pretty random/niche things without that compromising all of my browsing data.
- cma 2mo agoThe Google Toolbar for Internet Explorer let users search Google directly from any webpage, block pop-up ads, autofill web forms, and highlight search terms. It also displayed PageRank metrics, translated foreign languages, checked spelling, and managed web bookmarks.
- matheusmoreira 2mo agoImagine the massive amount of data they must have harvested through it.
- michaelt 2mo ago> I want my browser to prevent random extensions from directly reading web page data. To be honest, to me it sounds like you don't want browser extensions then. To me, directly messing with web page data and browser behaviour is the whole point of a browser extension - what else is a browser extension for?
- lxgr 2mo agoWhy should there not be a middle ground between “can do absolutely everything with all my data” and “is basically a glorified bookmark button” based on the level of trust I have for an extension?
- inigyou 2mo agoBecause the browser already has bookmark buttons
- mzajc 2mo agoBecause security is the pretext, not the goal here. I'm sure browsers could have better security controls for extensions, but giving users extra control over software doesn't seem to be very popular among corpos nowadays.
- account42 2mo agoBecause the middle ground would require the browser defining what an extension can and cannot do which defeats the entire point of extensions.
- matheusmoreira 2mo agoThe purpose of browser extensions is to build up an install base then sell out to some corporation that then promptly leverages that user base to exfiltrate data and monetize it. No thanks. They should have to declare to the browser what it is they want done instead.
- jamesnorden 2mo agoIt still sounds like you don't want browser extensions then.
- doctorpangloss 2mo agoNothing stops people from using a fork with manifest v2 support restored. In fact "VibeChrome" would probably be a successful product.
- drtgh 2mo ago>Hate to be the one to defend Google here, but the reasons weren't that unreasonable. Sounds like some kind of Stockholm syndrome. Years ago, it was standard practice for software to be designed so that users could grant permissions to access invasive methods or functions. Google relies on users' personal data (ads), which is why they introduced a unique ID to their Chrome browser (to track).
- edoceo 2mo agoWhen was that standard practice? Cause years ago (like 2000) I remember even trivial and simple software (WeatherBug) being able to read/write all over the computer (Windows). And some crap I just installed on Win11 can see all over the box, just slightly less.
- xtracto 2mo ago> I want my browser to prevent random extensions from directly reading web page data This is so funny to me. Coming from a Netscape Navigator world, when extensions first came out, they were supposed to allow the user to add functionality to websites. Why would someone install "random extensions" that they dont trust. And also, what would extensions do if not read and write data to websites? . Sign of the times I guess.
- matheusmoreira 2mo ago> Why would someone install "random extensions" that they dont trust. Same reason why people download random stuff and run it with administrator permissions on Windows.
- latexr 2mo ago> Why would someone install "random extensions" that they dont trust. An extension that you trust today can be sold to an unscrupulous third-party tomorrow. That has happened many many times and will continue to.
- shaky-carrousel 2mo agoAnd sometimes the unscrupulous third party decides to build a browser and take over the market via forcing hardware vendors to bundle it with their OS. Like Google.
- feelamee 2mo agoso, it should not be updated automatically. so, you should not trust something that install updates (literally - install another software) without your agreement
- xtracto 2mo agoBack in the mid 90s when the web started to be all the rage, I remember reading a comment I thought hilarious and kind of right. Paraphrasing a lot it went like this: "Somehow, when people get into the internet, their IQ decreases like 50 points. Like, if a guy knocked on your house door and offered you to give you a million dollars if you just gave him a thousand now, you would tell him to F. off. But somehow on the internet people thing it's right" Same with these apps, someone comes and tells you to let him install this great water appliance for your backyard. You let him come in. But somehow in the internet, you also give him the key so that he can come in again anytime he wants... he may sell the key, lose the key, do something malicious later,etc. But due to ignorance, people dont grasp what they are doing in the digital world. People lack the necessary mental models.
- colordrops 2mo agoDon't defend them then. Do you believe the same should be true of your operating system? If not, then it shouldn't be true of the browser either.
- matheusmoreira 2mo ago> Do you believe the same should be true of your operating system? Yes, and I have actually started virtualizing everything inside my computer because of that belief. I don't want random software touching my trusted host. "Random software" is currently defined as anything outside the official repositories of my Linux distribution of choice. I don't want to share a home directory with such things. I don't want to share a user and its permissions, I don't even want to share a kernel with them.
- FeepingCreature 2mo agoThere's a difference between you virtualizing programs and your OS vendor virtualizing programs for you without giving you an opt-out. Cough snaps cough.
- matheusmoreira 2mo agoAgreed, and I do think it's unfortunate that our browsers are funded by ad tech. I want that to change.
- ajb 2mo ago... the greatest danger to us is masterless men; lacking a coercive power to tie their hands, they would destroy society. How else but by binding to lord and master can they be held to the laws? So thought men during feudal times. In fact, it is possible for people to be held to good conduct without being bound into a single hierarchy, and it should be possible for software to be held to good conduct without giving such power to single monopolists. But it's not in Google's interests to build such mechanisms, any more than it was in the interests of the feudal overlords to look for alternatives to their rule.
- matheusmoreira 2mo agoI'm supposed to be the master, actually. It's my computer, any foreign code is essentially a subject in my digital domain. It should be literally impossible for them to do something I don't want them to do. As the god of my little digital realm, I should have maximum power and freedom, while foreign developers get the absolute minimum amount of power that works, and in the ideal case this minimum is zero. The fact someone gave developers a turing complete language inside the browser where random code is automatically downloaded and executed is a major reason why we even have uBlock Origin in the first place. The vast majority of developers heavily abuse this privilege and cannot be trusted, and that is why we block them with extreme prejudice.
- ryandrake 2mo agoThis is the way. The owner of the computer should be the ultimate authority over what gets run and not run on that computer. Not Microsoft. Not Apple. Not Google. Not Mozilla. Not some web site developer.
- duskdozer 2mo agoWe seem to have a similar philosophy. Have you found a good way to deal with modifying or selectively disabling things like webpacked js or react?
- matheusmoreira 2mo ago
- flomo 2mo ago> I want my browser to prevent random extensions from directly reading web page data. The declarative API idea is pretty good. Agreed. And you would think most paranoid HN types would too. > It's just that uBlock Origin is so insanely useful, important and trusted Maybe I'm foggy on the history. But isn't this like Fork #4 or #5 of some previous AdBlock extension? Seems like the only business model for this type of extension is "selling out" for certain ads. And then the cycle repeats and forum posters tell you to install qBlock Omega or whatever. Maybe Mozilla doesn't want to get in the middle of this?
- notpushkin 2mo ago> Maybe I'm foggy on the history. But isn't this like Fork #4 or #5 of some previous AdBlock extension? IIRC it was written from scratch. It was called uBlock before, then a co-maintainer tried to pull some shit, and the original author had to fork it with a new name (I don’t remember the details, it’s been ages since then). No selling out yet. The author also explicitly says they don’t accept donations. I don’t think he’s looking for a business model. But if that changes – yeah, the fork button is right there, so I don’t see a big problem here.
- behringer 2mo agoOf course the reasons weren't unreasonable, that's what made them great excuses for specifically blocking ublock origin.
- matheusmoreira 2mo agoThey don't specifically block uBlock Origin though. I have no doubt they intended it to, and that's literally my only objection to Manifest V3: it's good but it hurts uBlock Origin therefore I don't accept it. The right thing is to simply bypass all of that. The fact is uBlock Origin should be literallly built into the browser like the good old popup blockers once were. If only we had a browser that was independent of ad money.
- inigyou 2mo agoOf course the reasons weren't specific to ublock origin, that's what made them great excuses for specifically blocking ublock origin.
- FeepingCreature 2mo ago"Random" is a funny thing to call an extension that you have deliberately installed. I also don't want "random" programs accessing my home folder. That would be terrible! Who knows what programs that could be! I do however want the very specific programs that I have intentionally installed to be able to access my home folder easily. Same for extensions. The goal here isn't really to protect me from extensions. Extensions don't do anything on their own, they just sit there and wait for me to install them. So the goal is apparently to protect me from me (installing an extension), which really is to say protect their business (ads) from me (blocking them).
- matheusmoreira 2mo ago"Random" is what I call pretty much every extension that is not uBlock Origin. I absolutely want them limited to the fullest extent. Maybe if they were, I would actually install some of them. > I do however want the very specific programs that I have intentionally installed to be able to access my home folder easily. I don't. My standard operating practice is to virtualize them. My security posture is considerably more lax towards free and open source software, for obvious reasons, and even then this trust only extends to the software in my Linux distribution's repositories. Stuff coming from PyPI, npm, cargo, ruby gems, and other such "developer centric" repositories get the full virtualization treatment. If it's easy for randoms to publish packages, then it's equally easy for malware to make it in.
- sersi 2mo agoWhat do you use for virtualization for tools from developer repositories? Run them in a VM or sandboxing like bubblewrap?
- matheusmoreira 2mo agoQEMU virtual machines. Sandboxes like firejail and bubblewrap share a kernel: attacker is one exploit away from root. Hypervisors present an infinitely smaller attack surface, and if they're ever defeated the entire industry is done, not just me. I have a base system image that gets forked off into delta qcow2 images for every project I'm working on or whatever ephemeral execution context I need. I started a side project to build software just to manage those VMs. I'm daily driving this thing even though it's my first "vibecoded" project, it's just way too useful and has saved me quite a few times from accidents. https://github.com/matheusmoreira/virtdev https://github.com/matheusmoreira/virtdev The firewall works but it's pretty clunky. I'm working on a custom Rust network stack to replace it. You'd probably prefer something that isn't literally made by one guy and his AIs though. Docker sandboxes seem to be a good solution that also employs virtualization. https://news.ycombinator.com/item?id=49239751 https://news.ycombinator.com/item?id=49239751 Before I made all this, I used to use firejail.
- yjftsjthsd-h 2mo ago> I want my browser to prevent random extensions from directly reading web page data. The declarative API idea is pretty good. I was under the impression that manifest v3 still allowed extensions to read anything, just not modify. Is that not the case? (Random link because this is hard to search for: https://news.ycombinator.com/item?id=38303446 https://news.ycombinator.com/item?id=38303446 )
- matheusmoreira 2mo agoYeah, if that's true then there's little point to Manifest V3... That completely invalidates the argument that it increases security by denying private page access. Maybe I misunderstood Manifest V3.
- inigyou 2mo agoAll roads lead to Occam's Razor and POSIWID: the point of Manifest V3 is to block adblockers.
- aucisson_masque 2mo ago> Hate to be the one to defend Google here, but the reasons weren't that unreasonable. I want my browser to prevent random extensions from directly reading web page data. The declarative API idea is pretty good. Don't kid yourself, even with mv3 if you install a rogue extension it's going to have access to a lot more data than you would be comfortable sharing to.
- matheusmoreira 2mo agoYes, which is why it is important to lock such things down.
- inigyou 2mo agoHow would you do that?
- aucisson_masque 2mo agoYou can't trust a code that you didn't audit before. End of story. What you are asking for is simply impossible, even without any permissions rogue extensions can still do a lot. It's what some developers spend their entire time working on. If Google couldn't fix it with Android, which has granular permission per applications, why do you think it's going to be even remotely effective on the web browser ?
- tpm 2mo agoThen don't install them. I want my extensions in my browser on my computer to do whatever I allow them to do and not what's allowed by Google.
- ezoe 2mo agoMozilla relies 85% of income from Google for making default search engine Google. They probably have strong implicit pressure not to.
- matheusmoreira 2mo agoMozilla has 300+ million dollars in the bank.
- inigyou 2mo agoSo does Wikipedia but they still desperately beg like they're about to go out of business.
- 7bit 2mo agoNo worries. Reading the rest of your comments shows, that your defense is paper thin .
- latexr 2mo agoThe amount of replies this has gotten regarding the use of “random” is a fine example of the state of discussion on the internet and in general, and how HN is in no way immune. Clearly “random” was used as a means of saying “any”, to describe extensions the author hasn’t thought of. That will be obvious to anyone arguing in good faith and steel manning the argument.
- safety1st 2mo agoThis sounds like another one in those class of arguments that are essentially "We can't let users accidentally harm themselves on the devices they own." While I appreciate ergonomics and sensible defaults, ultimately I don't need you, Google or anyone else telling me I can't do something with my device because it's too dangerous to me. I mean I have a huge F U for anyone who tells me that quite frankly, just as I would if they said it about my car or my kitchen knife. I cleared the age of consent decades ago, I will use what I bought and I will accept responsibility for all of the outcomes. These little poindexter dictator nerds of IT who think they get to control everything about what I own can F right off. I applaud and will participate in any class action lawsuit against them and hope for the maximum penalties to be inflicted upon them.
- willis936 2mo ago>it should be literally built into the browser Orion does this. It's still a little too rough around the edges to recommend as a daily driver though.
- bambax 2mo ago> I want my browser to prevent random extensions from directly reading web page data. I don't want that! I want to be able to install any extension whatsoever (as we still can, more or less, install programs). And if I'm clueless enough to install "random" extensions that'll harm me, then shame on me! How often has it happened for the whole existence of Manifest V2 anyway? Maybe we could have tolerated a well-hidden, well-protected "advanced" flag to open that possibility. But removing Manifest V2 altogether is unforgivable. Also, security is a very very very weak argument, as many ads are much more dangerous and toxic than any popular extension will ever be.
- tremon 2mo agoI want my browser to prevent random extensions from directly reading web page data I also want my browser to prevent random third-party javascript from doing the same. And I care more about that one, because as a user I don't have control over said third-party javascript while I do have control over the extensions I'm using. The browser is supposed to be a user agent, not act as an extension of the website owner.
- AnonymousPlanet 2mo agoIf you look at all the threat vectors of a browser from a user perspective, a rogue extension is well at the lower end. If you look at the threat vectors for the revenue of a company like Google, extensions that aren't limited by the browser are pretty much number one. This should tell you everything you need about the matter.
- jimmydorry 2mo agoIf you've run a site with CORS reporting enabled, you'd see that a significant fraction of your userbase have malware extensions running (prior to manifest v3). I was absolutely shocked when I looked at the logs a decade ago, and I bet the problem is far worse these days with the proliferation of malware buyouts of legit extensions. Google has no shortage of options for serving up ads that can't be blocked by normal ad blockers across all their properties (youtube, search, etc.). They in-line the ads these days! And if they really cared about the fraction of a fraction of a percent of people that even install any kind of adblocker, they could make the served ad content un-blockable by serving it the exact same as the content.
- delusional 2mo ago> I want my browser to prevent random extensions from directly reading web page data. Fine, then don't install them? It's like saying you want your TV to stop random people from watching it, but the obvious solution to that problem is to not invite random people into your living room.
- dismalaf 2mo ago> Honestly, it should be literally built into the browser instead of being a mere extension Aaaand that's why I'm using Vivaldi over here (which has a built-in adblocker).
- franga2000 2mo agoYour browser does prevent random extensions from reading web page data - it prevents all of the ones you don't install! More seriously: if you don't want X to do Y, the solution is to not give X the permission Y. The platform overlord removing the premission Y completely is a terrible solution.
- Gigachad 2mo agoBrowser extensions were also one of the biggest ways to distribute malware. The situation was genuinely horrific. Malware distributors would offer popular extension devs millions of dollars to buy the extension, then silently insert malware which gets auto deployed to millions of people.
- underlipton 2mo agoThat sounds more like an issue with the update policies.
- inigyou 2mo agoWhy haven't they been prosecuted? And why hasn't this "cindyllm" bot account been deleted yet? Clearly a shadowban didn't send the message.
- cindyllm 2mo ago[dead]
- OroPla 2mo agoBut why blame the extensions instead of the auto-update feature? Wouldn't it be more effective to build external code review practices around the extension eco-system? For example, if you want to publish or update an extension, you first have to review someone's elses or something along those lines.
- uncletammy 2mo agoLungs are one of the most effective ways of distributing disease. You'd be shocked at how many people get sick and die because LUNGS! We should immediately do away with lungs!
- inigyou 2mo agoFirefox extensions are already so incredibly locked down. It used to be they could edit any part of the UI anywhere. Now they each get a button at the end of the URL bar if they're lucky, otherwise it's some obscure hamburger menu item.
- tredre3 2mo agoYou have full control of whether or not their button is in your toolbar. If they are hidden for you, it's because you, the user, hid them or enabled the overflow extension menu.
- inigyou 2mo agoI, the user, don't understand how this works and just see my browser thinking it's better than me and should be my master.
- socalgal2 2mo ago> Google ... had to ... destroy the APIs so that they're useless. I see this repeated over and over and yet uBlock Origin Lite still seems to block almost all ads. I'm not saying I wouldn't prefer the non-lite version. But, given I basically still don't see ads it's kind of hard to argue Google destroyed the APIs so that they're useless
- what 2mo agoThere’s also ad blockers for iOS safari, which I’m pretty sure doesn’t support ublock. There’s nothing in manifest v2 that’s required for ad blocking.
- armadyl 2mo agouBlock Origin Lite is available on iOS/iPadOS for Safari however last time I checked it’s inferior to AdGuard/Wipr due to the API it uses (it only works in Safari but doesn’t provide ad blocking in the web views like the other two do). Otherwise it’s equivalent with the desktop version.
- what 2mo agoOkay. So there’s still nothing in manifest v2 that’s required for ad blocking?
- armadyl 2mo agoRealistically with the new uBOL you’re just limited to the amount of rules you can use (I think it’s like 300k), no cosmetic filtering in default mode, no script injection in default mode, “limited dynamic filtering capabilities,” and needing more permissions up front. In practice to me these are non-issues. With MV2 uBO you basically already grant it maximum permissions since it’s all or nothing with MV2. So giving full permissions with MV3 uBOL is no different. Which eliminates the cosmetic filtering and script injection limitations. The rule limit can maybe be an issue, but I’ve never run into it unless I literally go hog wild and overboard on filter lists. “Limited dynamic filtering capabilities” is more abstract to me at least and I can’t say what’s missing here. In practice though ultimately I notice no difference between Lite and the original.
- tomjen3 2mo agoThere are good solid reasons why Manifest v3 is preferable for most extensions. The issue is that adblocking doesn't work with it, so an addition, or workaround should be made, but when Google has the amount of influence they have, that didn't happen. The upshut is that people hate ads and like free stuff, so there is now a good selling point for Firefox. Hell some of us switched to Firefox because it blocked popup ads and had tabs, back in the day.
- armadyl 2mo ago> The issue is that adblocking doesn't work with it Except this is objectively not true… uBlock Origin Lite is nearly as good as uBO and blocks nearly everything except for mostly Twitch ads. Manifest v3 is a big security upgrade and effectively closes off the permanent RCE pathway that v2 allowed.
- inigyou 2mo agoSo we already see one major ad category it's unable to block. When will advertisers catch on to put more of their ads in that category?
- armadyl 2mo agoExcept normal uBO also failed to block Twitch ads so there’s no difference here.
- dopa42365 2mo agoTwitch ads haven't reliably been blocked by ublock origin (in any browser) for years. The "best" solution people came up with is replacing the stream with an ad-free low res version for the duration of the ads, which doesn't make for a very enjoyable viewing experience. There were/are some more experimental options like m3u proxies to jurisdictions where Twitch isn't serving any ads for one reason or another, but those aren't reliably working all the time either. In any case, somewhat outside the scope of ad blockers and closer to paywall circumvention-ish.
- croes 2mo ago> extensions were supposed to be a way to let you do the things the browser didn't want you to do. If that would have been the case, extensions wouldn’t exist. Extension are a way to make the browser do what the browser manufacturer didn’t think or care about.