X
Tap here to go to the mobile version of the site.

Support Forum

Where Does Firefox Store Preferences When Enabling Menu Bar & Bookmarks Bar?

Posted

I'm just curious from a developer standpoint. Where does the preferences for enabling the Bookmark Bar and Menu Bar go to? Looking into the prefs.js doesn't really show me much. I nailed down that prefs.js and xulstore.json are responsible for the toolbars being enabled, but what specific preferences are responsible?

I'm just curious from a developer standpoint. Where does the preferences for enabling the Bookmark Bar and Menu Bar go to? Looking into the prefs.js doesn't really show me much. I nailed down that prefs.js and xulstore.json are responsible for the toolbars being enabled, but what specific preferences are responsible?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 28.0 r0
  • 5.1.50907.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

More Information

user1929 72 solutions 290 answers

Hi,

The customization preferences are either stored in the "browser.uiCustomization.state" property of prefs.js, or in xulstore.json. In this case, both the menu bar and the bookmarks bar are controlled by xulstore.json - the menu bar being visible is determined by the "autohide" property of "toolbar-menubar', and the bookmarks bar is controlled by the "collapsed" property of "PersonalToolbar".

Hope that helps!

Hi, The customization preferences are either stored in the "browser.uiCustomization.state" property of prefs.js, or in xulstore.json. In this case, both the menu bar and the bookmarks bar are controlled by xulstore.json - the menu bar being visible is determined by the "autohide" property of "toolbar-menubar', and the bookmarks bar is controlled by the "collapsed" property of "PersonalToolbar". Hope that helps!