Skip to content

ManagedBookmarks

Configures a list of bookmarks managed by an administrator that cannot be changed by the user.

The bookmarks are only added as a button on the personal toolbar, they are not in the bookmarks folder.

The syntax of this policy is based on the Chrome ManagedBookmarks policy, with the addition of the Firefox-specific favicon property.

A favicon can be specified for each bookmark. The value must be a data:, http:, or https: URL.

A bookmark's url can be a javascript: URL to create a bookmarklet.

FirefoxFirefox ESRFirefox Enterprise
Available since 83Available since 78.5.0Available since 149

javascript: URLs in Firefox 153, favicon in 152.

CCK2 Equivalent: N/A
OMA-URI: ManagedBookmarks
Preferences Affected: N/A

policies.json
{
"policies": {
"ManagedBookmarks": [
{
"toplevel_name": "My managed bookmarks folder"
},
{
"url": "example.com",
"name": "Example"
},
{
"name": "Mozilla links",
"children": [
{
"url": "https://mozilla.org",
"name": "Mozilla.org"
},
{
"url": "https://support.mozilla.org/",
"name": "SUMO"
}
]
}
]
}
}
JSON schema
ManagedBookmarks JSON schema
{
"items": {
"properties": {
"children": {
"items": {
"properties": {
"favicon": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
},
"toplevel_name": {
"type": "string"
},
"url": {
"type": "string"
},
"children": {
"items": {
"type": [
"object",
"array"
],
"contentMediaType": "application/json"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"favicon": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
},
"toplevel_name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array",
"contentMediaType": "application/json"
}

Software\Policies\Mozilla\Firefox\ManagedBookmarks (REG_MULTI_SZ) =

[
{
"toplevel_name": "My managed bookmarks folder"
},
{
"url": "example.com",
"name": "Example",
"favicon": "https://example.com/favicon.ico"
},
{
"name": "Mozilla links",
"children": [
{
"url": "https://mozilla.org",
"name": "Mozilla.org"
},
{
"url": "https://support.mozilla.org/",
"name": "SUMO"
}
]
}
]
<dict>
<key>ManagedBookmarks</key>
<array>
<dict>
<key>toplevel_name</key>
<string>My managed bookmarks folder</string>
<dict>
<key>url</key>
<string>example.com</string>
<key>name</key>
<string>Example</string>
<key>favicon</key>
<string>https://example.com/favicon.ico</string>
</dict>
<dict>
<key>name</key>
<string>Mozilla links</string>
<key>children</key>
<array>
<dict>
<key>url</key>
<string>https://mozilla.org</string>
<key>name</key>
<string>Mozilla</string>
</dict>
<dict>
<key>url</key>
<string>https://support.mozilla.org/</string>
<key>name</key>
<string>SUMO</string>
</dict>
</array>
</dict>
</array>
</dict>