DisplayMenuBar
Set the state of the menubar.
Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Available since 60 | Available since 60 | Available since 149 |
Windows and some Linux only.
The string values below were added in Firefox 72, Firefox ESR 68.5. Earlier versions accept only true or false.
CCK2 Equivalent: displayMenuBar
OMA-URI: DisplayMenuBar
Preferences Affected: N/A
Examples
Section titled “Examples”{ "policies": { "DisplayMenuBar": "always" }}JSON schema
{ "anyOf": [ { "type": "boolean" }, { "type": "string", "enum": [ "always", "never", "default-on", "default-off" ] } ]}Values
Section titled “Values”alwaysmeans the menubar is shown and cannot be hidden.nevermeans the menubar is hidden and cannot be shown.default-onmeans the menubar is on by default but can be hidden.default-offmeans the menubar is off by default but can be shown.
Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\DisplayMenuBar = "always", "never", "default-on", "default-off"<dict> <key>DisplayMenuBar</key> <string>always | never | default-on | default-off</string></dict>