开发者

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

开发者 https://www.devze.com 2022-12-14 20:22 出处:网络
I wrote firefox extension and want to be able to install it to firefox using sh script开发者_StackOverflow中文版, for example. Is it possible?I found this way:

I wrote firefox extension and want to be able to install it to firefox using sh script开发者_StackOverflow中文版, for example. Is it possible?


I found this way:

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


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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号