Here's some new code that works (I just verified).

//
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;

let xulStore = Cc["@mozilla.org/xul/xulstore;1"].getService(Ci.nsIXULStore);
xulStore.setValue("chrome://browser/content/browser.xul",
"PersonalToolbar", "collapsed", "false");

Starting with Fierfox 47, there will be a pref for this (and for the
menubar).

browser.showPersonalToolbar
browser.showMenubar

Mike


On Wed, Jun 15, 2016 at 1:56 PM, <[email protected]> wrote:

> On 6/15/2016 12:46 PM, Kaply Consulting wrote:
>
>> It might be happening too early. I'll do some testing.
>>
>
> Thanks! Thus far I've tested in 45.0.1 and 46.0.1 and got the same
> results. Your Autoconfig file that restores the old profile copy behavior
> might be the way to go if the (suspected) timing issue can't be easily
> worked around.
>
>
> https://mike.kaply.com/2016/05/24/default-profile-directory-doesnt-work-in-firefox-46/
>
>
>
_______________________________________________
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