News for hackers. Stuff that matters.
Re:Why Did Mozilla Remove XUL Add-Ons? by fouc on Thursday August 20, 2020 @11:04PM (#24231538)
> And then, as someone pointed out on reddit, I realized that we still haven’t taken the time to explain in-depth why we had no choice but to remove XUL-based add-ons.

> * very quickly, add-on developers realized that anything they did could break anything else in the system, including other add-ons and Firefox itself, and they often had no way to prevent this;

> * similarly, anything Firefox developers did could break add-ons, and they often had no way to prevent this;

> * also, some of the changes that Firefox needed to remain competitive with Chrome were going to break most add-ons immediately, possibly all add-ons in the longer term;

> * oh, and by the way, since add-ons could do everything, they could very easily do anything to the operating system, from stealing passwords to pretending to be your bank.

---

It's a really long article with lots of background and technical detail, so I felt it safe to include a larger summary of the basic points than I normally would.

Re:Why Did Mozilla Remove XUL Add-Ons? by ekianjo on Friday August 21, 2020 @03:30AM (#24232862)
> * oh, and by the way, since add-ons could do everything, they could very easily do anything to the operating system, from stealing passwords to pretending to be your bank.

So now there's way less things that add-ons can do, and it's supposed to be all peachy for Firefox users? Talk about competitiveness.

Re:Why Did Mozilla Remove XUL Add-Ons? by KMag on Friday August 21, 2020 @05:16AM (#24233354)
They're much better off starting with a highly restricted sandbox and extending that sandbox in safe ways when demand is demonstrated.

The alternative is letting their largely tech-naive user base install all kinds of add-ons under the illusion that it's no more dangerous than installing phone apps from an audited walled-garden app store.

Mozilla doesn't have the resources to audit all of the add-ons out there, and generalized automated auditing with a wide-open API would require solving the halting problem. (Accurately enumerating all reached states of a Turing-complete program would allow you to check if it reaches the halted state, thus solving the halting problem.)

Re:Why Did Mozilla Remove XUL Add-Ons? by cultureulterior on Friday August 21, 2020 @06:00AM (#24233550)
But they don't extend the sandbox (Look at tab tree). Also, it's impossible to demonstrate demand for an extension that doesn't exist.
Re:Why Did Mozilla Remove XUL Add-Ons? by takluyver on Friday August 21, 2020 @07:31AM (#24233960)
I'm not sure what you mean about tab tree. There are tab tree WebExtensions.
Re:Why Did Mozilla Remove XUL Add-Ons? by eitland on Friday August 21, 2020 @08:50AM (#24234437)
yep, but you either have to let it coexist with the main tab bar or go further and further to manually disable that.
Re:Why Did Mozilla Remove XUL Add-Ons? by chaorace on Friday August 21, 2020 @08:53AM (#24234459)
Yes, but they are pitifully weak compared to the same addons back when they were implemented in XUL. It's not just because XUL was more free. WebExtensions as an API just lacks the scope for such enhancements. Mozilla essentially copies Google's API and they're very hesitant to make customizations, so major enhancement requests will just sit around for years without traction. I'll list out a few major issues with the current API for the sake of example:

* No native hotkeys.

Ok, fine, there are technically native extension hotkeys, but they break so often that nobody uses them. Even if they were fixed, the bindings are arbitrarily limited to two-modifier combinations.

Instead, you're stuck hacking around the limitation by injecting hotkeys into each individual page via JS. If the page you're on isn't a normal webpage (new tab, 404, PDF...), you're out of luck. It's mouse time.

Imagine the pain of writing and rolling your own high level key binding API, now imagine the additional memory/compute from running that in every single tab instance. This is already a huge mess that makes any tab extension a second-class experience.

* UI extension is hopelessly neutered

WebExtensions basically have 3 main places where you can render UI: solo pages, a toolbar popout, and the sidebar. Of these three, only the sidebar is a permanent, persistent place that works for the purposes of a tab extension. Unfortunately, the sidebar is hopelessly neutered. The sidebar is shared between all extensions AND the native bookmark/history managers, so bad news if you need it for something else! Since it's shared, you can't control the size/position programatically (Oh yeah... and the manual resize threshold is limited to about 1/6 horizontal screen width).

To add insult to injury: the sidebar steals page focus, so I hope you enjoy clicking back into the web page every time you interact with the sidebar UI via mouse! This dovetails nicely with point #1. There's no way to bind a key to your extension's sidebar. That means you can't toggle your tab bar (a la F11). It also means you have to fish for your mouse, fiddle with the toolbar, then switch sidebar panes any time you lose the sidebar for any reason.

Imagine the pain of supporting an extension that literally does nothing unless you get your users to dig into the toolbar and enable a little-known UI element. Now... imagine the pain of asking them to do that, repeatedly, whenever it goes away.

* Horizontal tab bar is a pipedream

Your control over actual tabs, in the actual tab bar, is incredibly limited. If you're not outright hiding the tab bar and replacing it with a sidebar hack, it's basically guaranteed to be a mess. You cannot style nor group tabs programatically. All you can do is hide or reorder them, which is a pretty bizarre decision, imo...

The best that anyone can do for non-overhaul extensions, like "tab grouping", is stashing the UI away into the toolbar popout menu. I hope it's fairly obvious why this isn't an ideal way to present that information, especially when you consider that it's a focus-stealing modal.

Re:Why Did Mozilla Remove XUL Add-Ons? by perryizgr8 on Friday August 21, 2020 @02:02AM (#24232426)
> also, some of the changes that Firefox needed to remain competitive with Chrome were going to break most add-ons immediately, possibly all add-ons in the longer term;

Sad part is that we lost extensions and Firefox is still slower, glitchier than Chrome.

Re:Why Did Mozilla Remove XUL Add-Ons? by bayindirh on Friday August 21, 2020 @05:23AM (#24233378)
Note: This is a comment I wrote to another article in HN and it still holds today:

No. Just, no.

I want to share something that I experienced very recently.

I use Firefox and Chrome (just for using Taskboard) at work. I also use Firefox at home. Both systems are Debian. The perceived browser speed was Chrome (Work) > Firefox (Work) > Firefox (Home). I always thought it was about DNS resolution, so I started running DNSMasq at home on an OrangePi Zero but, it didn't make much difference.

Two days ago, my home ADSL modem suddenly died. I replaced it with a more modern version and everything about speed has changed. Now The speed of Firefox at home is equal with the speed of Chrome at Work, Firefox at work is slightly behind.

It can be said that Firefox is much more sensitive to network parameters like DNS response times, but its rendering engine and other capabilities are not behind Chrome.

Re:Why Did Mozilla Remove XUL Add-Ons? by jeroenhd on Friday August 21, 2020 @06:24AM (#24233666)
As an avid Firefox user, the performance difference between the Javascript engines in Chrome and Firefox are always obvious to me.

Firefox's network code, render pipeline, and everything else that gets the document to the screen is either just as fast or even faster than Chrome. However, the Javascript engine leaves something to be desired; the trend to make everything an application has ruined the performance of many sites.

There's also downsides to the way Firefox protects your privacy. If you enable the default privacy blocking, some resources fail to load on websites, making many websites load fallbacks or lag while they're waiting for their ad script to initialize.

Finally, I've noticed Firefox has significant performance issues in video decoding compared to Chrome. This manifests itself as memory leaks and some tabs being frozen (every tab within the same browser subprocess, basically) and can be resolved by killing the process that's been messed up, but it's still an issue for normal use.

All in all I prefer Firefox, but there's still plenty of ways it can catch up to Chrome. If your work involves a lot of web applications, there's no denying that your experience in Chrome will be quicker.

Re:Why Did Mozilla Remove XUL Add-Ons? by Yoric on Saturday August 22, 2020 @11:35AM (#24244790)
> However, the Javascript engine leaves something to be desired; the trend to make everything an application has ruined the performance of many sites.

Out of curiosity, what makes you think that the culprit is the JS engine?

Re:Why Did Mozilla Remove XUL Add-Ons? by jeroenhd on Saturday August 22, 2020 @03:09PM (#24246453)
All websites that heavily rely on Javascript just work better on Chrome for me. Google products, OSM, streaming sites, chat applications, they just all work quicker and smoother on Chrome. Even my own code seems to run into more performance caps on Firefox depending on the behaviour it exhibits.

On plain websites, there's no real difference. When it comes to (messy) JS, problems pop up more in Firefox than in Chrome.

I don't blame the Spidermonkey devs for this, of course, because people just need to write better (less) JS. However, in practice, you do see the difference when you try out Firefox.

Re:Why Did Mozilla Remove XUL Add-Ons? by bayindirh on Friday August 21, 2020 @10:49AM (#24235344)
Thanks for your answer. Being able to discuss these things feel good.

> However, the Javascript engine leaves something to be desired; the trend to make everything an application has ruined the performance of many sites.

I'm pretty bitter about "everything is an application" trend though. Coming from the original web, limited by 56K days creates a lot of "old man yells to cloud" moments, performance wise. However, as a Linux user, I suspect not all of the performance penalty comes from the JS pipeline. Accelerated rendering of webpage is severely lacking in Linux (especially with nVidia proprietary drivers).

I have a COVID-19 tracker (who doesn't in these days) it's at https://hbayindir.github.io/covid-19-turkey/

The graph animations are smooth in Chrome & Firefox for Windows but, not in Firefox for Linux. I think rendering engine is fine, JS is more than good enough, but HW acceleration in Linux needs attention.

> There's also downsides to the way Firefox protects your privacy. If you enable the default privacy blocking, some resources fail to load on websites, making many websites load fallbacks or lag while they're waiting for their ad script to initialize.

It may be but I didn't notice anything to be honest. I'll look out for this.

> Finally, I've noticed Firefox has significant performance issues in video decoding compared to Chrome. This manifests itself as memory leaks and some tabs being frozen (every tab within the same browser subprocess, basically) and can be resolved by killing the process that's been messed up, but it's still an issue for normal use.

I don't experience anything similar in Firefox. Sometimes I leave Youtube open for weeks (because, long music mixes) and nothing stutters or goes awry. Sometimes a tab consumes too much resources (something like reddit or, HN) and it creates input lag while writing into textboxes like this. Everything recovers when I kill the offending tab. Similarly watching 2K and 4K videos over youtube doesn't tax my system at all. Everything is gracefully HW accelerated OTOH, picture in picture implementation of Firefox is so much behind that I can see the frame rate drops below 15FPS most of the time, so it's unusable. I guess, it the FF could HW accelerate everything, the problem will solve itself.

All in all, Firefox has some missing parts and needs some serious work in these parts and FF people looks not very interested in these parts (I'm not very firm on this opinion. This is how it looks from here).

Re:Why Did Mozilla Remove XUL Add-Ons? by jeroenhd on Saturday August 22, 2020 @03:16PM (#24246508)
> I'm pretty bitter about "everything is an application" trend though. Coming from the original web, limited by 56K days creates a lot of "old man yells to cloud" moments, performance wise. However, as a Linux user, I suspect not all of the performance penalty comes from the JS pipeline. Accelerated rendering of webpage is severely lacking in Linux (especially with nVidia proprietary drivers).

I totally a agree.

> It may be but I didn't notice anything to be honest. I'll look out for this.

The worst offender are some AMP sites; they try to use the Google CDN for whatever resource (probably fonts or CSS) and when that fails, wait for the fallback.

> Everything is gracefully HW accelerated OTOH, picture in picture implementation of Firefox is so much behind that I can see the frame rate drops below 15FPS most of the time, so it's unusable.

Interesting. I don't have much trouble with PiP and such, only the memory issues. I suppose it might just be a difference between hardware, drivers and OS/system config.

Re:Why Did Mozilla Remove XUL Add-Ons? by nix23 on Friday August 21, 2020 @05:49AM (#24233493)
> Now The speed of Firefox at home is equal with the speed of Chrome at Work, Firefox at work is slightly behind.

Ehhh ;)

Re:Why Did Mozilla Remove XUL Add-Ons? by jolmg on Thursday August 20, 2020 @11:42PM (#24231744)
>> * also, some of the changes that Firefox needed to remain competitive with Chrome were going to break most add-ons immediately, possibly all add-ons in the longer term;

This is probably the most important point. The other points apply to almost any software that supports addons, including emacs, vim, zsh, etc. and they're not really an issue.

>> * very quickly, add-on developers realized that anything they did could break anything else in the system, including other add-ons and Firefox itself, and they often had no way to prevent this;

So they're careful. Any add-on that breaks other stuff doesn't really get adopted. Emacs shares the same namespace for everything. Addon developers just namespace their stuff by putting a prefix on their identifiers. It's not really an issue even for them.

>> * similarly, anything Firefox developers did could break add-ons, and they often had no way to prevent this;

So don't change Firefox so drastically. Well, I'd say it's nice for software to be stable, but web browsers are a good exception to that. If Firefox didn't try to keep up with Chrome, Chrome would probably have greater dominance.

But yeah, other software would just be more stable. When a change needs to be made, the benefit is weighed against the potential of breaking addons, but I imagine that's probably OK with addon developers as long as the change was reasonable.

>> * oh, and by the way, since add-ons could do everything, they could very easily do anything to the operating system, from stealing passwords to pretending to be your bank.

Most times, addons are almost like any other program, and should be judged accordingly before installing. I imagine even after the restrictions were placed on addons, they're probably still capable of quite a bit of malice.

Re:Why Did Mozilla Remove XUL Add-Ons? by danShumway on Friday August 21, 2020 @12:48AM (#24232072)
> Emacs shares the same namespace for everything. Addon developers just namespace their stuff by putting a prefix on their identifiers. It's not really an issue even for them.

I use and love Emacs (Spacemacs), and I am probably never going to move to another editor.

BUT as someone who maintains a Spacemacs config, no, Emacs addons break each other all the time. It's not just a namespacing problem, it's which events you're hooking around or interrupting, it's which system features you're changing that other addons rely on.

This kind of organized chaos works out OK in Emacs because I can read the source code of the offending Spacemacs layer or script and wrap around it to get it playing nicely with the rest of my setup. Emacs has very good debugging tools built into it, and you can hack on the editor in the editor. It also has a fairly decent community of people online who will help you debug configs as long as you're not being too annoying about it. This all ends up being pretty important, because you are going to need to debug configs.

Emacs expects you to be a power user that knows how to program, and if you are a power user that knows how to program, there are advantages to that. But even with those advantages, the sheer amount of time I've wasted getting EXWM to play nicely with other workspace addons...

I just think there's benefits and tradeoffs to both approaches, and I wouldn't be so quick to dismiss the engineers who decided that their users shouldn't need to learn how to program to keep a functioning set of addons running in their web browser.

Re:Why Did Mozilla Remove XUL Add-Ons? by Reelin on Friday August 21, 2020 @01:13AM (#24232174)
My question is then: where's the hackabale power user browser implemented in something like Common Lisp with a REPL, hot swap debugging, and built in disassembly tools?
Re:Why Did Mozilla Remove XUL Add-Ons? by danShumway on Friday August 21, 2020 @01:22AM (#24232220)
And this is (one of the reasons) why it's wildly important that we have a diverse browser ecosystem rather than all building minor forks of Chromium.

And this is also why (disingenuous as they often are), some of the "web is too complicated" arguments can't be completely dismissed, because it is true that building a secure browser that's safe to use is a gargantuan task.

And this is also why it stinks that the Servo team got gutted, because Servo was shaping up to be an interesting new low-level embedded engine in that space.

Both sides are true. I understand completely why Mozilla went the route they did, and I agree with their decision to do so, and I also sympathize completely with the people who want to be able to live-hack on their browser in their browser. I want the ability to do that too.

But I think the only way to solve that is to have more browser diversity... somehow. I also don't want Firefox to be unusable for nontechnical users. I need a secure, reasonably private browser that's not based on Chrome that I can recommend to nontechnical friends and family.

Re:Why Did Mozilla Remove XUL Add-Ons? by ChrisSD on Friday August 21, 2020 @01:57AM (#24232403)
Trouble is not only the complexity of a web browser (and security thereof) but that Google's "living standard" is a constantly shifting target. Even a company like Microsoft couldn't keep up with it and gave up. So long as Google is in charge and has infinite* resources to throw at it, nobody else is ever going to be able to keep pace.

Apple works around that by not really trying to keep up. It implements features in its own time (or else some third party contributes code to WebKit). But iOS gives Apple a captive audience which means it has much more freedom to be "slow" compared to Google. As much as I might philosophically dislike their policy of only allowing their own web engine on iOS, it is the only thing keeping WebKit alive as a major alternative.

Re:Why Did Mozilla Remove XUL Add-Ons? by Santosh83 on Friday August 21, 2020 @02:57AM (#24232713)
Apple and Microsoft both have resources to dedicate as much man/machine-power as Google does for their browsers if they wanted to. They just don't want to play the neck-and-neck game any more. MS has opted to simply use Chromium while Apple as you say goes at its own pace. But they do have the capacity to match Google if they choose to, given some ramp-up time.
Re:Why Did Mozilla Remove XUL Add-Ons? by GoblinSlayer on Friday August 21, 2020 @10:33AM (#24235202)
>I also don't want Firefox to be unusable for nontechnical users. I need a secure, reasonably private browser that's not based on Chrome that I can recommend to nontechnical friends and family.

My sister uses Firefox just fine, she doesn't know how to mess with addons.

Re:Why Did Mozilla Remove XUL Add-Ons? by hpfr on Friday August 21, 2020 @01:49AM (#24232360)
What if I told you this is being enthusiastically developed and is supported by NLNet

https://nyxt.atlas.engineer/

https://github.com/atlas-engineer/nyxt/issues/887

https://nlnet.nl/project/NyxtBrowser/

Re:Why Did Mozilla Remove XUL Add-Ons? by Reelin on Friday August 21, 2020 @02:56AM (#24232710)
This is amazing and sounds like exactly what I was imagining.
Re:Why Did Mozilla Remove XUL Add-Ons? by ChrisSD on Friday August 21, 2020 @01:20AM (#24232206)
To be honest I'm surprised Emacs isn't a browser yet. It does everything else.
Re:Why Did Mozilla Remove XUL Add-Ons? by danShumway on Friday August 21, 2020 @01:26AM (#24232238)
There are efforts, and there are things you can run, but I wouldn't personally recommend doing so. I am very paranoid about browser security, and I (frankly) don't trust smaller browser projects that aren't highly vetted by lots of people.

That's an entirely separate conversation.

My opinion is that it ends up being simpler and safer at the end of the day to just wrap the entire Firefox application in an Emacs buffer and then intercept keypresses to that buffer. But you do lose out on a lot of stuff by doing that; I'd love to have tighter integration.

Re:Why Did Mozilla Remove XUL Add-Ons? by throwaway_pdp09 on Friday August 21, 2020 @01:34AM (#24232281)
It has a browser, eww (https://www.gnu.org/software/emacs/manual/html_mono/eww.html), and I think others.

eww doesn't work very well yet. Try it for fun only. And it's slow. Pretty certain it does cookies but not js.

I think there's an emacs web browser which delegates the actual mechanics to something external, and only acts as a front end for display/interaction. Never tried it.

Re:Why Did Mozilla Remove XUL Add-Ons? by ravar on Friday August 21, 2020 @01:44AM (#24232342)
I would love to know about this mythical browser, the web is one of the last things i don't have in emacs. I would dearly love to fix this.
Re:Why Did Mozilla Remove XUL Add-Ons? by throwaway_pdp09 on Friday August 21, 2020 @02:30AM (#24232575)
https://html.duckduckgo.com/html?q=emacs%20%22web%20browsers... get you https://www.emacswiki.org/emacs/CategoryWebBrowser as the top link.

In the latter EAF isn't a web browser despite what it says. Have a look at the others. Piggyback browsers aren't going to be sophisticated, that's just how it is.

Re:Why Did Mozilla Remove XUL Add-Ons? by zelphirkalt on Friday August 21, 2020 @02:35AM (#24232603)
There is w3m inside Emacs though, which can be good.
Re:Why Did Mozilla Remove XUL Add-Ons? by smabie on Friday August 21, 2020 @01:44AM (#24232339)
Nyxt is a browser that supports that. It wraps WebKit though, which is both good and bad I guess. Give it a try, it's nice.
Re:Why Did Mozilla Remove XUL Add-Ons? by zelphirkalt on Friday August 21, 2020 @02:29AM (#24232570)
There is Nomad, which I think is either a GNU project or at least Free Software and written in (using?) GNU Guile. Not sure how mature it is.
Re:Why Did Mozilla Remove XUL Add-Ons? by servilio on Friday August 21, 2020 @10:26AM (#24235136)
Re:Why Did Mozilla Remove XUL Add-Ons? by dralley on Friday August 21, 2020 @01:31AM (#24232265)
Browsers are some of the most heavily optimized software out there, and they use a lot of memory.

I don't think switching from C++ to Lisp would work out so well.

Re:Why Did Mozilla Remove XUL Add-Ons? by Reelin on Friday August 21, 2020 @02:28AM (#24232566)
Are you aware of how heavily optimized (for example) SBCL is? Similarly, significant portions of Firefox are implemented in JavaScript at this point.

I'm willing to accept a Fortran implementation via FFI for the truly performance sensitive bits though. /s

Re:Why Did Mozilla Remove XUL Add-Ons? by dleslie on Friday August 21, 2020 @10:16AM (#24235055)
I've never once had issues with Emacs like you describe, and I've been using it for about 25y.

I think the key is that I don't use any deeply intrusive packages. No Spacemacs, no Evil; hell, I won't even touch EDE.

Still, my personal config is _packed_ with tweaks and custom packages, and I've maintained it continuously all this time.

Re:Why Did Mozilla Remove XUL Add-Ons? by danShumway on Friday August 21, 2020 @07:06PM (#24239841)
> I think the key is that I don't use any deeply intrusive packages

Sure, but if you're not interested in using deeply intrusive packages or addons, then why does the sandboxing and forced separation between addons matter?

I can keep a clean Firefox config if I don't install addons that do anything too interesting, but if I don't install addons that do anything too interesting then I'm also not really going to be affected very much by the move from XUL to webExtensions. I think the core of the debate is about the intrusive packages, not the surface-level ones.

The only reason for Emacs to embrace the more dangerous kind of "everything is editable" levels of customization that people are advocating for within Firefox is so that we can implement stuff like Evil, EXWM, sidebar previews, embedded GTK apps, etc... Those are the power-user selling points of Emacs that keep me hooked on the platform.

Re:Why Did Mozilla Remove XUL Add-Ons? by dleslie on Sunday August 23, 2020 @02:38PM (#24254174)
I use interesting packages.

lsp, dumb-jump, projectile et cetera.

Re:Why Did Mozilla Remove XUL Add-Ons? by duskwuff on Friday August 21, 2020 @12:36AM (#24232008)
> So they're careful. Any add-on that breaks other stuff doesn't really get adopted.

This wasn't true at all. A lot of popular addons interacted with the browser XUL in incredibly intrusive ways. In particular, addons which altered the browser's tabbed browsing interface and/or behavior (like the various Tab Mix extensions, as well as Tree Style Tabs) tended to do so by making radical modifications to XUL, which would often break other extensions which interacted with tabs.

> Addon developers just namespace their stuff by putting a prefix on their identifiers.

That was not standard practice, unfortunately. Conflicts between extensions were commonplace; it was a rule of thumb to avoid installing multiple extensions which interacted with the same browser feature.

> So don't change Firefox so drastically.

This would have meant effectively freezing most UI development, to say nothing of more ambitious projects like e10s (multiprocess browsing). It would have led to the inevitable death of the project by stagnation.

> Most times, addons are almost like any other program, and should be judged accordingly before installing.

You heavily overestimate the degree of scrutiny that users applied to extensions. The fact that they could be installed from a web interface made users treat them very casually.

> I imagine even after the restrictions were placed on addons, they're probably still capable of quite a bit of malice.

XUL-era extensions had vastly more power than WebExtensions. They were equivalent in power to native executables -- they could run native code, read/write any file on the system, and communicate with any host, all without confirmation -- and there wasn't even any framework to allow developers to voluntarily restrict their power, because they ran in the same context as the rest of the browser chrome.

Re:Why Did Mozilla Remove XUL Add-Ons? by Reelin on Friday August 21, 2020 @01:02AM (#24232144)
> You heavily overestimate the degree of scrutiny that users applied to extensions.

I apply scrutiny in the form of very carefully vetting the author's identity and reputation. At the end of the day that seems to be a fairly common and reasonably effective approach.

> XUL-era extensions had vastly more power than WebExtensions. They were equivalent in power to native executables

That was an important feature, not a bug (IMO). Sure WebExtensions are nicely sandboxed away from the OS, but the threat posed by a malicious version of uMatrix or Dark Reader is nonetheless difficult to understate.

Certainly many users made poor decisions. Certainly there were valid technical issues at play. But let's not pretend that all users are irresponsible or that there weren't serious drawbacks to what was done in terms of lost functionality. Some of the modifications I made use of still haven't been replicated in WebExtensions due to lack of ability (AFAIK). The only solution I'm aware of would be to patch the browser myself and recompile it, which is an _incredibly_ high barrier to entry (and that's before the ongoing maintenance burden).

Re:Why Did Mozilla Remove XUL Add-Ons? by hire_charts on Friday August 21, 2020 @01:21AM (#24232213)
There's a reason that phishing is the go-to infosec attack vector. It's because we still blame users for being tricked into doing things they shouldn't, rather than taking the time to build systems that prevent such vectors from working.

I'm happy that extensions no longer have such wide-reaching access to the system. Whatever we lost in power-user tinkerability isn't worth the high personal cost that the malicious extensions would have on the lives of unsuspecting users.

Re:Why Did Mozilla Remove XUL Add-Ons? by stickfigure on Friday August 21, 2020 @02:21AM (#24232533)
Hmmm. Apple seems to be making that same argument over gatekeeping apps on MacOS right now. I'm not convinced.

Maybe it's time to get off the consumer train.

Re:Why Did Mozilla Remove XUL Add-Ons? by majewsky on Friday August 21, 2020 @08:32AM (#24234330)
> Maybe it's time to get off the consumer train.

What's that supposed to mean? We put IT in everyone's hands. We're not going to be able to just take it away from them.

Re:Why Did Mozilla Remove XUL Add-Ons? by Reelin on Friday August 21, 2020 @02:52AM (#24232680)
I don't think this sort of security trumps everything else approach is a valid line of argument. Surely there are tradeoffs to be made, and surely one size doesn't fit all.

As to phishing in particular, I don't agree that the issue is a lack of willingness to design resistant systems or a misguided assignment of blame. I think it's because solving that problem at scale in the real world is (or at least was) legitimately difficult. The vast majority of people in the world don't carry a YubiKey on them and probably won't any time soon. There are even users in the US that still don't have reliable access to a mobile phone! A product that doesn't work for the actual users simply isn't viable.

Re:Why Did Mozilla Remove XUL Add-Ons? by GoblinSlayer on Friday August 21, 2020 @11:32AM (#24235708)
>There's a reason that phishing is the go-to infosec attack vector. It's because we still blame users for being tricked into doing things they shouldn't, rather than taking the time to build systems that prevent such vectors from working.

Such system was already built in the bronze age: Troy.

Re:Why Did Mozilla Remove XUL Add-Ons? by marcinzm on Friday August 21, 2020 @12:00AM (#24231839)
>Any add-on that breaks other stuff doesn't really get adopted.

Yes it does, Firefox is a mainstream browser not a niche product used by experts. Most people couldn't even figure out which of their fifty extensions was causing issues. So they just used Chrome.

Re:Why Did Mozilla Remove XUL Add-Ons? by Polylactic_acid on Friday August 21, 2020 @01:46AM (#24232349)
This is exactly it. Normal users don't think "Huh firefox is crashing, I'm going to disable addons one by one to work out if one of them is the cause" They just think "Wow, firefox is super buggy, I'm using chrome now" And then every time they see firefox mentioned online they leave their comment about how its super buggy and crashes all the time.
Re:Why Did Mozilla Remove XUL Add-Ons? by GoblinSlayer on Friday August 21, 2020 @11:45AM (#24235820)
I just had an idea: to install an extension require authentication by a one time random password, show the password in a modal window without ability to copy, the user will have to remember the password and type it into a field. The password length is equal to the number of installed extensions, so to install 50th extension, you need to type 50 character password.
Re:Why Did Mozilla Remove XUL Add-Ons? by Yoric on Friday August 21, 2020 @05:02AM (#24233294)
> But yeah, other software would just be more stable. When a change needs to be made, the benefit is weighed against the potential of breaking addons, but I imagine that's probably OK with addon developers as long as the change was reasonable.

We thought that too, for a time, but eventually, we had to realize that we were burning out our add-on developers.

(updated the article to clarify this)

Re:Why Did Mozilla Remove XUL Add-Ons? by gibolt on Thursday August 20, 2020 @11:46PM (#24231764)
Codebases and products aren't that simple.

Changes and maintenance cost money and time. In this case, they deemed it to not be worth the expense to resolve the potential security issues (which can never be truly resolved).