This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Silent install of extension on MAC os

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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.

Read this answer in context 👍 0

All Replies (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.