News for hackers. Stuff that matters.
Re:Firefox 55 and Selenium IDE by sweep3r on Monday August 21, 2017 @01:52AM (#15062253)
This is what is going to happen to most extensions. Mozilla is bonkers, doing this. They're going to regret it.
Re:Firefox 55 and Selenium IDE by Animats on Monday August 21, 2017 @03:00AM (#15062491)
Only about 20% of Firefox add-ons have been converted to WebExtension format.

One of the headaches is that access to local storage is asynchronous (in the "promise" sense) in WebExtensions. As a result, if you want something based on stored data such as a stored script or a blocklist to happen early, during page load, you can't get it to run soon enough. This breaks Greasemonkey[1] and NoScript.[2] WebExtensions needs some extensions for them to work. The new features appear to be coming, but represent divergence from cross-platform WebExtensions, and they may not be working in the release version before the XUL death date.

Fortunately, my own add-on didn't need anything that isn't working yet, so I had a successful port.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1332273 [2] https://blog.mozilla.org/addons/2017/08/01/noscripts-migrati...

Re:Firefox 55 and Selenium IDE by Vinnl on Monday August 21, 2017 @05:06AM (#15063031)
The 20% figure doesn't say that much - you'd need to know how many of the extensions used most often are ported. I can very much imagine there being a long tail of extensions that nobody uses.

Also take into account how many Chrome extensions are ported over now that it's easy. For example, the only extension I use that won't get ported over is VimFx, but Vimium has now become available which does exactly the things I used VimFx for.

Re:Firefox 55 and Selenium IDE by quazeekotl on Monday August 21, 2017 @07:58AM (#15063879)
https://arewewebextensionsyet.com/

Unfortunately 75%+ of the most used extensions either arnt ported, wont be ported, or cant be ported.

The situation is pretty grim, mozilla really needs to delay this move, web extensions arnt capable of supporting the functionality lots of these addons require, and its not like XUL is even going away in the near/midterm, this is purely an administrative decision.

If they plow forward anyways its going to really, really hurt firefox.

Re:Firefox 55 and Selenium IDE by Vinnl on Monday August 21, 2017 @08:37AM (#15064101)
Although I don't expect it, I can imagine Mozilla delaying it a bit if they have reasonable belief most of those will be ported in a reasonable amount of time.

That said, saying it's an administrative decision really misses the point. XUL support hampers performance, slows down Firefox development, and includes security issues. Those are serious reasons for moving away from them. They might not weigh up to the benefits to you, but you can't deny that they're there.

Re:Firefox 55 and Selenium IDE by moosingin3space on Monday August 21, 2017 @10:32AM (#15064873)
They won't delay it since they've already begun breaking the old XUL extensions API in order to make room for new improvements. This is getting quite tiresome at this point -- extension devs have had over a year to port. If the extension devs are targeting Chrome too, it's easier to use WebExt than XUL anyway, and if they haven't spent this time to engage with Mozilla about expanding the WebExt spec so their extension is not possible in WebExt, the fault lies with the extension dev.
Re:Firefox 55 and Selenium IDE by quazeekotl on Monday August 21, 2017 @11:21AM (#15065196)
I think thats pretty unfair when mozilla has been straight up refusing to implement webextension equivilents to XUL based functionality that a lot of addons depend on.

Such as the fact there is no way to enumerate what sites have html5 local storage stuff stored, thus no way to control or clear it on a per site basis, and they are not interested in changing this, rendering an addon like what self destructing cookies does imposisble...

https://bugzilla.mozilla.org/show_bug.cgi?id=1329745

Or the ability for extensions to construct permission sandboxing

https://bugzilla.mozilla.org/show_bug.cgi?id=1353468

There is objectively a LOT of functionality that is just plain never going to be implemented, thats far from the fault of the extension authors.

Many have been trying to work with mozilla to push in the functionality they need, but if they just get disregaurded and ignored what are they supposed to do exactly?

Don't try to place the blame for this on the extension authors.

Re:Firefox 55 and Selenium IDE by Animats on Monday August 21, 2017 @12:33PM (#15065738)
There is that. For big-name extensions like UBlock Origin and Greasemonkey, there's a Mozilla bug which is used as a tracker for Firefox-side issues which need to be fixed. Lesser extensions don't get that kind of attention.

When I was porting my extension, my big worry was "is there going to be something I need to do that doesn't work?" But there were no show-stopper bugs.

Re:Firefox 55 and Selenium IDE by clarry on Monday August 21, 2017 @03:52AM (#15062700)
> if you want something based on stored data such as a stored script or a blocklist to happen early, during page load, you can't get it to run soon enough. This breaks Greasemonkey[1] and NoScript.[2]

How does UBO work? Or is it broken too?

EDIT: Thanks for the replies. I know there's a webext version of UBO, but that doesn't really explain why the problem I quoted would affect noscript and greasemonkey but not ubo?

Re:Firefox 55 and Selenium IDE by naibafo on Monday August 21, 2017 @04:27AM (#15062859)
UBlock Origin has a working version in the dev channel [1]

[1] https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...

Re:Firefox 55 and Selenium IDE by Animats on Monday August 21, 2017 @04:08AM (#15062772)
There were problems, but they seem to be past them.[1]

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

Re:Firefox 55 and Selenium IDE by naibafo on Monday August 21, 2017 @04:25AM (#15062854)
At least the ones I use are all migrating and the issue at the moment is more, that new versions are pushed to the Mozilla store but waiting for approval - If Mozilla doesn't speed up that process, a lot of extensions will probably be missing for a while.

The only really sad thing is that pentadactyl/vimperator won't work at all and require complete rewrites to cover at least part of the old functionality.

Re:Firefox 55 and Selenium IDE by mixedCase on Monday August 21, 2017 @02:08AM (#15062308)
Are they? The old system is holding improvements back. If they move to a superset of Chrome's they can still get Chrome add-ons and then some.

If people value the old extension system that much, then it will live on in one of the FF forks. Regardless Firefox will finally get faster, more responsive, more secure, AND still have a better extension API than Blink/WebKit.

Re:Firefox 55 and Selenium IDE by Grue3 on Monday August 21, 2017 @02:29AM (#15062380)
The only reason to use Firefox is because many of its extensions are not possible in any other browser. Watch the market share drop after the extensions are dumbed down to Chrome level.
Re:Firefox 55 and Selenium IDE by ohthehugemanate on Monday August 21, 2017 @02:39AM (#15062407)
Only reason?

I use Firefox because it's way faster, more stable, and from an organization that I trust. I run Nightly, which means that I made the shift to Webextensions last week. My only extension that didn't have a WE version or alternative was LastPass. No surprise, since they seem to take such poor care of their extensions anyway. That's a Deal Breaker for me, so I switched to pass.

Re:Firefox 55 and Selenium IDE by aorth on Monday August 21, 2017 @03:51AM (#15062693)
I'm not sure if it's faster yet, but Firefox 57+ is getting very good due to all the radical changes they have been making in the last year. If you haven't checked out Firefox in a while I think you should try Firefox Nightly...
Re:Firefox 55 and Selenium IDE by nindalf on Monday August 21, 2017 @04:27AM (#15062861)
Fwiw I haven't had an issue with Lastpass, before or after the change to the extension API. They appear to be using the exact same code base as in the Chrome extension and that's fine by me.
Re:Firefox 55 and Selenium IDE by tw21 on Monday August 21, 2017 @06:02AM (#15063314)
Same here... Firefox remains my default browser for its indepence. And it is great to see it improve. Once they catch up with the Webapi I hope they keep expanding it beyond a Chrome copy.
Re:Firefox 55 and Selenium IDE by sweep3r on Monday August 21, 2017 @02:41AM (#15062417)
Firefox is way faster than what? IE6?
Re:Firefox 55 and Selenium IDE by sgift on Monday August 21, 2017 @03:44AM (#15062663)
Firefox nightly, which will end up as FF57, uses less memory than Chrome and is faster. (Windows, x64). One of the reasons this was possible was disabling the old extension system. Does it hurt? Sure. Was it needed? Yes.
Re:Firefox 55 and Selenium IDE by quazeekotl on Monday August 21, 2017 @08:03AM (#15063902)
Do you have any evidence this is actually true? XUL is still there, the firefox UI is still written in it and it will be for quite some time to come. I find it hard to beleive disallowing XUL extensions have significantly sped anything up.
Re:Firefox 55 and Selenium IDE by seba_dos1 on Monday August 21, 2017 @08:50AM (#15064157)
Disallowing XUL extensions made it possible to make many underlying changes that otherwise would break a lot of them. There are plenty of long-lasting tickets on Bugzilla being finally tackled in Firefox 57.
Re:Firefox 55 and Selenium IDE by jsudhams on Monday August 21, 2017 @02:53AM (#15062466)
I don't use extension any extension but i use Firefox on Desktop and Mobile. From end user wait time etc i dont see any difference between firefox and chrome. For some reason firefox is seem to be faster than chrome on mobile. I use firefox focus mostly on mobile. It would be really sad to see firefox go away as that is only one which is not tied to OS or tied to provider of webmail etc. I see firefox as a product from browser company.
Re:Firefox 55 and Selenium IDE by sethhochberg on Monday August 21, 2017 @03:49AM (#15062684)
I dunno - I'm a very technical user and I use a pretty vanilla Firefox mostly just because I like/trust Mozilla and don't want to support the web becoming a Webkit / Chrome monoculture.

The only addon I use is LastPass. They support the new extension format just fine. I'm looking forward to the architectural changes coming in Servo, etc, which WebExtensions help make possible. I can't be the only user like me.

Re:Firefox 55 and Selenium IDE by nindalf on Monday August 21, 2017 @04:23AM (#15062841)
Ditto here. I use Firefox exclusively and all of my extensions are supported - OneTab, ublock origin, Lastpass. I fail to understand the narrative of "the only thing keeping FF alive is the handful of extensions that can't be ported to Chrome". I don't think the extension API is where this battle will be fought anyway. Performance and reliability are what users care about - is the browser fast to open, are pages fast to load, is it making other apps slow (memory and CPU consumption), how many tabs can I keep open, does it hang, does it crash, does any website fail to load/misbehave?

I'm confident Firefox will outstrip Chrome in these areas in the next year or so. But if it doesn't... it will die a slow death and the people on HN will assure us it was because NoScript didn't work anymore.

Re:Firefox 55 and Selenium IDE by seba_dos1 on Monday August 21, 2017 @08:54AM (#15064183)
Thankfully, NoScript will still work just fine - it's already a WebExtension/XUL hybrid and Firefox 57 will bring last changes needed to make it fully WebExtensionified :)
Re:Firefox 55 and Selenium IDE by sweep3r on Monday August 21, 2017 @02:24AM (#15062361)
>If people value the old extension system that much, then it will live on in one of the FF forks.

Using a fork is also bonkers. I don't trust the security of my web browsing on a fork. Most people won't, either. So Firefox will just get this nice metric saying "most people have not moved to a fork" and will be able to pat themselves in the back. But it's bogus.

Re:Firefox 55 and Selenium IDE by walterbell on Monday August 21, 2017 @03:43AM (#15062659)
Forks (or old versions of Firefox + extensions) can be run in isolated VMs on platforms like Qubes.
Re:Firefox 55 and Selenium IDE by 4c2383f5c88e911 on Monday August 21, 2017 @04:12AM (#15062792)
That's kind of a moot point when your browser handles most of your online interactions (and therefore a good chunk of your online identity, which is quite valuable to most people). Even if you isolate it as much as you can, which is a good thing to do in any case, it can still do a lot of damage without escaping the sandbox.
Re:Firefox 55 and Selenium IDE by walterbell on Monday August 21, 2017 @04:24AM (#15062846)
Yes, usage of isolated browser instances should be restricted to information within a single context or risk profile. E.g. a stateless, frequently rebooted VM for occasional use of a particular extension. Or a Bromium micro-VM for each tab, redirect, etc.
Re:Firefox 55 and Selenium IDE by testestx on Monday August 21, 2017 @07:02AM (#15063584)
This is totally impractical, or people would be already doing this when using other browsers as a defense in depth thing.
Re:Firefox 55 and Selenium IDE by walterbell on Monday August 21, 2017 @10:25AM (#15064833)
Bromium claims to be seamless to end-users, but it's not available to consumers, except on some HP devices, https://www.theregister.co.uk/2017/02/13/hp_bromium_virtuali...

As for practicality, if your daily workflow involves a browser extension that has no replacement, the options are:

  - stop doing the task
  - all browsing with insecure browser, no isolation
  - single task with insecure browser, no isolation
  - single task with insecure browser, some isolation
Most people will do #2 or #3. Those who care about security will do #4, with quality of isolation dependent on their threat model.
Re:Firefox 55 and Selenium IDE by toyg on Monday August 21, 2017 @06:14AM (#15063373)
> Mozilla is bonkers, doing this.

No they are not. Anyone who has done (or tried to do) any cross-browser extension development will attest that working with Chrome-style apis is so much faster than trying to make sense of XUL. Look at how many new extensions start life as Chrome-only these days. Chrome did to Firefox what Firefox did to IE - which had an extension mechanism that required C++ (!). Ease of development always wins, because humans are lazy. Mozilla tried for years (and failed) to match that ease of development, and then decided XUL is not a hill worth dying on - especially considering how it also held back a lot of performance-related improvements.

As others have said, it will hurt but it's worth doing if the browser is to survive. It would have probably come sooner had it not been for the FFOS distraction. Once the ecosystem is fully rebased on webextensions, then Mozilla can try an embrace-and-extinguish play if they really want to.

Re:Firefox 55 and Selenium IDE by pilif on Monday August 21, 2017 @04:24AM (#15062847)
the same people who are most vocal about this are the same people that are most vocal about not having multi process support and about having compatibility issues with extensions when the browser updates or when one extension steps onto another extension (all old-style extensions share a single namespace).

Web Extensions are designed in such a way that these issues can go away.

Apparently Mozilla weighs the complaints with regards to missing multiprocess support and addon security issues higher than they weigh the complaints about the old extensions going away.

I wouldn't call this decision "bonkers" either as, clearly, adding security is more important than keeping the platform stuck in the past in order to keep addons used by a minority of users working.

Re:Firefox 55 and Selenium IDE by quazeekotl on Monday August 21, 2017 @04:37AM (#15062900)
>the same people who are most vocal about this are the same people that are most vocal about not having multi process support and about having compatibility issues with extensions when the browser updates or when one extension steps onto another extension (all old-style extensions share a single namespace).

These strawpeople exist only in your mind.