News for hackers. Stuff that matters.
Re:Firefox 57 as the first release where only WebExtensions ... by bastawhiz on Saturday February 18, 2017 @11:27AM (#13675303)
> has better addons

The add-ons might be better, but XUL-based Firefox add-ons are not better. They essentially give full control of your computer to the developer of the add-on. There's no permission model. The "APIs" are mostly the internals of Firefox itself, and when Firefox updates, lots of add-ons break.

Most add-ons can be ported to webextensions. The ones that can't probably shouldn't have ever been add-ons to begin with.

Lots of other browsers used to do the same thing Firefox does, and chose to use a webextension-like model instead. Why? Because those screenshots of folks with half their screen consumed by toolbars, weird popups, overlays in the browser viewport, extensions that sneakily inject ads into pages, and track user behavior _still exist_. And there's really nothing Mozilla can do to stop them.

Do you know how Firefox add-ons get approved? A human sits down and sifts through the obfuscated source code. I helped build these tools years ago, I can tell you it's hell. Beyond being error-prone, it causes months-long delays in add-ons getting approved.

Firefox will be better off for only supporting webextensions.

Re:Firefox 57 as the first release where only WebExtensions ... by dagenleg on Saturday February 18, 2017 @11:47AM (#13675429)
But I want the addons to have full control over my browser, that's the whole point! It's my browser and I've tailored it to myself and my requirements.

The one thing that is striking every time I try to use chrome/chromium is just how limited the addon functionality is and how much less freedom the user has. Have you seen "treestyletabs" implementation on chrome? It's a whole other window that has to be started and placed side-by-side with the browser window by user because of the addon limitations. There are also some keybindings which are fixed forever and not allowed to be changed (<C-W>, <C-N> etc).

Of course you can justify the restrictions by bringing up the case of the poor average user who will get abused by his browser having more functionality that he will ever need. But the thing is - I really don't care for the "average user" and its problems. Average user is a beast that is perfectly happy to be contained in the walled garden, but we already have Chrome and Android for that.

Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Saturday February 18, 2017 @12:03PM (#13675513)
> I want the addons to have full control over my browser

I can assure you that you only want this if you can guarantee that your add-ons only do what they claim, don't have security vulnerabilities, and are never acquired and maliciously updated. Otherwise, a permissionless add-on model means a bug in TreeStyleTabs could potentially be used to exfiltrate your entire password database, plant malicious binaries on your system, and destroy local data. If TST had limited permissions along the lines of only being able to manipulate tabs and their UI, that wouldn't be a problem.

> Have you seen "treestyletabs" implementation on chrome? It's a whole other window that has to be started an placed on the left of the screen by user because of the addon limitations.

Firefox will not have this limitation.

Re:Firefox 57 as the first release where only WebExtensions ... by darklajid on Saturday February 18, 2017 @01:09PM (#13675852)
> Firefox will not have this limitation

Is that a statement about future Firefox visions or Firefox 57? I assume you know the gritty details while I'm a rather confused Firefox power user / fan / advocate (using .. addons that are affected, vertical tabs/tree style tabs plus vimperator/pentadactyl mostly).

The outrage The Internet™ seems to feel is probably not about XUL being deprecated/killed. I'd say no user cares about the technology, the only people even caring are probably the addon developers.

From what I can tell, the outrage is mostly due to the impression (and I dearly hope that you will dismiss this as wrong, just like the 'addon limitation' reference above) that the web extension switch happens before popular, polarizing addons are even remotely possible given the new API.

"Will not have this limitation", as in "it won't support that use case in 57 at all" or as in "you can do better than this Chrome extension you describe"?

Re:Firefox 57 as the first release where only WebExtensions ... by pseudalopex on Saturday February 18, 2017 @04:03PM (#13676666)
Firefox 54 will support WebExtension sidebars.[1]

You're basically correct about the APIs, though. Developers of some popular add-ons don't know when or if the APIs they need will be implemented. Support for migrating gradually (embedded WebExtensions) was just released in 51 and will be gone in 57 -- not even a full ESR cycle.

Developer burnout is a problem, too. This comes right after many of them put in significant work making their now-deprecated code multiprocess-compatible, which came after mandatory extension signing, which came after a bunch of UI changes. It's not surprising some of them have quit.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1208596

Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Sunday February 19, 2017 @02:44AM (#13678610)
Pseudalopex pretty much nailed it; Google has strongly resisted adding sidebar APIs to Chrome, or allowing add-ons to hide / relocate the tab bar. Those are two of the major reasons why it's difficult to build a quality Tree Style Tabs add-on for Chrome. Firefox will explicitly include APIs that allow that, which should be landing soon.

Most of these changes and their timelines are motivated by fundamental architectural work happening deep down in Firefox. We're doing the best we can to get as many add-on APIs in place before 57, but for heavy add-on users, it has the potential to be a rough transition.

For deeper meddling in the browser, and for APIs that don't yet exist, WebExtension Experiments (https://webextensions-experiments.readthedocs.io/en/latest/i...) should provide a reasonable option. Basically, you can keep using old-style "bootstrapped" add-ons in DevEdition and Nightly. Kind of an explicit way to opt-out of API stability guarantess so we can continue refactoring the browser core. Experiments are intended for prototyping new WebExtension APIs for eventual inclusion into mainline Firefox, but you could also use them for power-user APIs, so long as you don't mind the maintenance burden.

Re:Firefox 57 as the first release where only WebExtensions ... by yellowapple on Saturday February 18, 2017 @01:41PM (#13676015)
"Firefox will not have this limitation."

Can you clarify/elaborate? Last I heard, UI modification by web extensions was still unconfirmed at best.

Re:Firefox 57 as the first release where only WebExtensions ... by ripdog on Saturday February 18, 2017 @03:40PM (#13676571)
A sidebar API and tab modification API will be implemented specifically to allow TST to work. The addon will have to be rewritten completely on a very short timescale, though.
Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Saturday February 18, 2017 @04:19PM (#13676749)
So, can I use that to add Tab Thumbnails to Firefox? Can I use it to port AutoHiDPI, which changes the scale of the UI depending on which screen the window is on?

Can I use this to replace the entire browser history system and omnibar autocomplete with a custom one?

Can I use this to replace the entire browser chrome?

Some of these changes I need (AutoHiDPI) to use a browser at all. Others I wish for. All of them I currently am using.

The alternative is me staying on an ancient browser, or forking Firefox and browsing with a horribly outdated and barely patched version. Or reading HN with a magnifying glass.

Re:Firefox 57 as the first release where only WebExtensions ... by callahad on Sunday February 19, 2017 @02:30AM (#13678566)
Replacing the entire browser chrome is unlikely to happen on the release channel of Firefox, but everything else has potential.

Generally, the way forward will be to use WebExtension Experiments (https://webextensions-experiments.readthedocs.io/en/latest/i...), which let you run classic-style "bootstrapped" add-ons in Firefox Developer Edition or Nightly. The intended use is for prototyping new WebExtension APIs for eventual inclusion into mainline Firefox, but nothing limits you to that usage.

Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Sunday February 19, 2017 @05:29AM (#13679067)
That’d require a lot of work from me – at this point it would be easier for me just to switch to Vivaldi, or hardcode my fixes as patches into Firefox itself.

In fact, the per-screen HiDPI setting even has an environment variable on most Linux systems (Qt’s QT_SCALE_FACTORS), but Firefox completely ignores that.

I don’t have the time anymore to rewrite half the UI stack of every single application I use, and then take over maintenance of that. I’ve done that with a few open source projects, but my time is limited. And if I wanted to implement extending the UI properly, I’d definitely have to rewrite the entire stack, similar to what Browser.html does.

Re:Firefox 57 as the first release where only WebExtensions ... by digi_owl on Sunday February 19, 2017 @09:46AM (#13679947)
Dunno if you have taken a look at Palemoon.

https://www.palemoon.org/

Re:Firefox 57 as the first release where only WebExtensions ... by kuschku on Sunday February 19, 2017 @10:51AM (#13680213)
If I already have to switch the browser, I might as well switch to Vivaldi.

But neither of them is good enough. (Especially Palemoon’s UI is painful to look at, and hard to fix).

Re:Firefox 57 as the first release where only WebExtensions ... by digi_owl on Monday February 20, 2017 @08:41AM (#13687079)
Well Palemoon is a fork of pre-Australis Firefox that is trying to maintain compatibility with the existing XUL extensions as best i can tell, so i figured the transition would be smaller than going to a webkit/chrome based browser.
Re:Firefox 57 as the first release where only WebExtensions ... by bartvk on Sunday February 19, 2017 @02:03AM (#13678504)
You could continue to use Firefox LTS until somewhere in 2018.
Re:Firefox 57 as the first release where only WebExtensions ... by kibwen on Saturday February 18, 2017 @12:13PM (#13675573)
> But I want the addons to have full control over my browser, that's the whole point! It's my browser and I've tailored it to myself and my requirements.

Owning the code that runs on your machine is your right as a user of open-source software, but there's no right that says that Mozilla must be the one to maintain that code. And nobody's asking you to maintain your own personal fork either: find all the other people who care about unlimited (if fragile) browser extensibility via unrestricted addons and form a community (or hell, a corporation) to collectively make the browser you want, starting from a fork of Firefox (or Chromium, or Midori).

If you believe that there are enough people in your position to make such a collaboration successful, then you're all set. And if you don't believe that there are enough people out there who care about unrestricted addons to make such a project viable, then--while I sympathize with your plight--maybe it makes business sense for Mozilla to drop support for unrestricted addons, especially due to the ways that this feature hinders all the other features that Firefox users are clamoring for: speed, reduced memory usage, speed, HTML5 adoption, speed, ES6+ adoption, speed, speed, security, and speed.

Re:Firefox 57 as the first release where only WebExtensions ... by CaptSpify on Saturday February 18, 2017 @12:46PM (#13675720)
> but there's no right that says that Mozilla must be the one to maintain that code.

And there's no right that says I have to use FF. They are giving up one of their big advantages.

Re:Firefox 57 as the first release where only WebExtensions ... by kibwen on Saturday February 18, 2017 @01:13PM (#13675866)
From where I stand, it looks like they're trading one of their big advantages for a massively reduced maintenance burden which will unquestionably allow them to compete better on every other front. It may or may not pan out, but I think we can all agree that some change of trajectory from the past few years is needed if Firefox hopes to stay relevant. You're free to think that Mozilla leadership is incompetent, but in this particular instance I think their stance is grounded in sound reasoning, as inconvenient as it is undoubtedly is for some power users.
Re:Firefox 57 as the first release where only WebExtensions ... by CaptSpify on Saturday February 18, 2017 @04:01PM (#13676656)
> You're free to think that Mozilla leadership is incompetent

Source on me saying that? I think they are making a few dumb decisions, but that's putting a lot of words in my mouth.

FF has very few advantages. They aren't competing on speed, mind-share, ease-of-use and now they aren't competing on reliability of add-ons. I get that this can help them focus, but pushing away their limited user-base is like using an axe to help a sinking ship.

Re:Firefox 57 as the first release where only WebExtensions ... by detaro on Saturday February 18, 2017 @11:53AM (#13675461)
But Mozilla cares about average users, not about making something for power-users only. That seems to be the big conflict here: power users saying "you've lost the masses, so make something for us" while Mozilla's mission is making something that would be good for the masses, and they'd rather fail trying than failing that mission by abandoning it.
Re:Firefox 57 as the first release where only WebExtensions ... by hlandau on Saturday February 18, 2017 @11:57AM (#13675482)
Except this doesn't make sense.

The set of clueless users who would install arbitrary malicious extensions and the set of clueless users who would download and run arbitrary executables is basically the same. Yet if they do the latter, any extention sandboxing is completely and utterly moot. It's the same issue as with mandatory extension signing; requiring signing for extensions while nothing stops someone from downloading an unsigned .exe (which could memory-patch Firefox if it so wished) is absurd.

Re:Firefox 57 as the first release where only WebExtensions ... by yuhong on Tuesday February 21, 2017 @01:59AM (#13693824)
I think the difference is that they want to try to prevent installers from installing unapproved extensions, which even many of the software that looks more legitimate often does. See https://developer.mozilla.org/en-US/Add-ons/AMO/Policy/Revie...
Re:Firefox 57 as the first release where only WebExtensions ... by hlandau on Tuesday February 21, 2017 @02:09PM (#13698553)
Yes, and the point of this is what, exactly?
Re:Firefox 57 as the first release where only WebExtensions ... by yuhong on Tuesday February 21, 2017 @06:19PM (#13701153)
In particular, all the checked by default boxes to install things like the Ask Toolbar.
Re:Firefox 57 as the first release where only WebExtensions ... by Amezarak on Saturday February 18, 2017 @12:55PM (#13675774)
The only reason Firefox became popular in the first place is because it was adopted by power users, who then evangelized it to their less technical friends and family.

When Firefox is no longer an attractive option for power users, the only thing it will have going for it is ideology. And that will not be enough to compete.

Re:Firefox 57 as the first release where only WebExtensions ... by alphapapa on Saturday February 18, 2017 @12:06PM (#13675534)
The power users are saying, Firefox became successful by being powerful. When it ceases to be powerful, it will cease to be successful. People will just use Chrome.
Re:Firefox 57 as the first release where only WebExtensions ... by bonzini on Saturday February 18, 2017 @12:37PM (#13675669)
Most average users have already switched to Chrome. Even slightly above average users are going to lose from the switch to WebExtensions.

I do not consider myself a power user of Firefox, but the two extensions I use (DownThemAll and tab groups) are not going to be ported.

Re:Firefox 57 as the first release where only WebExtensions ... by beerbaron23 on Saturday February 18, 2017 @11:27PM (#13678191)
But when they roll out their Servo Renderer late this year everyone will be singing a different tune. Firefox is already faster then Chrome with the Electrolysis update, but Servo is rendering completely on the GPU. I just tested the the dev build of Servo and it's so fast it almost kicked my dick off!

Servo has been in Dev for 5 years, so if google isn't working on something to compete with that, Firefox is going to completely dominate the web for years.

Re:Firefox 57 as the first release where only WebExtensions ... by shard972 on Saturday February 18, 2017 @11:52AM (#13675455)
While i agree with the idea of being able to install whatever you want. What's wrong with it being behind a developer mode?

I would bet that 99%~ people don't need or even want that kind of absolute freedom. As a chrome user, the only plugin I have that I can't get on the play store is one for downloading youtube videos but I can still install it from the author website, just takes a few extra clicks.

Re:Firefox 57 as the first release where only WebExtensions ... by mook on Saturday February 18, 2017 @12:06PM (#13675531)
> What's wrong with it being behind a developer mode?

The fact that one doesn't exist. "Developer edition" is really just their alpha build, they don't have release builds that allow unsigned extension installs.

Re:Firefox 57 as the first release where only WebExtensions ... by Caspy7 on Saturday February 18, 2017 @01:00PM (#13675806)
You mean like the Unbranded builds of Release (and Beta) that allow unsigned extension installs?

https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded...

It seems that those very much exist.

Re:Firefox 57 as the first release where only WebExtensions ... by mnordhoff on Saturday February 18, 2017 @12:58PM (#13675793)
Re:Firefox 57 as the first release where only WebExtensions ... by mook on Saturday February 18, 2017 @01:15PM (#13675875)
Ah! Thank you, I stand corrected. I didn't realize they actually have those now. Still hard to find, but at least they exist.
Re:Firefox 57 as the first release where only WebExtensions ... by CaptSpify on Saturday February 18, 2017 @12:47PM (#13675728)
How easy is it to switch to Developer mode? Genuinely asking
Re:Firefox 57 as the first release where only WebExtensions ... by masklinn on Saturday February 18, 2017 @11:54AM (#13675463)
> They essentially give full control of your computer to the developer of the add-on.

That's the entire point. Firebug could not have existed as a WebExtension, and thus without XUL addons the entire web development field could still be on Venkman or Script Editor rather than where it is now.

The XUL extensions model allows extensions in ways unmatched by WE, and yes the development experience isn't tremendous and it's a serious security risk, but that means it's possible to experiment or customise in ways WE don't allow. Users could get things like NoScript and greasemonkey and ad blockers and tree-style tabs without having to demonstrate its value to the browser developer and needing to get the tool itself or some necessary API integrated and merged into the browser.

> Most add-ons can be ported to webextensions. The ones that can't probably shouldn't have ever been add-ons to begin with.

That is utter garbage.

Re:Firefox 57 as the first release where only WebExtensions ... by Amezarak on Saturday February 18, 2017 @12:59PM (#13675797)
> That is utter garbage.

For real. I understand the security argument, but that poster and Mozilla in general seem to be making the argument that "no, you're wrong, you don't know what you want, we're going to tell you what you want, and it's a less feature-rich Firefox."

Well, I use Firefox, and I evangelize Firefox to everyone I know, on the basis, essentially of the extensions, and most of the popular Firefox extensions would have never come into existence with the new extension model. Mozilla is developing APIs to grandfather some of them in, but they're still reducing the possibility space from "anything" to "what we expose through these APIs", so new extensions that change everything will no longer come into being.

And aside from that, they don't even cover everything; I've already been notified by the developers of two extensions I use that they either can't or won't be switching over.

I really do have to agree with the people who are saying Mozilla has totally lost the plot. I've disabled automatic updates until I can figure out what I'm going to do.

Re:Firefox 57 as the first release where only WebExtensions ... by frik on Saturday February 18, 2017 @12:09PM (#13675552)
Exactly. Now they killed Firebug. And their newer DevTool has a Firebug skin - just a skin. Very bad devision. So now I reverted back to an older Firebug version, which is actually the true Firebug addon.

This means I will now have a zoo of old outdated browsers. Safari 5.1 Win32, Firefox 56 Win32 with Firebug addon, IE11 on Win7 (plus Chrome, Vivaldi and Servo alpha)

I have hope in a lightweight reboot of Firefox based on Servo with HTML based UI (like Firefox was a lightweight reboot of Mozilla Suite; funny that Firefox is now many times more bloated than Mozilla Suite (now called SeaMonkey https://en.wikipedia.org/wiki/SeaMonkey ) and has less features)

Re:Firefox 57 as the first release where only WebExtensions ... by pikzen on Saturday February 18, 2017 @12:46PM (#13675718)
The question "Why would you use Firebug considering both Firefox Dev Tools and Chome Dev Tools have more features and don't cause the entire browser to horribly lag?" remains.
Re:Firefox 57 as the first release where only WebExtensions ... by frik on Sunday February 19, 2017 @02:26AM (#13678556)
I use all three tools. But Firebug still has features that aren't implemented in both other tools. You can read the Bugzilla entries, sadly Mozilla cut off Firebug too early, many minor features (eg DOM tab) were just recently added to Firefox DevTools and aren't working 100% because of glitches and bugs. And Chrome DevTools don't has those features at all.

(I use a separate Firefox instance for development, and it's not my number one browser for years because it can't handle hundreds of open tabs - IE and Chrome excel on that (my) requirement for 10 years.)

Re:Firefox 57 as the first release where only WebExtensions ... by alphapapa on Saturday February 18, 2017 @12:05PM (#13675521)
> The add-ons might be better, but XUL-based Firefox add-ons are not better. They essentially give full control of your computer to the developer of the add-on.

IOW, the addons are software, just like Firefox is. That is what makes them useful.

> Most add-ons can be ported to webextensions. The ones that can't probably shouldn't have ever been add-ons to begin with.

I hope you realize that this attitude is 100% the opposite of the original Mozilla team, and that Firefox and Mozilla would not exist today if it had been. Firefox became what it is today because of its customizability and its empowerment of users.

> Firefox will be better off for only supporting webextensions.

On the contrary, it will no longer be Firefox. That is the point that we 15-plus-year, loyal users have been trying to drive through the thick heads at Mozilla.

If I wanted to use a browser like Chrome, I would use Chrome. What kind of product manager thinks he can beat his competitor by essentially duplicating their product, when there is no differentiation on price? Both browsers are free. People are already using Chrome because Google has what is essentially a Microsoft, IE-style de facto monopoly. People can still use Firefox if they prefer it--but if it ceases to be unique, why would they bother?

Firefox 56 will be the last version of Firefox I use, because Firefox 57 will no longer be useful to me. That is the bottom line.

Re:Firefox 57 as the first release where only WebExtensions ... by chr1 on Saturday February 18, 2017 @11:46AM (#13675423)
> weird popups, overlays in the browser viewport, extensions that sneakily inject ads into pages, and track user behavior _still exist_

all of this is possible to do with webextensions, just add a contentscript for all_urls. Of course webextensions help with some security issues, but not with the ones you mention.

Re:Firefox 57 as the first release where only WebExtensions ... by tyingq on Saturday February 18, 2017 @11:56AM (#13675473)
>XUL-based Firefox add-ons are not better. They essentially give full control of your computer to the developer of the add-on

XUL does open up more attack surface than a web extension. However, web extensions open up enough that you're already in the business of trusting the creator of the extension.

A web extension is fully capable of stealing my online banking credentials, for example.

Re:Firefox 57 as the first release where only WebExtensions ... by unix1 on Saturday February 18, 2017 @01:16PM (#13675886)
> you're already in the business of trusting the creator of the extension

Those were my thoughts exactly.

And tangentially related to your point, I am wondering why the addon developer, who I have explicitly trusted by intentionally installing their software, is not at least on the same or even higher level of trust as an unknown 3rd party web developer whose arbitrary Javascript application the browser automatically installs and runs when I visit a desired 1st party website?

There are no built-in protections that Firefox (or any browser) provides for running arbitrary 3rd party code that happened to be included by an unsuspected website that features 3rd party fingerprinting, tracking user actions, access to DOM, whether for "benign" or malicious purposes. In my mind that is just as, if not more, important for both security and privacy.

It looks like it is yet to be seen whether Mozilla's extended WebExtensions API will provide enough for existing add-ons that use current low-level access that to some level restrict 3rd party web applications.

Re:Firefox 57 as the first release where only WebExtensions ... by weaksauce on Saturday February 18, 2017 @12:32PM (#13675649)
Web extensions are vetted by amo reviewers if they come from that channel. Is it going to catch every single malicious extension? Doubtful. Is it better than nothing? Yes.
Re:Firefox 57 as the first release where only WebExtensions ... by tyingq on Saturday February 18, 2017 @12:42PM (#13675701)
I suppose. The whole idea just seems to miss that for many, online data is more important than my local pc. A web extension that deleted my google account would be more disruptive than an XUL extension that formatted my hard drive. XUL is a superset, but restricting to "web only" leaves you with the most significant subset...at least for me.
Re:Firefox 57 as the first release where only WebExtensions ... by fuzzy2 on Saturday February 18, 2017 @01:04PM (#13675828)
> Web extensions are vetted by amo reviewers [...]

But so is every other type of add-on. You even need to upload source code for binary components. (A XUL extension can include DLLs or their cross-platform equivalents.)

Re:Firefox 57 as the first release where only WebExtensions ... by dblohm7 on Saturday February 18, 2017 @03:30PM (#13676524)
XUL extensions may not include binary components anymore.
Re:Firefox 57 as the first release where only WebExtensions ... by Amezarak on Saturday February 18, 2017 @01:01PM (#13675816)
XUL extensions are also vetted by AMO reviewers if they come from that channel, so that's no change, except to the extent they're easier to review.
Re:Firefox 57 as the first release where only WebExtensions ... by stewbrew on Saturday February 18, 2017 @01:02PM (#13675820)
All add-ons are vetted by amo reviewers -- unless explicitly stated otherwise. That's no argument pro web extensions.
Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @11:40AM (#13675376)
> Firefox will be better off for only supporting webextensions.

Sounds like Firefox developers will be better off. Everyone else will suffer.

I'm a developer, I understand how much the job sucks sometimes (that's why it's a job). But if you want a product to succeed, can't afford to put the comfort of your developers over that of the end user.

Re:Firefox 57 as the first release where only WebExtensions ... by untog on Saturday February 18, 2017 @11:45AM (#13675412)
No, security threats make both developers and users worse off.

It's undoubtedly true that power users will lose a little of the functionality they like in Firefox, but that normal users will have a more secure browser. I'm sure someone will fork Firefox to keep a version alive for those power users.

You might not agree with it, but the logic is sound.

Re:Firefox 57 as the first release where only WebExtensions ... by Amezarak on Saturday February 18, 2017 @01:03PM (#13675821)
> It's undoubtedly true that power users will lose a little of the functionality they like in Firefox, but that normal users will have a more secure browser

Why are these 'normal users' going to use Firefox when their power user friend no longer recommend it, when Google is pushing Chrome as hard as they can on every Google property, and when there are even installers that 'offer' to install Chrome for you? Mozilla can't compete with Google and Microsoft marketing efforts, they can't make anything more than a UI for the most popular mobile browsing platform, and they're alienating power users. Who is going to be pushing Firefox to normal users?

Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @11:54AM (#13675466)
So, fix the problem instead of throwing the baby out with the bathwater.

I get it, it's a hard problem to fix. There would be a lot of pain in getting there, both for Mozilla and addon developers. But throwing in the towel feels like a cop-out.

The logic is sound, but so is closing down every theater because someone got shot in one of them. After all, everyone has TVs and blu-ray players now, and you can't get shot in a theater if there are no theaters...

Re:Firefox 57 as the first release where only WebExtensions ... by untog on Saturday February 18, 2017 @11:58AM (#13675485)
But this is the fix. Instead of allowing open access to the internals of Firefox, which will never be secure, you use a limited API. It isn't difficult to imagine that they can expand this API later to allow things that aren't currently possible. It's a hard problem to fix and there will be pain getting there.

And the theatre analogy is just silly. It's not like shutting down a theatre because someone got shot in it, it's like enacting a "no guns in this theatre" policy instead.

Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @12:07PM (#13675535)
This is a fix. It's not the only fix. I postulate that it's probably not even the best fix for Firefox.

> Instead of allowing open access to the internals of Firefox, which will never be secure

Android, iOS, and many other OSes do this all the time via rather granular ACLs. It can be done.

All analogies are flawed - but Firefox is closing the theaters by completely killing off their add-on interface in exchange for an comparatively shallow experience.

Re:Firefox 57 as the first release where only WebExtensions ... by kibwen on Saturday February 18, 2017 @12:20PM (#13675604)
> Android, iOS, and many other OSes do this all the time via rather granular ACLs.

If it were that simple, then the Chrome team would simply have asked the Android team to provide their expertise in designing Chrome's extension API. And of course, it's not like Android provides apps unrestricted access to the hardware (there's a reason that people bother to root their phones). Firefox addons are currently less restricted than Android apps.

Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @01:50PM (#13676060)
> the Chrome team would simply have asked the Android team to provide their expertise in designing Chrome's extension API

Chrome's choice to not use such ACLs has no bearing on whether it is possible or reasonable for a web browser to use. Chrome is not the be-all-end-all of browser technology.

> Firefox addons are currently less restricted than Android apps.

And that's what could be changed. The lack of restrictions in the current state doesn't mean that it can't (or that it shouldn't) change.

Re:Firefox 57 as the first release where only WebExtensions ... by alphapapa on Saturday February 18, 2017 @12:09PM (#13675551)
The theatre already had such a policy. The sign did not deter the murderer. The analogy is apt.
Re:Firefox 57 as the first release where only WebExtensions ... by bad_user on Saturday February 18, 2017 @11:46AM (#13675421)
I've developed extensions. Chrome and the WebExtensions API is by far the easiest way to do it.
Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @11:56AM (#13675478)
They may be easier to write but they aren't as powerful. There are a number of examples of addons in sibling comments which won't exist any more because Mozilla wanted to make it "easier".

Even PG has remarked in an essay that success isn't easy - the people who will really succeed are the ones who put in the effort to do the hard things.

Re:Firefox 57 as the first release where only WebExtensions ... by kibwen on Saturday February 18, 2017 @12:23PM (#13675620)
Er, designing an honest-to-god specified extensions API is harder than just telling addons developers to run wild with your undocumented and unstable browser internals. Appealing to PG makes no sense here.
Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @01:52PM (#13676075)
> designing an honest-to-god specified extensions API is harder

Of course it's hard. Doesn't mean it shouldn't be done.

> Appealing to PG makes no sense here.

When the argument is being made that it's better to make it easier on Firefox developers at the cost of the user base, the argument made in PG's essay is pretty relevant.

Re:Firefox 57 as the first release where only WebExtensions ... by Manishearth on Saturday February 18, 2017 @02:12PM (#13676149)
> Of course it's hard. Doesn't mean it shouldn't be done.

What? kibwen is saying that that is exactly what Firefox is doing!

Bear in mind that this is not just "copying Chrome's API", it's copying the base design (how the manifest works, etc), and adding new Firefox-specific APIs on top of it. The whole idea is that most of the APIs addons need will be added to firefox's webextensions API.

Re:Firefox 57 as the first release where only WebExtensions ... by kibwen on Saturday February 18, 2017 @02:08PM (#13676130)
> Doesn't mean it shouldn't be done.

It is being done. That's what people are up in arms about.

> When the argument is being made that it's better to make it easier on Firefox developers at the cost of the user base

As far as I can tell, you're the only one making that argument?

Re:Firefox 57 as the first release where only WebExtensions ... by JeremyBanks on Saturday February 18, 2017 @11:44AM (#13675404)
Did you get even read the post you just responded to? It had nothing to do with developer comfort.
Re:Firefox 57 as the first release where only WebExtensions ... by falcolas on Saturday February 18, 2017 @11:50AM (#13675446)
Oh?

> A human sits down and sifts through the obfuscated source code.

> when Firefox updates, lots of add-ons break

> I can tell you it's hell

Re:Firefox 57 as the first release where only WebExtensions ... by hlandau on Saturday February 18, 2017 @11:48AM (#13675436)
>The add-ons might be better, but XUL-based Firefox add-ons are not better.

This statement is contradictory.

>They essentially give full control of your computer to the developer of the add-on. There's no permission model.

Yes. I know. That's why it's better.

>Most add-ons can be ported to webextensions. The ones that can't probably shouldn't have ever been add-ons to begin with.

You're pushing a worldview here in which some entity - Mozilla, presumably - sees fit to decide in what way I should, or should not be able to extend my web browser. I reject this premise.

The whole point of XUL/XPCOM, as you yourself seem to realise, is that it naturally exposes browser internals and thereby enables permissionless innovation. The only reason WebExtensions can even support the use cases it can is because Mozilla basically looked at the popular addons and defined it to be able to support corresponding functionality. Extension developers finding gaps in WebExtensions APIs were invited to communicate this to Mozilla - that is, to ask Mozilla for permission to extend the browser in a certain way (and for them to allocate manpower to adding that API, etc.)

The idea is to make WebExtensions politically palatable by happening to support what's popular, but that very approach proves the impracticality of the premise. If ad blockers were invented tomorrow, would there be a WebExtensions API? Probably not. Would Mozilla bother to allocate manpower to adding an API for it when one person has the idea and asks? Probably not. If Firefox (and before that, Mozilla Suite, etc.) had had only WebExtensions-like APIs from day one, would ad blockers exist today? Probably not. Ergo, we can conclude that future, yet unconceived innovations will be prevented by this change. The "ask us to add an API for it" approach is not acceptable, given that the technology to make this a non-issue (XUL/XPCOM) already exists and is in use.

>Lots of other browsers used to do the same thing Firefox does, and chose to use a webextension-like model instead. Why? Because those screenshots of folks with half their screen consumed by toolbars, weird popups, overlays in the browser viewport, extensions that sneakily inject ads into pages, and track user behavior _still exist_. And there's really nothing Mozilla can do to stop them.

This isn't Mozilla's problem, and as you yourself acknowledge, trying to save users from themselves is a futile effort.

>Do you know how Firefox add-ons get approved? A human sits down and sifts through the obfuscated source code. I helped build these tools years ago, I can tell you it's hell. Beyond being error-prone, it causes months-long delays in add-ons getting approved.

If this upsets Mozilla, they could get out of the extension approval business. Nothing obliges them to intermediate themselves in this way.

No version of Firefox which implements restrictive code signing practices will ever touch any system I control. Currently I use Firefox Developer Edition. It doesn't appear it will be updated after version 56.

Re:Firefox 57 as the first release where only WebExtensions ... by fjdlwlv on Saturday February 18, 2017 @11:38AM (#13675359)
Firefox isn't a webextension. Why should I trust it and nobody else?
Re:Firefox 57 as the first release where only WebExtensions ... by icebraining on Saturday February 18, 2017 @11:40AM (#13675375)
Lots of other browsers used to do the same thing Firefox does, and chose to use a webextension-like model instead.

Really? Name three.

Your arguments may be true, yet they fail to answer the question: "If you hamstring the addons and make everything chrome/chromium like, what's the reasons to use FF then?" If Chrome made all the right decisions, we might as well kill off the Firefox project.

Re:Firefox 57 as the first release where only WebExtensions ... by acdha on Saturday February 18, 2017 @11:53AM (#13675457)
Internet Explorer followed the same path. Edge is more restrictive for the same reasons which the Mozilla developers have discussed at length: security and reliability suffered and users inevitably blame the browser for the results.

Here's a comparison: https://docs.microsoft.com/en-us/microsoft-edge/extensions/m...

Re:Firefox 57 as the first release where only WebExtensions ... by untog on Saturday February 18, 2017 @11:46AM (#13675426)
Your comment assumes that add-ons are the only reason anyone would ever use Firefox. Personally, I don't use many add-ons, and if Firefox is faster or more battery optimised than Chrome, I'll use it.
Re:Firefox 57 as the first release where only WebExtensions ... by icebraining on Saturday February 18, 2017 @11:55AM (#13675470)
Addons are what makes Firefox different. Trading loyal users for those who switch based on circumstantial positions seems absurd to me.