Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Autoconfig won't enable extension by default

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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

すべての返信 (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?

この投稿は Zenos により に変更されました