In view of disagreement with the Mozilla policy and distributions, not to distribute Firefox assemblies that have unlotted possibilities for installing unsigned additions and using the API webextensions. , was developed tool , which forms the usual assemblies of Firefox in the option “Developer Edition”, which allows the use of additions without digital signature.
The development of the tool was facilitated by the fact that the necessary functionality in Firefox was implemented in the code on Ecmascript and is part of any Firefox version, but is included during the code, depending on the established constants. Constants (“Moz_dev_edition”, “Moz_require_signing”) are determined in one file (“Modules/Addonsetts.jsm”), which is located in the ZIP archive “/usr/lib/firefox/omni.ja”.
Accordingly, the proposed utility is the desired file using esprima-python , AST patches and serializes using jscodegen.py . Work with ZIP format is carried out using libzip.py – Binding to Libzip . These libraries are recommended to be installed manually from Git.
You can also note the script unpin.py , which allows you to untie the restrictions “{” == “and “~ =”, on the version of dependencies in the predictable Wheel format, used by many developers, which avoids their automatic Dawngraid when installing the desired package through PIP during default settings.