We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Turn on menu bar automatically

more options

I'm doing mass rollouts of Firefox, so I'm trying to do everything either from a command line or programatically so I have the same setup for each install regardless of the person that did the install.

I want to have the Menu bar turned on by default, and although I see how to turn it on manually, there must be some way to turn it on as part of the install which I'm missing. How would I do this?

I'm doing mass rollouts of Firefox, so I'm trying to do everything either from a command line or programatically so I have the same setup for each install regardless of the person that did the install. I want to have the Menu bar turned on by default, and although I see how to turn it on manually, there must be some way to turn it on as part of the install which I'm missing. How would I do this?

所有回复 (3)

more options

Toolbar customizations are stored in the localstore.rdf file in the individual user's profile. However, someone might know of another way (other than bundling in a modified localstore.rdf file) to trigger that change.

more options

Is there a way to programmatic-ally change the localstore.rdf?

I'm I right in thinking that the line

<RDF:Description RDF:about="chrome://browser/content/browser.xul#toolbar-menubar"
                   autohide="false" />

Is the one I need to change?

Thanks!

由cor-el于修改

more options

I think you are correct, when I show/hide the menu bar, the autohide parameter is what is changed.

I think the menu bar state is set dynamically either during install or first start up, because (at least around the time of Firefox 4) Windows XP gets the menu bar while Windows Vista and later get the orange Firefox button.

Not sure how best to override that. An extension??