Development settings for web extensions

Mike Lissner mike at
Fri Oct 13 15:38:41 UTC 2017

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> wrote:

> Mike Lissner <mike at> writes:
> > I'm trying to have different variables for my extension during
> development
> > 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
> developers.
> On the JS side, you can check the id with
> Best,
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Dev-addons mailing list