From f791e0f3c77985bed1b24d6362979ff02591a4d0 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 11 Jul 2022 11:36:49 -0400
Subject: [PATCH 1/4] Add StartDownloadsInTempDirectory to README
---
README.md | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/README.md b/README.md
index ec33ac38..37047ed7 100644
--- a/README.md
+++ b/README.md
@@ -103,6 +103,7 @@ Policies can be specified using the [Group Policy templates on Windows](https://
| **[`ShowHomeButton`](#showhomebutton)** | Show the home button on the toolbar.
| **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
| **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
+| **[`StartDownloadsInTempDirectory`](#startdownloadsintempdirectory)** | Force downloads to start off in a local, temporary location rather than the default download directory.
| **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information.
| **[`UserMessaging`](#usermessaging)** | Don't show certain messages to the user.
| **[`UseSystemPrintDialog`](#usesystemprintdialog)** | Print using the system print dialog instead of print preview.
@@ -5666,6 +5667,40 @@ Value (string):
}
}
```
+### StartDownloadsInTempDirectory
+Force downloads to start off in a local, temporary location rather than the default download directory.
+
+**Compatibility:** Firefox 102\
+**CCK2 Equivalent:** N/A\
+**Preferences Affected:** `browser.downloads.start_downloads_in_tmp_dir`
+
+#### Windows (GPO)
+```
+Software\Policies\Mozilla\Firefox\StartDownloadsInTempDirectory = 0x1 | 0x0
+```
+#### Windows (Intune)
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/StartDownloadsInTempDirectory
+```
+Value (string):
+```
+ or
+```
+#### macOS
+```
+
+ StartDownloadsInTempDirectory
+ |
+
+```
+#### policies.json
+```
+{
+ "policies": {
+ "StartDownloadsInTempDirectory": true | false
+}
+```
### UserMessaging
Prevent Firefox from messaging the user in certain situations.
From 45de439ae1fcc7c31f6d6f938af791c3799e8be6 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 11 Jul 2022 11:37:29 -0400
Subject: [PATCH 2/4] Update mac plist for StartDownloadsInTempDirectory
---
mac/org.mozilla.firefox.plist | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mac/org.mozilla.firefox.plist b/mac/org.mozilla.firefox.plist
index 2b088178..4bb68845 100644
--- a/mac/org.mozilla.firefox.plist
+++ b/mac/org.mozilla.firefox.plist
@@ -624,6 +624,8 @@
tls1.2
SSLVersionMax
tls1.3
+ StartDownloadsInTempDirectory
+
SupportMenu
Title
From 5020c2f38f46b242c8f1fe379efb161c2a6202c6 Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 11 Jul 2022 11:47:55 -0400
Subject: [PATCH 3/4] Update GPO
---
windows/de-DE/firefox.adml | 4 ++++
windows/en-US/firefox.adml | 4 ++++
windows/es-ES/firefox.adml | 4 ++++
windows/firefox.admx | 10 ++++++++++
windows/fr-FR/firefox.adml | 4 ++++
windows/it-IT/firefox.adml | 4 ++++
windows/ru-RU/firefox.adml | 4 ++++
windows/zh-CN/firefox.adml | 4 ++++
windows/zh-TW/firefox.adml | 4 ++++
9 files changed, 42 insertions(+)
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index 43d3028e..64895a88 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -930,6 +930,10 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, zeigt
Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, werden Warnungen für alle ausführbaren Dateitypen angezeigt.
Ausführliche Informationen zur Erstellung der Richtlinie finden Sie unter https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.
Für eine Beschreibung der Einstellung, siehe:
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index 4946942c..8f76cb09 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.
For a description of the preference, see:
diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml
index e3ed4675..fc6d4846 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false.
Para una descripción de la preferencia, visita:
diff --git a/windows/firefox.admx b/windows/firefox.admx
index 379c99b3..26ddc253 100644
--- a/windows/firefox.admx
+++ b/windows/firefox.admx
@@ -3865,5 +3865,15 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 30c14fe2..62639c2d 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -926,6 +926,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.
Pour une description de la préférence, voir:
diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml
index a5fa405c..e69b5f21 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -928,6 +928,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.
Per una descrizione della preferenza, si veda:
diff --git a/windows/ru-RU/firefox.adml b/windows/ru-RU/firefox.adml
index a0232763..e9af297b 100644
--- a/windows/ru-RU/firefox.adml
+++ b/windows/ru-RU/firefox.adml
@@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false.
Описание предпочтения см .:
diff --git a/windows/zh-CN/firefox.adml b/windows/zh-CN/firefox.adml
index 6218a8d1..d3390bf7 100644
--- a/windows/zh-CN/firefox.adml
+++ b/windows/zh-CN/firefox.adml
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。
若需要偏好设置的详细说明,请参考:
diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml
index 44e53b2b..b3ffc229 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is disabled or not configured, warnings are shown for all executable file types.
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
+ Start Downloads in Temporary Directory
+ If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。
若需要偏好設定的詳細說明,請參考:
From 488c4cc80949679fa556f0460ade57a2333e93bd Mon Sep 17 00:00:00 2001
From: Michael Kaply <345868+mkaply@users.noreply.github.com>
Date: Mon, 11 Jul 2022 11:54:06 -0400
Subject: [PATCH 4/4] Correct typo
---
windows/de-DE/firefox.adml | 2 +-
windows/en-US/firefox.adml | 2 +-
windows/es-ES/firefox.adml | 2 +-
windows/fr-FR/firefox.adml | 4 ++--
windows/it-IT/firefox.adml | 2 +-
windows/ru-RU/firefox.adml | 2 +-
windows/zh-CN/firefox.adml | 2 +-
windows/zh-TW/firefox.adml | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml
index 64895a88..167e6cdc 100644
--- a/windows/de-DE/firefox.adml
+++ b/windows/de-DE/firefox.adml
@@ -933,7 +933,7 @@ Ausführliche Informationen zur Erstellung der Richtlinie finden Sie unter https
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.
Für eine Beschreibung der Einstellung, siehe:
diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
index 8f76cb09..e6bfc13b 100644
--- a/windows/en-US/firefox.adml
+++ b/windows/en-US/firefox.adml
@@ -928,7 +928,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.
For a description of the preference, see:
diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml
index fc6d4846..84e30e46 100644
--- a/windows/es-ES/firefox.adml
+++ b/windows/es-ES/firefox.adml
@@ -930,7 +930,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false.
Para una descripción de la preferencia, visita:
diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml
index 62639c2d..3418312c 100644
--- a/windows/fr-FR/firefox.adml
+++ b/windows/fr-FR/firefox.adml
@@ -924,12 +924,12 @@ If this policy is disabled or not configured, Firefox will show print preview be
If this policy is enabled, you can define a list of domains and file type extensions that will be exempt from executable warnings.
If this policy is disabled or not configured, warnings are shown for all executable file types.
-
+
For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.
Pour une description de la préférence, voir:
diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml
index e69b5f21..fe0c746b 100644
--- a/windows/it-IT/firefox.adml
+++ b/windows/it-IT/firefox.adml
@@ -931,7 +931,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.
Per una descrizione della preferenza, si veda:
diff --git a/windows/ru-RU/firefox.adml b/windows/ru-RU/firefox.adml
index e9af297b..1c568930 100644
--- a/windows/ru-RU/firefox.adml
+++ b/windows/ru-RU/firefox.adml
@@ -930,7 +930,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false.
Описание предпочтения см .:
diff --git a/windows/zh-CN/firefox.adml b/windows/zh-CN/firefox.adml
index d3390bf7..7382b4d0 100644
--- a/windows/zh-CN/firefox.adml
+++ b/windows/zh-CN/firefox.adml
@@ -928,7 +928,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。
若需要偏好设置的详细说明,请参考:
diff --git a/windows/zh-TW/firefox.adml b/windows/zh-TW/firefox.adml
index b3ffc229..83352931 100644
--- a/windows/zh-TW/firefox.adml
+++ b/windows/zh-TW/firefox.adml
@@ -928,7 +928,7 @@ For detailed information on creating the policy, see https://github.com/mozilla/
Start Downloads in Temporary Directory
If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
-If this policy is disabled or not configured, Firefox will to the download folder and will not be automaticall deleted when you close the browser.
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.
若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。
若需要偏好設定的詳細說明,請參考: