Configuration management for Firefox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
591 B

// Autoconf
if(getenv("USER") != "") {
var user = getenv("USER");
} else {
var env_user = getenv("USERNAME");
}
{% if firefox_config_append_domain is defined and firefox_config_append_domain != '' %}
var mail = env_user + '@{{ firefox_config_append_domain }}';
{% else %}
var mail = env_user;
{% endif %}
lockPref("mail.identity.useremail", mail);
lockPref("autoadmin.append_emailaddr", true);
lockPref("autoadmin.global_config_url", "{{ firefox_config_url }}");
lockPref("autoadmin.failover_to_cached", true);
lockPref("autoadmin.offline_failover", true);