Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

About:config option to enable or disable Menu Bar?

  • 2 个回答
  • 8 人有此问题
  • 5 次查看
  • 最后回复者为 cor-el

more options

I am looking update my workstations to ESR 45 and in the Mozilla.cfg file add a line to turn on the Menu Bar for all devices. Is their an option I can use to enable the Menu Bar?

I am looking update my workstations to ESR 45 and in the Mozilla.cfg file add a line to turn on the Menu Bar for all devices. Is their an option I can use to enable the Menu Bar?

所有回复 (2)

more options

Mike Kaply's blog send you to here in the code to make changes to the menu bar however please see this article for more information: https://mike.kaply.com/2015/08/25/using-hidden-ui-in-the-cck2/

more options

You can't hide or show the Menu bar via a pref on the about:config page. It isn't easy to make the Menu bar show as this is done via by setting an inactive attribute via JavaScript that set the height to 0px as you can see via the DOM Inspector.

Note that you can run privileged JavaScript via mozilla.cfg, but I do not know what you would need to make the Menu bar visible.

This works in the Browser Console:

var menubar = document.getElementById("toolbar-menubar");
setToolbarVisibility(menubar, true);
//setToolbarVisibility(menubar, false);

由cor-el于修改