WebExtensions are an excellent announcement, it is probably going to simplify the life of many developpers. Thanks a lot for that.
However, in my case, there is two major difficulties to port my Chrome extension:
-
we are loading scripts from a page script and pages script cannot access the Firefox API (simple storage to be precise). In Chrome, it is possible to access the browser storage from a content script and more important: from the page script.
-
page scripts are not affected by the cross-domain permissions in package.json. In Chrome, if you set a permission, then content scripts and page scripts are able to make cross-domain requests.
Are WebExtensions going to help with those issues ?