From 6d24e31c4a732a57532162b1671857c4d773fbf0 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 18 Aug 2025 15:32:58 -0400
Subject: [PATCH] Add support for Category
---
docs/index.md | 16 +++++++++++++++-
linux/policies.json | 1 +
mac/org.mozilla.firefox.plist | 2 ++
windows/de-DE/firefox.adml | 6 ++++++
windows/en-US/firefox.adml | 9 +++++++++
windows/firefox.admx | 18 ++++++++++++++++++
windows/fr-FR/firefox.adml | 6 ++++++
windows/ru-RU/firefox.adml | 6 ++++++
8 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/docs/index.md b/docs/index.md
index 62aa780..d297f90 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -2886,7 +2886,9 @@ If `EmailTracking` is set to true, hidden email tracking pixels and scripts on w
`Exceptions` are origins for which tracking protection is not enabled.
-**Compatibility:** Firefox 60, Firefox ESR 60 (Cryptomining and Fingerprinting added in 70/68.2, Exceptions added in 73/68.5)\
+`Category` can be either ```strict``` or ```standard```. If category is set, it overrides all other settings except `Exceptions` and the user cannot change the category.
+
+**Compatibility:** Firefox 60, Firefox ESR 60 (Cryptomining and Fingerprinting added in 70/68.2, Exceptions added in 73/68.5. Category added in Firefox 142/140.2.)\
**CCK2 Equivalent:** N/A\
**Preferences Affected:** `privacy.trackingprotection.enabled`, `privacy.trackingprotection.pbmode.enabled`, `privacy.trackingprotection.cryptomining.enabled`, `privacy.trackingprotection.fingerprinting.enabled`
@@ -2898,6 +2900,7 @@ Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Cryptomining = 0x1 |
Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Fingerprinting = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\EnableTrackingProtection\EmailTracking = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Exceptions\1 = "https://example.com"
+Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Category = "strict" | "standard"
```
#### Windows (Intune)
OMA-URI:
@@ -2949,6 +2952,14 @@ Value (string):
```
or
```
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/G_TrackingProtection_Category
+```
+Value (string):
+```
+
+```
#### macOS
```
@@ -2965,6 +2976,8 @@ Value (string):
EmailTracking
|
Exceptions
+ Category
+ strict | standard
https://example.com
@@ -2981,6 +2994,7 @@ Value (string):
"Cryptomining": true | false,
"Fingerprinting": true | false,
"EmailTracking": true | false,
+ "Category": "strict" | "standard",
"Exceptions": ["https://example.com"]
}
}
diff --git a/linux/policies.json b/linux/policies.json
index 368a016..ac01a69 100644
--- a/linux/policies.json
+++ b/linux/policies.json
@@ -102,6 +102,7 @@
"Cryptomining": true | false,
"Fingerprinting": true | false,
"EmailTracking": true | false,
+ "Category": "strict" | "standard",
"Exceptions": ["https://example.com"]
},
"EncryptedMediaExtensions": {
diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist
index 8872e17..d16239d 100644
--- a/mac/org.mozilla.firefox.plist
+++ b/mac/org.mozilla.firefox.plist
@@ -242,6 +242,8 @@
EmailTracking
+ Category
+ strict
Exceptions
https://example.com
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index 65f8c20..b1065ea 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -804,6 +804,12 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, kann
Wenn diese Richtlinieneinstellung aktiviert ist, werden versteckte E-Mail-Pixel und Skripte auf Websites blockiert.
Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, werden versteckte E-Mail-Pixel und Skripte auf Websites nicht blockiert.
+ Schutz vor Aktivitätenverfolgung â Stufe
+ Wenn diese Richtlinie aktiviert ist, kann die Stufe des Schutzes vor Aktivitätenverfolgung auf Standard oder Streng gesetzt werden, und der Benutzer kann sie nicht ändern.
+
+Wenn diese Richtlinie deaktiviert oder nicht konfiguriert ist, wird die standardmäÃige Einstellung für den Schutz vor Aktivitätenverfolgung verwendet und der Benutzer kann sie ändern.
+ Streng
+ Standard
Angefordertes Gebietsschema
Angefordertes Gebietsschema (Zeichenfolge)
Wenn diese Richtlinieneinstellung aktiviert ist, können Sie eine Liste der angeforderten Gebietsschemata für die Anwendung in der Reihenfolge ihrer Präferenz angeben. Dadurch wird das entsprechende Sprachpaket aktiv.
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index 1dd2e01..aba3527 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -804,6 +804,12 @@ If this policy is disabled or not configured, the user can change tracking prote
If this policy is enabled, hidden email tracking pixels and scripts on websites are blocked.
If this policy is disabled or not configured, hidden email tracking pixels and scripts on websites are not blocked.
+ Tracking Protection Level
+ If this policy is enabled, the tracking protection level can be set to either Standard or Strict, and the user cannot change it.
+
+If this policy is disabled or not configured, the default tracking protection setting is used and the user can change it.
+ Strict
+ Standard
Requested locale
Requested locale (string)
If this policy is enabled, you can specify a list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.
@@ -1623,6 +1629,9 @@ https://github.com/mozilla/policy-templates/blob/master/README.md#preferences.
+
+
+
diff --git a/windows/firefox.admx b/windows/firefox.admx
index 1a00894..fee1be1 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -3687,6 +3687,24 @@
+
+
+
+
+
+ -
+
+ strict
+
+
+ -
+
+ standard
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 587f996..4997d27 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -804,6 +804,12 @@ Si cette stratégie est désactivée ou non configurée, l'utilisateur peut modi
Si cette stratégie est activée, les pixels et scripts de suivi des e-mails cachés sur les sites web sont bloqués.
Si cette stratégie est désactivée ou non configurée, les pixels et scripts de suivi des e-mails cachés sur les sites web ne sont pas bloqués.
+ Niveau de protection contre le pistage
+ Si cette stratégie est activée, le niveau de protection contre le pistage peut être défini sur Standard ou Strict, et lâutilisateur ne peut pas le modifier.
+
+Si cette stratégie est désactivée ou non configurée, le paramètre de protection contre le pistage par défaut est utilisé et lâutilisateur peut le modifier.
+ Strict
+ Standard
Langue demandée
Langue demandée (chaîne)
Si cette stratégie est activée, vous pouvez spécifier une liste de langues demandées pour l'application, par ordre de préférence. Cela activera le pack linguistique correspondant.
diff --git a/windows/ru-RU/firefox.adml b/windows/ru-RU/firefox.adml
index 30c1659..c009e75 100644
--- a/windows/ru-RU/firefox.adml
+++ b/windows/ru-RU/firefox.adml
@@ -807,6 +807,12 @@ Mozilla ÑекомендÑÐµÑ Ð½Ðµ оÑклÑÑаÑÑ ÑелемеÑÑиÑ. Ð
ÐÑли ÑÑа полиÑика вклÑÑена, ÑкÑÑÑÑе пикÑели оÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ ÑлекÑÑонной поÑÑÑ Ð¸ ÑкÑипÑÑ Ð½Ð° веб-ÑайÑаÑ
блокиÑÑÑÑÑÑ.
ÐÑли ÑÑа полиÑика оÑклÑÑена или не наÑÑÑоена, ÑкÑÑÑÑе пикÑели оÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ ÑлекÑÑонной поÑÑÑ Ð¸ ÑкÑипÑÑ Ð½Ð° веб-ÑайÑаÑ
не блокиÑÑÑÑÑÑ.
+ УÑÐ¾Ð²ÐµÐ½Ñ Ð·Ð°ÑиÑÑ Ð¾Ñ Ð¾ÑÑлеживаниÑ
+ ÐÑли ÑÑа полиÑика вклÑÑена, ÑÑÐ¾Ð²ÐµÐ½Ñ Ð·Ð°ÑиÑÑ Ð¾Ñ Ð¾ÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ ÑÑÑановиÑÑ ÐºÐ°Ðº «СÑандаÑÑнÑй» или «СÑÑогий», и полÑзоваÑÐµÐ»Ñ Ð½Ðµ ÑÐ¼Ð¾Ð¶ÐµÑ ÐµÐ³Ð¾ измениÑÑ.
+
+ÐÑли ÑÑа полиÑика оÑклÑÑена или не наÑÑÑоена, иÑполÑзÑеÑÑÑ Ð¿Ð°ÑамеÑÑ Ð·Ð°ÑиÑÑ Ð¾Ñ Ð¾ÑÑÐ»ÐµÐ¶Ð¸Ð²Ð°Ð½Ð¸Ñ Ð¿Ð¾ ÑмолÑаниÑ, и полÑзоваÑÐµÐ»Ñ Ð¼Ð¾Ð¶ÐµÑ ÐµÐ³Ð¾ измениÑÑ.
+ СÑÑогий
+ СÑандаÑÑнÑй
ÐапÑоÑеннÑй ÑзÑковой ÑÑандаÑÑ
ÐапÑоÑеннÑй ÑзÑковой ÑÑандаÑÑ (ÑÑÑока)
ÐÑли ÑÑа полиÑика вклÑÑена, Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе ÑказаÑÑ ÑпиÑок запÑоÑеннÑÑ
локалей Ð´Ð»Ñ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð² поÑÑдке пÑедпоÑÑениÑ. ÐÑо пÑÐ¸Ð²ÐµÐ´ÐµÑ Ðº акÑиваÑии ÑооÑвеÑÑÑвÑÑÑего ÑзÑкового пакеÑа.
--
2.43.0