问题
I have created a firefox webextension that communicates with a native host application. I also have created an installer for the native host application. Is there a way to enable the extension on the firefox when installing the native host application, via windows registry maybe. Thanks in advance.
回答1:
You can install using the registry, as documented at: https://developer.mozilla.org/en-US/Add-ons/Adding_extensions_using_the_Windows_registry
For general instructions that include platforms other than Windows see: https://developer.mozilla.org/en-US/Add-ons/Installing_extensions
来源:https://stackoverflow.com/questions/44760861/add-a-firefox-webextension-when-installing-the-native-host-application