Development settings for web extensions
mike at free.law
Thu Nov 9 18:21:34 UTC 2017
Well, shoot, this was an OK solution, but Chrome, IE, and Opera don't
support onInstalled's details.temporary property.
Any other ideas for how to tell if an extension is being run by a developer
or by web-ext?
On Fri, Oct 13, 2017 at 11:31 AM Mike Lissner <mike at free.law> wrote:
> This is wonderful, thank you very much for your help!
> On Fri, Oct 13, 2017 at 8:56 AM Martin Giger <martin at humanoids.be> wrote:
>> Hi Mike
>> onInstalled tells you if an installation is temporary:
>> On 13.10.2017 17:38, Mike Lissner wrote:
>> Is there a way from within an extension to know if it's being run by
>> web-ext or to know if it was installed locally (as opposed to via AMO?)
>> On Thu, Oct 12, 2017 at 11:42 PM Damien Cassou <damien at cassou.me> wrote:
>>> Mike Lissner <mike at free.law> <mike at free.law> writes:
>>> > I'm trying to have different variables for my extension during
>>> > so that during dev I can be sure not to hit the live server.
>>> what about having 2 manifest.json with a different value for
>>> applications/gecko/id? One id would be for users, one would be for
>>> On the JS side, you can check the id with
>>> Damien Cassou
>>> "Success is the ability to go from one failure to another without
>>> losing enthusiasm." --Winston Churchill
>> Mike Lissner
>> Executive Director
>> Free Law Project
>> Dev-addons mailing listDev-addons at mozilla.orghttps://mail.mozilla.org/listinfo/dev-addons
>> Dev-addons mailing list
>> Dev-addons at mozilla.org
> Mike Lissner
> Executive Director
> Free Law Project
Free Law Project
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev-addons