On 7/9/2016 9:13 AM, Kaply Consulting wrote:
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
<http://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
With Firefox 47 (and a fresh user profile), I get positive results
adding this entry to INSTALL_DIR\distribution\distribution.ini:
browser.showPersonalToolbar=true
but I don't get any results by adding this option either in
distriubtion.ini or setting it via 'about:config':
browser.showMenubar=true
Anything special needed to use it? I trimmed the matching values from
INSTALL_DIR\defaults\profile\xulstore.json to make sure I wasn't
attempting to set the value from two different places, but that didn't
affect the outcome either.
Thanks in advance 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"