为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.