views:

82

answers:

3

I wrote firefox extension and want to be able to install it to firefox using sh script, for example. Is it possible?

+2  A: 

I found this way:

firefox -install-global-extension "C:\Temp\extension-file.xpi"

Vladimir
+1  A: 

Note that the -install-global-extension requires you to actually be able to install it globally (I.E., are root).

https://developer.mozilla.org/en/Installing%5Fextensions has various places you can place an extension, including user writable ones to make it installed.

sargas
+1  A: 

place xpi in GUID named directory in "staging area". I would be more specific but I think you would prefer to read about it.

normal user