News for hackers. Stuff that matters.
Re:The Future of Developing Firefox Add-ons by superkuh on Friday August 21, 2015 @10:32AM (#10097694)
Well, this is all terrible. They mention having to use the nightly or developers releases instead of their walled garden versions. But both of those are unstable and very crashy. And how likely are they to keep the unbranded version up and updated as time goes on?

And getting rid of the entire firefox add-ons community is just insane. The add-ons are what makes firefox good. It's why people use Firefox. I guess if they just want us to use Chrome this series of changes will work great.

Re:The Future of Developing Firefox Add-ons by charlesism on Friday August 21, 2015 @10:44AM (#10097797)
I don't have sufficient command of the English language to fully express how strongly I disagree with this. I have an extension which I made for Chrome and Firefox. The Chrome version basically consists of a single Javascript file, and a tiny json file with about 15 entries. I spent perhaps an hour to learn the basics from scratch. I don't have space here to describe all the crap I went through to get the same extension working on Firefox - and I was using their easy API. The Firefox extension development process is one of the most confusing, complicated, experiences I've ever had on a computer. Good riddance!
Re:The Future of Developing Firefox Add-ons by __david__ on Friday August 21, 2015 @12:03PM (#10098374)
Nobody said Firefox was easy to develop add-ons for, the GP said "The add-ons are what makes firefox good". The add-on API itself might be arcane and confusing and horrible, but you basically have access to everything. Since the entire browser is written in XUL, add-ons can override and recreate anything at any level.

The end result is that Firefox users have a much wider array of add-ons to use (despite the add-on system being somewhat crazy by today's standards).

Re:The Future of Developing Firefox Add-ons by charlesism on Friday August 21, 2015 @02:36PM (#10099421)
Well I disagree with him/her there too. What made Firefox good was that it was a lightweight, simple browser, that rendered content exactly the same on three OSes. It's still my main browser, but that's only because I want less Google in my life, and because Safari aspires to be a motion picture instead of a tool. But I haven't considered Firefox actually "good" since probably 2010, or whenever it was that they dumped a bucket of LSD on the interface. Since then it's become a bloated mess.

If someone wants to add toolbars and skins, etc, I suppose the new API would disappoint. But it's hard for me to relate, because I'm not that adventurous. The ones I really care about, generally AdBlock and privacy extensions, just interact with web content, not chrome. That sort of add-on is just as available on Google Chrome.

Re:The Future of Developing Firefox Add-ons by superkuh on Friday August 21, 2015 @04:32PM (#10100033)
Tell it to NoScript.
Re:The Future of Developing Firefox Add-ons by charlesism on Friday August 21, 2015 @07:30PM (#10100862)
Ha, well you do have a point there.
Re:The Future of Developing Firefox Add-ons by CyberShadow on Friday August 21, 2015 @11:26AM (#10098106)
Have you tried the Jetpack SDK?

New, simpler addon APIs are fine, but not when they replace more powerful ones.

I guess that it's inevitable that Firefox has creeped from a "power user browser" to a dumbed-down maintstream one. I guess it's time to start looking for a new power-user browser.

Re:The Future of Developing Firefox Add-ons by charlesism on Friday August 21, 2015 @03:56PM (#10099844)
> I guess that it's inevitable that Firefox has creeped from a "power user browser"

Think about that statement in the context of Firefox's history. It's totally backwards. Firefox was not supposed to be a power user's browser. That was Netscape. Firefox was supposed to be a simple browser. And once upon a time, that's exactly what it was.

Re:The Future of Developing Firefox Add-ons by maxerickson on Friday August 21, 2015 @05:26PM (#10100361)
The mission of the Phoenix browser was to be end user focused. This did involve jettisoning a bunch of complexity that was there for the Mozilla suite or whatever else anybody with commit privileges had thought of, but simplicity wasn't an overriding goal.
Re:The Future of Developing Firefox Add-ons by charlesism on Friday August 21, 2015 @06:09PM (#10100555)
That's not exactly how I remember its origin story, nor how I remember it being written about when it rode its first crest of popularity. The last thing people talked about was Firefox being a tool for power users. It was "Tell your friends and relatives to switch to Firefox! Finally MSIE has worthy competition! Look at how uncluttered and easy to use it is!" I don't recall anyone talking about flexibility, or advanced features, unless they were tied into its ability to render webpages without a bunch a glitches.

Here's the introduction they gave it over at boingboing.net:

" Firefox, an Internet Explorer killer, has gone 1.0

By Cory Doctorow at 3:46 am Tue, Nov 9, 2004

Firefox, the finest, most secure Web browser ever created for average-user applications, went 1.0 today. You can download it below, toss out Internet Explorer, and be relatively assured that you computer won't be compromised due to Microsoft's bad design decisions and lax security maintenance."

Re:The Future of Developing Firefox Add-ons by maxerickson on Friday August 21, 2015 @07:23PM (#10100843)
That sounds pretty compatible with what I wrote. End user and average user mean about the same thing, and my use of "overriding" was pretty intentional.
Re:The Future of Developing Firefox Add-ons by solidpy on Friday August 21, 2015 @07:20PM (#10100833)
And convenience comes with lack of power. Some extensions need access to more powerful features to do their thing. It would make more sense to just keep both.
Re:The Future of Developing Firefox Add-ons by scottjad on Saturday August 22, 2015 @12:38AM (#10101525)
Firefox could support WebExtension, and hence be as easy as Chrome, without deprecating XUL addons.
Re:The Future of Developing Firefox Add-ons by andzt on Friday August 21, 2015 @10:46AM (#10097805)
As someone who has written several extensions across all the different browsers (IE COM Interop FTW!!!) over the last few years, Chrome's dev experience is by far the best in my humble opinion.

Firefox's experience was hamstrung by having to learn XUL and a new and different set of tools and way of doing things. Their approval process and packaging scheme was surprisingly not as streamlined as I would have expected from them either. Chrome's experience is fairly standard and intuitive HTML, JS, and JSON interactions. In most cases it really shouldn't take too long for someone to port or migrate an old Firefox plugin to the new format.

Re:The Future of Developing Firefox Add-ons by epidemian on Friday August 21, 2015 @10:56AM (#10097907)
> It's why people use Firefox.

Extensions are probably the least reason why i use Firefox. The few extensions i use are also available in Chrome. Other reasons to use Firefox (at least for me):

- It's free software.

- Uses less RAM than Chrome (when having many tabs open).

- The address bar is awesome; i can always find previous pages i visited from there without having to google them.

- It's backed up by a non-profit organization, instead of an advertisement company.

Re:The Future of Developing Firefox Add-ons by wsha on Monday August 24, 2015 @03:34PM (#10112456)
It's probably better to compare Firefox to Chromium which is as free as Firefox. I think the RAM and address bar comparisons could be addressed by extensions in Chromium. So really you are left with the last point about funding, but Mozilla gets its money somehow and it's mostly not coming from charitable donations.
Re:The Future of Developing Firefox Add-ons by pekk on Friday August 21, 2015 @02:36PM (#10099419)
The vast majority of Mozilla's funding comes from Google.
[dead]
Re:The Future of Developing Firefox Add-ons by dang on Friday August 21, 2015 @07:37PM (#10100888)
> Wrong. Have you been living under a rock?

Personal attacks are not allowed on HN. Please don't do this again. This comment would be fine if it were just the last sentence.

Re:The Future of Developing Firefox Add-ons by wtbob on Friday August 21, 2015 @02:04PM (#10099200)
> Well, this is all terrible.

That's become my default response to Mozilla news. It reminds me a lot of what I started going through maybe 6 years ago or so with GNOME. 'Wait, what?' 'Why?' 'You've got to be kidding me!'

Re:The Future of Developing Firefox Add-ons by maxerickson on Friday August 21, 2015 @10:40AM (#10097751)
Why do you think they are getting rid of the community? They are (presumably) making life easier for cross browser extension developers, and the first big deprecation is about 16 months away.

We are implementing a new extension API, called WebExtensions—largely compatible with the model used by Chrome and Opera—to make it easier to develop extensions across multiple browsers.

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @10:58AM (#10097924)
> Why do you think they are getting rid of the community?

They're getting rind of those people who are willing to dive deep into the internals do develop something that nobody thought of before (if they did there would be high-level APIs for it).

Re:The Future of Developing Firefox Add-ons by jasonhansel on Friday August 21, 2015 @12:05PM (#10098387)
Exactly. Extensions like Tile Tabs, Tab Mix Plus, and Classic Theme Restorer (all of which I use) may be permanently gone :(
Re:The Future of Developing Firefox Add-ons by brighteyes on Friday August 21, 2015 @01:53PM (#10099118)
I don't think there is anything to worry about there. The blogpost says that they are adding things to the API to allow popular addons to work in the new model, and those addons certainly count.
Re:The Future of Developing Firefox Add-ons by Springtime on Friday August 21, 2015 @07:55PM (#10100952)
I think the point of the comment above that is it's precisely because of the extensive access that such useful addons could be made in the first place and subsequently become popular.
Re:The Future of Developing Firefox Add-ons by uxcn on Friday August 21, 2015 @01:44PM (#10099065)
The default behavior with firefox is honestly borderline unusable for me. I can understand the need for a better add-on API, but I think limiting capabilities will probably end up driving a fork.
Re:The Future of Developing Firefox Add-ons by sp332 on Friday August 21, 2015 @11:10AM (#10097991)
We will also continue supporting SDK add-ons as long as they don’t use require(‘chrome’) or some of the low-level APIs that provide access to XUL elements.

Seems like there's still a lot of power available, if you really want to dive in.

Re:The Future of Developing Firefox Add-ons by Ar-Curunir on Friday August 21, 2015 @11:34AM (#10098164)
What'll happen to amazing addons like pentadactyl and vimperator? These are vastly more useful than their Chrome/Chromium counterparts.
Re:The Future of Developing Firefox Add-ons by wldcordeiro on Friday August 21, 2015 @12:53PM (#10098749)
They're completely broken. Vimperator has an issue on github about getting e10s support but it looks like with these changes it doesn't matter Firefox will permanently break or cripple them.
Re:The Future of Developing Firefox Add-ons by Tobu on Friday August 21, 2015 @02:25PM (#10099338)
They'll probably be less broken, with a proper API: https://wiki.mozilla.org/WebExtensions#Additional_APIs

That kind of keyboard permission could be used for keyloggers though, it's not something every extension should get.

Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @11:14AM (#10098030)
> as long as they don’t use require(‘chrome’) or some of the low-level APIs

That's the powerful parts. The high-level APIs are fairly restrictive, quite similar to chrome APIs, maybe even less powerful on their own.

Re:The Future of Developing Firefox Add-ons by sp332 on Friday August 21, 2015 @11:26AM (#10098102)
I don't know if that means that they will be disallowed, or just maybe broken.
Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @11:47AM (#10098258)
Mozilla has an add-on review process in place. So you probably wouldn't get a new addon approved that relies on those APIs.

And with enforced signature signing you can't even distribute it to users yourself.

So effectively it will restrict extension-development to a whitelist of APIs. Everything else will be verboten, maybe with varying degrees of enforcement.

It certainly doesn't sounds like an open system to me.

Re:The Future of Developing Firefox Add-ons by eli on Friday August 21, 2015 @10:38AM (#10097739)
Firefox Developer Edition is for web developers, not for browser developers. It isn't like a nightly -- it's stable. https://www.mozilla.org/en-US/firefox/developer/
Re:The Future of Developing Firefox Add-ons by dblohm7 on Friday August 21, 2015 @10:50AM (#10097851)
Developer Edition should not be considered stable, by any means. It is still roughly equivalent to the Aurora (ie, alpha) channel.
Re:The Future of Developing Firefox Add-ons by sp332 on Friday August 21, 2015 @11:07AM (#10097973)
It is the Alpha/Aurora channel. They just renamed it. https://www.mozilla.org/en-US/firefox/channel/#developer
Re:The Future of Developing Firefox Add-ons by eli on Friday August 21, 2015 @11:26AM (#10098100)
Huh, I didn't know that. Thanks.
Re:The Future of Developing Firefox Add-ons by superkuh on Friday August 21, 2015 @10:44AM (#10097789)
Have you used it? After I heard about the changes coming down the line in 41 a week or so back I immediately downloaded it and started configuring it to be my new main browser. The only problem was that it crashed constantly. It's just anecdotal but my personal experience backs up what I've said here.
Re:The Future of Developing Firefox Add-ons by the8472 on Friday August 21, 2015 @11:17AM (#10098048)
Well, to give a counter-anecdote: I've been using nightly for years and only experience severe problems maybe a handful times per year, the rest of the time it works fine.

And that's with several extensions and many tabs.

Re:The Future of Developing Firefox Add-ons by ohkine on Friday August 21, 2015 @04:54PM (#10100195)
FYI, i have used Aurora/DevEdition almost exclusively (outside of testing) on at least a dozen different Windows and OS X machines ever since the Aurora channel was created and i have never once had a serious problem. Occasionally i find little visual glitches or whatever, but it rarely ever crashes and i never get data loss or anything severe like that.