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?
Todas las respuestas (1)
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!