為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to install add-on silently?

  • 5 回覆
  • 12 有這個問題
  • 2 次檢視
  • 最近回覆由 vmelnyk

more options

I need to know how to install an add-on silently I tried to just copy the xpi file into the extensions folder but when I run Firefox it asks me for a permission on this add-on because an outside application added it

I need to know how to install an add-on silently I tried to just copy the xpi file into the extensions folder but when I run Firefox it asks me for a permission on this add-on because an outside application added it

所有回覆 (5)

more options

That is a new privacy / security feature in Firefox 8. Sorry, I don't know how to avoid seeing that dialog window.

Is there any reason that you can't install that XPI using File > Open File?

more options

I want to install it from a C# application (third party)

more options

The user has the choice to accept or reject the installation of add-ons; no way around that dialog window. Too damn many add-ons were being installed in Firefox by other programs or other program updates without sufficient warning to users that something "hidden" was going to be installed, and Mozilla has finally had enough of that abuse of their users.

more options

We are developing application for blind people. Because of this we really need to avoid any extra dialogs and questions. Our installer informs a user about changes (like need java VM update, need FF update etc) on a very beginning then does everything with no any stupid notice. The only problem is your security strategy about FF. It seems weird - our installer has root access, it can install TTS, change environment, open a few TCP ports, install windows driver, but it doesn't have permitions to setup add-on into FF. It seems that you like when developers need to hack your browser. Is it really so hard to return a command line key that allows install add-on?

由 vmelnyk 於 修改