Vladimir
Vladimir

Reputation: 13153

Is it possible to write script to automatically install firefox plugin?

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

Upvotes: 0

Views: 2669

Answers (4)

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

The above command cease to exist. Its no longer working with release of ff 3.5.

RIP -install-global-extension

Upvotes: 0

normal user
normal user

Reputation: 21

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

Upvotes: 1

sargas
sargas

Reputation: 1144

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_extensions has various places you can place an extension, including user writable ones to make it installed.

Upvotes: 1

Vladimir
Vladimir

Reputation: 13153

I found this way:

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

Upvotes: 2

Related Questions