Where Does Firefox Store Preferences When Enabling Menu Bar & Bookmarks Bar?
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
- Shockwave Flash 28.0 r0
- User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
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!