From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Mon, 29 Nov 2021 18:46:12 +0000 (-0600) Subject: Merge pull request #830 from mozilla/empty_bookmarks X-Git-Tag: v3.4~6 X-Git-Url: https://git.p6c8.net/policy-templates.git/commitdiff_plain/cab6a5076c1d8e5a1574637709c19b54bdbd669e?hp=91d0208e78ce1afee83108e6df7ae34a50fc10b3 Merge pull request #830 from mozilla/empty_bookmarks Add support for emptying bookmarks. Fixes #817. --- diff --git a/README.md b/README.md index 0d3a75e..29a26d6 100644 --- a/README.md +++ b/README.md @@ -656,6 +656,8 @@ Note: [`ManagedBookmarks`](#managedbookmarks) is the new recommended way to add Add bookmarks in either the bookmarks toolbar or menu. Only `Title` and `URL` are required. If `Placement` is not specified, the bookmark will be placed on the toolbar. If `Folder` is specified, it is automatically created and bookmarks with the same folder name are grouped together. +If you want to clear all bookmarks set with this policy, you can set the value to an empty array (```[]```). This can be on Windows via the new Bookmarks (JSON) policy available with GPO and Intune. + **Compatibility:** Firefox 60, Firefox ESR 60\ **CCK2 Equivalent:** `bookmarks.toolbar`,`bookmarks.menu`\ **Preferences Affected:** N/A @@ -667,6 +669,12 @@ Software\Policies\Mozilla\Firefox\Bookmarks\1\URL = "https://example.com" Software\Policies\Mozilla\Firefox\Bookmarks\1\Favicon = "https://example.com/favicon.ico" Software\Policies\Mozilla\Firefox\Bookmarks\1\Placement = "toolbar" | "menu" Software\Policies\Mozilla\Firefox\Bookmarks\1\Folder = "FolderName" + +Software\Policies\Mozilla\Firefox\Bookmarks (REG_MULTI_SZ) = +``` +[] +``` + ``` #### Windows (Intune) OMA-URI: @@ -682,6 +690,15 @@ Value (string): ``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Bookmarks +``` +Value (string): +``` + + +``` #### macOS ``` diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml index 3abe19f..d459705 100644 --- a/windows/de-DE/firefox.adml +++ b/windows/de-DE/firefox.adml @@ -844,6 +844,16 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, werde Für eine Beschreibung der Einstellung, siehe: https://github.com/mozilla/policy-templates/blob/master/README.md#preferences (Englisch) + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Verwaltete Lesezeichen Wenn diese Richtlinieneinstellung aktiviert ist, können Sie verwaltete Lesezeichen mit Hilfe einer JSON-Datei konfigurieren. diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml index 852861f..f3085d7 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -844,6 +844,16 @@ If this policy is enabled, you can use JSON to configure preferences. If this policy is disabled or not configured, preferences are not modified. For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#preferences. + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Managed Bookmarks If this policy is enabled, you can use JSON to configure managed bookmarks. diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml index 7621b0b..8fae8d6 100644 --- a/windows/es-ES/firefox.adml +++ b/windows/es-ES/firefox.adml @@ -844,6 +844,16 @@ If this policy is enabled, you can use JSON to configure preferences. If this policy is disabled or not configured, preferences are not modified. For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#preferences. + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Managed Bookmarks If this policy is enabled, you can use JSON to configure managed bookmarks. diff --git a/windows/firefox.admx b/windows/firefox.admx index 06a407c..d4fc2e7 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -1357,6 +1357,13 @@ + + + + + + + diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml index b85cd89..d25d776 100644 --- a/windows/fr-FR/firefox.adml +++ b/windows/fr-FR/firefox.adml @@ -843,6 +843,16 @@ If this policy is enabled, you can use JSON to configure preferences. If this policy is disabled or not configured, preferences are not modified. For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#preferences. + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Managed Bookmarks If this policy is enabled, you can use JSON to configure managed bookmarks. diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml index db24957..e4ece5d 100644 --- a/windows/it-IT/firefox.adml +++ b/windows/it-IT/firefox.adml @@ -845,6 +845,16 @@ If this policy is enabled, you can use JSON to configure preferences. If this policy is disabled or not configured, preferences are not modified. For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#preferences. + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Managed Bookmarks If this policy is enabled, you can use JSON to configure managed bookmarks. diff --git a/windows/ru-RU/firefox.adml b/windows/ru-RU/firefox.adml index 3c6ce62..e3425dd 100644 --- a/windows/ru-RU/firefox.adml +++ b/windows/ru-RU/firefox.adml @@ -844,6 +844,16 @@ If this policy is disabled or not configured, onboarding messages will be shown Если эта политика отключена или не настроена, предпочтения не изменяются. Для получения подробной информации о создании политики см. Https://github.com/mozilla/policy-templates/blob/master/README.md#preferences. + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. Управляемые закладки Если эта политика включена, вы можете использовать JSON для настройки управляемых закладок. diff --git a/windows/zh-CN/firefox.adml b/windows/zh-CN/firefox.adml index 1fe80a7..260e664 100644 --- a/windows/zh-CN/firefox.adml +++ b/windows/zh-CN/firefox.adml @@ -842,6 +842,16 @@ If this policy is disabled or not configured, onboarding messages will be shown 若禁用或不设定此原则,则不修改偏好设定。 若需要建立原则的详细信息,请参考 https://github.com/mozilla/policy-templates/blob/master/README.md#preferences。 + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. 受管理的书签 若启用此原则,您可以使用 JSON 文件来指定受管理的书签。 diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml index f3fb308..9e8ddd0 100644 --- a/windows/zh-TW/firefox.adml +++ b/windows/zh-TW/firefox.adml @@ -842,6 +842,16 @@ Mozilla 建議您不要停用 Telemetry。透過 Telemetry 收集到的資訊可 若停用或不設定此原則,則不修改偏好設定。 若需要建立原則的詳細資訊,請參考 https://github.com/mozilla/policy-templates/blob/master/README.md#preferences。 + Bookmarks (JSON) + If this policy is enabled, you can use JSON to configure bookmarks, including [] to clear all bookmarks. + +If this policy is disabled or not configured, the individual bookmark policies are used. + +If this policy is enabled along with individual bookmarks, those bookmarks will not be added. + +This policy has no effect on Managed Bookmarks. + +For detailed information on the JSON, see https://github.com/mozilla/policy-templates/blob/master/README.md#bookmarks. 受管理的書籤 若啟用此原則,您可以使用 JSON 檔案來指定受管理的書籤。