From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Tue, 23 Nov 2021 18:54:33 +0000 (-0600)
Subject: Add support for emptying bookmarks. Fixes #817.
X-Git-Tag: v3.4~6^2~1
X-Git-Url: https://git.p6c8.net/policy-templates.git/commitdiff_plain/b23a559ea939ec91355895fe8afa748cf5005d5e?ds=sidebyside;hp=--cc
Add support for emptying bookmarks. Fixes #817.
---
b23a559ea939ec91355895fe8afa748cf5005d5e
diff --git a/README.md b/README.md
index 0d3a75e..c86e448 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 GPO or Intune with the new Bookmarks (JSON) policy.
+
**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 a9b5eed..de29466 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -838,6 +838,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 2c71153..2c8019a 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -838,6 +838,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 c0d5e34..be37de0 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -838,6 +838,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 65fb305..19e4bdc 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -1351,6 +1351,13 @@
+
+
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index a37a951..841d77a 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -837,6 +837,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 14c10f4..c5983ee 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -839,6 +839,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 0a673bb..9a4a3d0 100644
--- a/windows/ru-RU/firefox.adml
+++ b/windows/ru-RU/firefox.adml
@@ -838,6 +838,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 3dac342..e87c35c 100644
--- a/windows/zh-CN/firefox.adml
+++ b/windows/zh-CN/firefox.adml
@@ -836,6 +836,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 4c4e01c..80437bf 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -836,6 +836,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 æªæ¡ä¾æå®å管ççæ¸ç±¤ã