开发者

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开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜