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

搜尋 Mozilla 技術支援網站

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

了解更多

Silent install of extension on MAC os

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 dcarva

more options

Hello!

I can successfully install a Firefox extension, enabled, on Windows OS using the autoconfig.js in conjunction with mozilla.cfg. However, in MAC OS I can get the extension to install but it still prompts me to install, unlike Windows. It’s as if the mozilla.cfg file is not taking effect and overriding the prompt. Here is where I placed the files:

1) Copied the autoconfig.js file under Applications/firefox.apps/contents/Resources/defaults/pref.

autoconfig.js has:

// Comments - do not remove this line pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);

2) Copied the mozilla.cfg under Applications/firefox.apps/contents/. Note: I tried putting the mozilla.cfg file in different locations as well. No luck.

Mozilla.cfg has:

pref("extensions.enabledScopes", 15); pref("extensions.autoDisableScopes", 0); pref("extensions.enabledAddons", true);

Any suggestions?

Thanks Danny

Hello! I can successfully install a Firefox extension, enabled, on Windows OS using the autoconfig.js in conjunction with mozilla.cfg. However, in MAC OS I can get the extension to install but it still prompts me to install, unlike Windows. It’s as if the mozilla.cfg file is not taking effect and overriding the prompt. Here is where I placed the files: 1) Copied the autoconfig.js file under Applications/firefox.apps/contents/Resources/defaults/pref. autoconfig.js has: // Comments - do not remove this line pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); 2) Copied the mozilla.cfg under Applications/firefox.apps/contents/. Note: I tried putting the mozilla.cfg file in different locations as well. No luck. Mozilla.cfg has: pref("extensions.enabledScopes", 15); pref("extensions.autoDisableScopes", 0); pref("extensions.enabledAddons", true); Any suggestions? Thanks Danny

被選擇的解決方法

Sorry to waste a posting. I was able to find a separate MAC machine and my steps worked on that machine. Not sure why two Sierra machines would behave differently. I will look into that.

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

Note: Browser version is 49 and Mac OS 10 Sierra.

more options

選擇的解決方法

Sorry to waste a posting. I was able to find a separate MAC machine and my steps worked on that machine. Not sure why two Sierra machines would behave differently. I will look into that.