Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Autoconfig won't enable extension by default

  • 1 resposta
  • 1 tem este problema
  • 1 visualização
  • Última resposta por Zenos

more options

We have pointed the thunderbird preferences to our own webservice that generates user based configuration files.

ProgramFiles/Mozilla Thunderbird/default/pref/autoconfig: pref("general.config.filename", "defaults/pref/ourconfig.cfg");

and

in ProgramFiles/Mozilla Thunderbird/default/pref/ourconfig.cfg var env_user = getenv("USERNAME");

lockPref("autoadmin.global_config_url", "http://ourserver/"+env_user);

Ourserver generates a configuration. This works great. Only Hickup we have that our extensions aren't enabled (they sit in the extension folder) and get installed by profile creation. If I curl the configuration and put it directly in to ourconfig.cfg the addons are enabled by default. What am I missing? Ty for your time. Joe

We have pointed the thunderbird preferences to our own webservice that generates user based configuration files. ProgramFiles/Mozilla Thunderbird/default/pref/autoconfig: pref("general.config.filename", "defaults/pref/ourconfig.cfg"); and in ProgramFiles/Mozilla Thunderbird/default/pref/ourconfig.cfg var env_user = getenv("USERNAME"); lockPref("autoadmin.global_config_url", "http://ourserver/"+env_user); Ourserver generates a configuration. This works great. Only Hickup we have that our extensions aren't enabled (they sit in the extension folder) and get installed by profile creation. If I curl the configuration and put it directly in to ourconfig.cfg the addons are enabled by default. What am I missing? Ty for your time. Joe

Todas as respostas (1)

more options

This is way above my abilities and knowledge, but my reading of autoconfiguration is that it is intended only for account set-up; I can't see that it was intended to be used to manage extensions and so forth. Have you seen any documentation that says otherwise?

Modificado por Zenos a