Based on the last assumption, not really, you could always do a condition based 
on a preference that is set per user.

Good thing is you then have some "version control" on when new settings need to 
be pushed out once per user profile, all you need to do is push out a change to 
the AutoConfig file and the next time the user launches FF it will set the 
preferences.

Here is short example typed out of the head so you get an idea of how you could 
do this, you might need to adapt some things if you've been locking down prefs 
etc etc. You probably get the idea! ;) Be sure to do a thorough test before 
running in production!

// Check if a preference is set to the correct value
if (getPref("internalcompany.app.update.enabled") != "1.0")
        {
        // Change the setting
        pref("app.update.enabled", false);
        // Update the preference to the correct value so it doesn't run on next 
start
        pref("internalcompany.app.update.enabled ", "1.0");
        }

// Martin
-----Original Message-----
From: Enterprise [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: den 14 juli 2016 23:52
To: Kaply Consulting <[email protected]>
Cc: [email protected]
Subject: Re: [Mozilla Enterprise] With current versions of Firefox, how do I go 
about pre-populating, Firefox profile settings?

On 7/12/2016 8:52 AM, Kaply Consulting wrote:
> That's weird. The code is exactly the same:
>
> https://dxr.mozilla.org/mozilla-central/source/browser/components/dist
> ribution.js?q=browser.showpersonaltoolbar&redirect_type=single#457
>
> And it worked in my testing

I'll try again when I get some more time. If I can reproduce the behavior I'll 
add my conf files to a repo and share the link here for review.

> For now, just use my other code and for menubar, use "toolbar-menubar"

The one downside (unless I am misunderstanding the purpose) of using 
mozilla.cfg and the code you provided is that it enforces the setting for all 
users, not just pre-populating it where a standard user account could opt for a 
different setting or where a user in the Guests group would be effectively 
forced to use it.

> I'll check into it.
>
> Mike

Thank you for your help.


_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

The information contained in this e-mail message may be privileged, 
confidential, and protected from disclosure. Any unauthorized use, printing, 
copying, disclosure or dissemination of this communication may be subject to 
legal restriction or sanction. If you think that you have received this e-mail 
message in error, please reply to the sender and delete this message from your 
computer.
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to