From c28c219a673d566e4076d818ba5ad765f4686a3e Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Tue, 10 Mar 2020 11:44:49 -0500
Subject: [PATCH 1/1] Add Autoplay permission policy
---
README.md | 21 +++++++++++++++++++--
mac/org.mozilla.firefox.plist | 11 +++++++++++
windows/de-DE/firefox.adml | 7 +++++++
windows/en-US/firefox.adml | 7 +++++++
windows/es-ES/firefox.adml | 7 +++++++
windows/firefox.admx | 17 +++++++++++++++++
windows/fr-FR/firefox.adml | 7 +++++++
windows/it-IT/firefox.adml | 7 +++++++
windows/zh-TW/firefox.adml | 7 +++++++
9 files changed, 89 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 394406d..8e09c21 100644
--- a/README.md
+++ b/README.md
@@ -2042,7 +2042,7 @@ Software\Policies\Mozilla\Firefox\PasswordManagerEnabled = 0x1 | 0x0
}
```
### Permissions
-Set permissions associated with camera, microphone, location, and notifications. Because these are origins, not domains, entries with unique ports must be specified separately. See examples below.
+Set permissions associated with camera, microphone, location, notifications, and autoplay. Because these are origins, not domains, entries with unique ports must be specified separately. See examples below.
`Allow` is a list of origins where the feature is allowed.
@@ -2052,7 +2052,7 @@ Set permissions associated with camera, microphone, location, and notifications.
`Locked` prevents the user from changing preferences for the feature.
-**Compatibility:** Firefox 62, Firefox ESR 60.2\
+**Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6\
**CCK2 Equivalent:** N/A\
**Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`
@@ -2075,6 +2075,8 @@ Software\Policies\Mozilla\Firefox\Permissions\Notifications\Allow\1 = "https://e
Software\Policies\Mozilla\Firefox\Permissions\Notifications\Block\1 = "https://example.edu"
Software\Policies\Mozilla\Firefox\Permissions\Notifications\BlockNewRequests = 0x1 | 0x0
Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Allow\1 = "https://example.org"
+Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Block\1 = "https://example.edu"
```
#### macOS
```
@@ -2142,6 +2144,17 @@ Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
Locked
+ Autoplay
+
+ Allow
+
+ https://example.org
+
+ Block
+
+ https://example.edu
+
+
```
@@ -2173,6 +2186,10 @@ Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
"Block": ["https://example.edu"],
"BlockNewRequests": true | false,
"Locked": true | false
+ },
+ "Autoplay": {
+ "Allow": ["https://example.org"],
+ "Block": ["https://example.edu"]
}
}
}
diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist
index 1d489be..c62f305 100644
--- a/mac/org.mozilla.firefox.plist
+++ b/mac/org.mozilla.firefox.plist
@@ -361,6 +361,17 @@
Locked
+ Autoplay
+
+ Allow
+
+ https://example.org
+
+ Block
+
+ https://example.edu
+
+
PopupBlocking
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index 97a3f06..a0f5898 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -28,6 +28,7 @@
Mikrofon
Standort
Benachrichtigungen
+ Autoplay
Authentifizierung
Lesezeichen
Zertifikate
@@ -380,6 +381,12 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, kann
Wenn diese Richtlinieneinstellung aktiviert ist, können die Einstellungen zu Benachrichtigungen nicht vom Anwender geändert werden.
Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, können Nutzer seine Einstellungen zu Benachrichtigungen ändern.
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
Firefox Home anpassen
Wenn diese Richtlinieneinstellung aktiviert ist, können die Sektionen festgelegt werden, die der Anwender sieht und der Anwender kann diese nicht mehr anpassen.
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index bda5df9..7307f23 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -28,6 +28,7 @@
Microphone
Location
Notifications
+ Autoplay
Authentication
Bookmarks
Certificates
@@ -380,6 +381,12 @@ If this policy is disabled or not configured, any site that is not in the Block
If this policy is enabled, notification preferences cannot be changed by the user.
If this policy is disabled or not configured, the user can change their notification preferences.
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
Customize Firefox Home
If this policy is enabled, you can choose the sections displayed on Firefox Home and prevent the user from changing them.
diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml
index 02829af..49d43d6 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -28,6 +28,7 @@
Micrófono
Ubicación
Notificaciones
+ Autoplay
Autenticación
Marcadores
Certificados
@@ -380,6 +381,12 @@ Si esta polÃtica está deshabilitada o no está configurada, cualquier sitio qu
Si esta polÃtica está habilitada, el usuario no puede cambiar las preferencias de notificaciones.
Si esta polÃtica está deshabilitada o no está configurada, el usuario podrá cambiar sus preferencias de notificaciones.
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
Personalizar inicio de Firefox
Si esta polÃtica está habilitada, podrá elegir las secciones que se muestran en la página de inicio de Firefox e impedir que el usuario las cambie.
diff --git a/windows/firefox.admx b/windows/firefox.admx
index ea7e1a2..acde2a9 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -75,6 +75,9 @@
+
+
+
@@ -441,6 +444,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 5fb3afe..6485a94 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -28,6 +28,7 @@
Microphone
Localisation
Notifications
+ Autoplay
Authentification
Signets
Certificats
@@ -380,6 +381,12 @@ Si cette stratégie est désactivée ou non configurée, tout site ne figurant p
Si cette stratégie est activée, les préférences de notification ne peuvent pas être modifiées par l'utilisateur.
Si cette stratégie est désactivée ou non configurée, l'utilisateur peut modifier ses préférences de notification.
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
Customize Firefox Home
If this policy is enabled, you can choose the sections displayed on Firefox Home and prevent the user from changing them.
diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml
index 074d6c8..2fd2caa 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -28,6 +28,7 @@
Microfono
Posizione
Notifiche
+ Autoplay
Autenticazione
Segnalibri
Certificati
@@ -380,6 +381,12 @@ Se questo criterio è disabilitato o non configurato, qualunque sito non nel cri
Se questo criterio è abilitato, le preferenze relative alle notifiche non possono essere modificate dall'utente.
Se questo criterio è disabilitato o non configurato, l'utente può modificare le preferenze relative alle notifiche.
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
Personalizza pagina iniziale di Firefox
Se questo criterio è abilitato, è possibile scegliere le sezioni visualizzate nella pagina iniziale di Firefox e impedire all'utente di modificarle.
diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml
index 3f0338c..33a0cf5 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -28,6 +28,7 @@
麥å
風
ä½ç½®
éç¥
+ Autoplay
é©è
æ¸ç±¤
æè
@@ -378,6 +379,12 @@ If this policy is disabled or not configured, the menu bar is not displayed by d
è¥åç¨æ¤ååï¼ä½¿ç¨è
å°ç¡æ³èª¿æ´éç¥å好è¨å®ã
è¥åç¨æä¸è¨å®æ¤ååï¼å使ç¨è
è½å¤ èªè¡èª¿æ´ä½ç½®éç¥å好è¨å®ã
+ If this policy is enabled, autoplay is always enabled for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
+ If this policy is enabled, autoplay is always blocked for the origins indicated.
+
+If this policy is disabled or not configured, the default autoplay policy is followed.
èªè¨ Firefox é¦é
è¥åç¨æ¤ååï¼å°å¯ä»¥è¨å®è¦å¨ Firefox é¦é 顯示åªäºæ®µè½ï¼ä¸¦é²æ¢ä½¿ç¨è
æ´æ¹è¨å®ã
--
2.34.1