Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Learn More

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