Firefox aims to simplify cross-browser Extension development

by
in code on (#J940)
Mozilla has been rethinking its add-on architecture for browser extensions, and has just made an announcement that may have profound implications for developers and browser users everywhere:

"Mozilla today announced major changes to how Firefox will implement add-ons going forward. The most important of these is the adoption of a new extension API that will be largely compatible with the one currently in use by Blink-based browsers like Chrome and Opera. This so-called WebExtensions API will ensure that developers will only have to make a few small changes to their code for their add-on to run on Firefox.

http://techcrunch.com/2015/08/21/chrome-extensions-are-coming-to-firefox/
http://www.thetimesgazette.com/mozilla-on-track-to-modernize-firefox-add-on-systems-and-extension-leaves-developers-unhappy/6502/
https://wiki.mozilla.org/WebExtensions

"We would like add-on development to be more like Web development: the same code should run in multiple browsers according to behavior set by standards, with comprehensive documentation available from multiple vendors,"Mozilla's Kev Needham writes in today's announcement. "

Not everyone is happy about it. The developer of the popular DownThemAll browser extension has proclaimed this move to be the end of his extension, and potentially many others. He says,
Gone with DownThemAll! will be add-ons that e.g. let you change major bits about the Firefox user interface (e.g. tabs tree add-ons), add-ons that allow you to do more "advanced" stuff than just showing or slightly altering websites, such as e.g. restarting the browser upon click (unless mozilla kindly provides an API for that, which won't be compatible with Chrome, of course). Add-ons like NoScript will be severely limited in their feature set as well. Say byebye to Greasemonkey and hello to Tampermonkey, with it's limitations. Want that add-on that lets you change the new tab page for something else or enhances that page? Maybe it will be available, maybe not, depending on if and when mozilla kindly provides WebExtensions APIs for such things. And of course, depending on if there will be an author creating this entirely new add-on from scratch.

What this also means: Almost all your existing add-ons will be broken, entirely, save for some Add-on SDK add-ons, namely those that don't do anything fancy. Sure, even today, lots of add-ons break, and some add-ons will not get updated when they do and there are no suitable replacements. However, with this change, almost every add-on will be completely broken and in need of major updating by the extension authors. Good luck with that.

Firefox 41 will be the last version because of the plugin system (Score: 0)

by Anonymous Coward on 2015-08-29 04:31 (#JSRK)

"Starting with Firefox 42, developers will also have to get their extensions reviewed and signed by Mozilla before they can be deployed. ""

I had a situation at work where some software used two years ago was needed today to redo some work. No problem, as I have a folder with the software. Pulled it out, installed the plugin on Chrome..NO! NO PLUGIN FOR YOU!. Okay. This is in a dev environment so is firewalled from the internet. After a few tries I gave up on Chrome. It just can't be used to install plugins locally. No, I am not screwing around with unpacking and repacking extensions.

I pulled up Firefox, installed the plugin, and was good to go. Work was done. Reports were filed. Everyone is happy.

After Firefox 42 this will not be possible. If I had Firefox 42 in the dev environment right now, and no previous versions of the browsers, I would be screwed.

Now, what happens if I am testing for compatibility in a future version of Firefox or Chrome? What then? At what point do we admit that locking out local installs of plugins is a bad thing?
Post Comment
Subject
Comment
Captcha
36, three, 32 and twenty four: the 1st number is?