Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 respuesta
  • 1 tiene este problema
  • 40 visitas
  • Última respuesta de user1929

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?

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!