News for hackers. Stuff that matters.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by superkuh on Saturday February 18, 2023 @02:07PM (#34849976)
> Unfortunately, Google has made many decisions about the design of its new platform without taking into account the wishes and concerns of extension developers and, in the end, their own users. As a result, ad blocking extensions will lose some of their functionality.

Basically the same thing that happened to Firefox extensions when they abandoned the entire old ecosystem and switched to Chrome's webextension. And now that they're stuck with that choice they're happy about mitigating even more damage to add-ons caused by it. This is not so much a win as a holding action after a bad choice.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by kibwen on Saturday February 18, 2023 @02:26PM (#34850170)
The idea of a well-defined extensions interface is not a bad idea. In fact, it's a very good idea. For as much power the old, everything-goes extensions model gave you, it also meaningfully prevented Firefox from evolving for years. Remember that decade where Firefox shed market share to Chrome for being too "slow" and "bloated"? Yeah, and it was that way because Mozilla couldn't change a damn thing without half of the entire extensions ecosystem imploding with every release. You need a well-defined API if you want to have any hope of improving the browser without breaking the whole world every week. Chrome had such an API, and it was popular, so Firefox lifted it. That's not nefarious, that's just smart. I'm happy that they managed to pull it off, and I'm happy that alternative browsers continue to exist in order to resist Google's death grip on the web.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by adra on Saturday February 18, 2023 @03:41PM (#34850854)
If they cared and their slowdowns were simply related to addons, they could always sample the overhead of said addons and show a warning. My moderate use of addons in FF didn't feel too aggressive, but then again I'm not in the clique with dozens of open windows. There were times of fast/slowness in FF. It was never bad enough to chase me off the platform, but to say the slow ess was simply saddled on addons is probably disingenuous.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by Karellen on Saturday February 18, 2023 @03:50PM (#34850936)
It's not that the addons were slow. It's that the architecture in Firefox that was needed to support the addons was slow - even if there were no addons in use.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by spiffytech on Saturday February 18, 2023 @03:51PM (#34850959)
The slowness wasn't caused (just) by slow addons. As I remember it, Firefox was unable to move to a multi-process architecture as long as old extensions were supported.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by mook on Saturday February 18, 2023 @04:46PM (#34851435)
My recollection was that they had some multi-process things, though the problem was that they had to keep breaking extensions as they added more and more. I believe multi-process NPAPI plugins was somewhere around 3.6 or 4? (Of course, 4 took forever to ship too… that was great for extensions though, because it meant no API breakage during that time.)
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by adjav on Saturday February 18, 2023 @03:51PM (#34850960)
It's not that the add-ons were slow, it's that the architecture built to support those add-ons made the browser as a whole inherently slow. Everything was quite siloed, and required a series of dynamic dispatches to accomplish anything. This allowed extensions to easily change lots of core functionality, but also meant that the entire Firefox codebase had become a public API, and practically any change made would break something.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by modo_mario on Saturday February 18, 2023 @03:57PM (#34850994)
>Remember that decade where Firefox shed market share to Chrome for being too "slow" and "bloated"?

The only part I remember where Firefox was notably slower was videos when Google led Firefox for a ring around the rosie when they singlehandedly decided to use a proprietary codec for their youtube videoplayer after first making everyone believe they were working on using a different one which FF started working on supporting. I can't count the amount of complaints i heard of firefox being slow there.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by imbnwa on Saturday February 18, 2023 @06:05PM (#34852043)
Is this when you had to make sure you were brute forcing the HTML5-based playback?
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by eitland on Saturday February 18, 2023 @04:34PM (#34851337)
> Remember that decade where Firefox shed market share to Chrome for being too "slow" and "bloated"?

Except it wasn't. I used Firefox a lot on Windows and Linux and didn't have the slightest problems.

The only reason I see why Chrome took over was a rather insane push, about the same level of intensity as IE6, from Google, using everything:

- artificially reducing performance of Firefox on key Google properties (Google Calendar, YouTube)

- bundling Chrome with Adobe

- ad campaigns on the front of Google where no one else has been allowed to serve ads (this alone must have been worth billions)

- lies ("switch to a better browser" they wrote even when I was using Firefox)

Google needs to be punished - big time - for this abuse.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by dmitriid on Saturday February 18, 2023 @04:43PM (#34851410)
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by Miraste on Saturday February 18, 2023 @05:01PM (#34851565)
Firefox was slower than other browsers at the time. A lot slower, and buggier. There are plenty of benchmarks. I’m a Firefox user now, but before Quantum I didn’t touch it because it really was terribly dated.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by eitland on Tuesday February 21, 2023 @10:18AM (#34882086)
We might have different usage patterns.

I regularly ran it with multiple extensions and 400 - 600 open tabs and didn't feel Chrome was better.

And I'm the kind of person who can start a 2 hour troubleshooting session over a few tens of milliseconds unexpected lag.

Edit: maybe Chrome was hopeless with multiple tabs or maybe one of the older memory saver extensions was so much better it made up for it, or maybe it just matched my hardware/SW at the time extremely well (high end HP laptops with Windows or Linux), or maybe it was just a feeling, I don't know. But I know I spent a significant part of my work day in the browsers and Firefox felt significantly better even when I wanted to try the then new and cool Chrome.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by eitland on Wednesday February 22, 2023 @09:49AM (#34896392)
Edit 2, since I see this thread still has activity:

I should point out that by "better" I don't mean that Firefox was necessarily faster but

- it was equally fast (for my usage),

- handled 400-600 tabs effortlessly even back then

- had a number of great extensions and themes that significantly improved ones life (subscribe to pages that didn't offer any feeds? I had an extension that polled pages at configurable intervals and ran a smart diff checker on it that gave me a notice if some change had crossed a configurable threshold. Need access to docs while offline or just tired of spending your data quota or waiting for the train ro exit the tunnel? There was an extension that let me download pages recursively, configurable with domain, path and how many steps. It would deduplicate the downloaded pages and rewrite all links from absolute to relative and it "just worked" for everything I needed it for.)

By comparison, extensions in old Firefox was Hitachi or Milwaukee and new extensions are somewhere between Fisher Price and Black and Decker. Yes, you could absolutely hurt yourself on the old ones, they were tools, not toys.)

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by account42 on Wednesday February 22, 2023 @07:37AM (#34894608)
> plenty of benchmarks

What kind of benchmarks? Microbenchmarks that test specific JIT capabilities or something that better represents the average user experience.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by rejectfinite on Saturday February 18, 2023 @06:41PM (#34852330)
I am a Firefox user NOW but before Quantom it WAS dog slow compared to Chrome.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by aaronmdjones on Saturday February 18, 2023 @07:02PM (#34852504)
I've been a consistent Firefox user since the days of 3.5, and only Firefox at that. Before Quantum it was noticeably slower than the competition; even Internet Explorer, let alone the people I saw using Chrome on comparable hardware.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by 2h on Saturday February 18, 2023 @05:46PM (#34851894)
> The idea of a well-defined extensions interface is not a bad idea.

when I am forced to register on addons.mozilla.org, just to install an extension that I wrote, yes, that is a bad idea.

Give users the option to say "yes, I understand that this is not an 'approved' addon. install it anyway"

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by cxr on Sunday February 19, 2023 @07:02AM (#34856869)
> Remember that decade where Firefox shed market share to Chrome for being too "slow" and "bloated"? Yeah, and it was that way because Mozilla couldn't change a damn thing without half of the entire extensions ecosystem imploding with every release.

This is misleading. Like wildly so. The imprimatur that the Firefox team was working under meant that they absolutely could, and very often did, break things from release-to-release.

The long, slow decline related to slowness at the core of Firefox had very little to do with extensions (the unwillingness to break them, that is). The real reason is that the work needed for what was eventually delivered in the overhaul that made XUL obsolete was work of the sort that takes a long time to complete. If anyone had stumbled upon working patchsets for those goals stuff through divine revelation and had the ability to say so, then they would have broken things sooner.

If anything, keeping XUL extensions around while all this work was being done helped prop up Firefox's user numbers for a while longer. (Compare to if XUL, while still technically viable, had been killed 10 years ago with a feature flag by fiat and then multiprocess, parallel rendering, and other deliverables related to Gecko Rustification were still as many years away as they actually were.)

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by lapcat on Saturday February 18, 2023 @02:34PM (#34850229)
> This is not so much a win as a holding action after a bad choice.

That choice was made over 7 years ago. It may or may not have been a bad choice, but at this point Firefox is well beyond the "mitigation" phase of its previous add-on API migration.

As an extension developer myself, I was happy that Chrome, Firefox, and Safari all had similar implementations with Manifest V2. Now it's in a very awkward phase again.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by foepys on Saturday February 18, 2023 @03:41PM (#34850853)
* * *
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by phpisthebest on Saturday February 18, 2023 @04:00PM (#34851036)
you can not have both competition in the browser market, and every browser being the exact same all the time...

I prefer less monopoly and more competition

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by lapcat on Saturday February 18, 2023 @04:19PM (#34851211)
> you can not have both competition in the browser market, and every browser being the exact same all the time...

Are you claiming that there can't be such a thing as web standards? HTML?

Why would an extension standard be any different from an HTML standard?

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by account42 on Wednesday February 22, 2023 @07:49AM (#34894703)
Web standards should specify the semantics of HTML, CSS, etc, not dictate how exactly the browser operates. Limiting extensibility of all browsers just because there is some webextensions standard is ridiculous. Similarly, browsers should be able to ignore user-hostile parts of specs like the HSTS spec trying to dictate that users cannot override the certificate validitation.

In fact, even how websites are rendered should ultimately be up to how the user has configured his browser even if some spec says otherwise. This includes being able to install effective ad blockers that remove elements and deny requests that should be there according to the standard.

Think of web standards more as the definition of a common language between websites and browsers and not as a rulebook for either.

Re:Mozilla solves the Manifest V3 puzzle to save ad blockers... by gorhill on Saturday February 18, 2023 @04:02PM (#34851061)
> It may or may not have been a bad choice

It was a necessary choice, the previous framework for extensions was not multiprocess-compatible.