zalmoxisus / crossbuilder

Building web, Electron, Cordova and Chrome apps, and cross-browser extensions with React, Redux and Webpack. "Write once, deploy everywhere" concept in practice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox extensions

zalmoxisus opened this issue · comments

For building Firefox extensions we use WebExtensions's standards, which is still supported only in Firefox Nightly.

To completely support it, we need:

https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox

The Firefox cannot use unsigned extension now, we should recommend use Firefox Developer Edition and disable xpinstall.signatures.required.

Also, the Firefox Developer Edition which can load local directories.

@jhen0409, Yes, AFAIK, Firefox doesn't support webextensions at all yet, and we need whether Nightly or Developer Edition.

About signing it is indicated in the load section. I know the readme needs rework :)

The original plan of Mozilla was to migrate to WebExtensions by December last year, but it is taking longer, and for now it is difficult to implement something as the API is too limited.

Just FYI here, Firefox has implemented a large number of web extensions API since February ...

http://arewewebextensionsyet.com/

@groovecoder, thanks for the info. Yes, the API is improving. We did support firefox webextension's api in 'v0.3.1'. Specifically for the current boilerplate we also need chrome.runtime.getBackgroundPage to be supported. Strange that according to that page it is already supported, but according the the issue it's not. I'll look into it.

I used it recently so I'm fairly sure it's supported now. That bug may still be open because of some other chrome.runetime method/property that isn't done yet? 😕