Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.