| **[`Preferences`](#preferences)** | Set and lock some preferences.
| **[`Proxy`](#proxy)** | Configure proxy settings.
| **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference.
-| **[`SanitizeOnShutdown`](#sanitizeonshutdown)** | Clear all data on shutdown.
+| **[`SanitizeOnShutdown` (All)](#sanitizeonshutdown-all)** | Clear all data on shutdown.
+| **[`SanitizeOnShutdown` (Selective)](#sanitizeonshutdown-selective)** | Clear data on shutdown.
| **[`SearchBar`](#searchbar)** | Set whether or not search bar is displayed.
| **[`SearchEngines`](#searchengines-this-policy-is-only-available-on-the-esr)** |
| **[`SearchEngines -> Default`](#searchengines--default)** | Set the default search engine.
}
}
```
-### SanitizeOnShutdown
+### SanitizeOnShutdown (Selective)
+Clear data on shutdown. Choose from Cache, Cookies, Download History, Form & Search History, Browsing History, Active Logins, Site Preferences and Offline Website Data.
+
+**Compatibility:** Firefox 68, Firefox ESR 68\
+**CCK2 Equivalent:** N/A\
+**Preferences Affected:** `privacy.sanitize.sanitizeOnShutdown`,`privacy.clearOnShutdown.cache`,`privacy.clearOnShutdown.cookies`,`privacy.clearOnShutdown.downloads`,`privacy.clearOnShutdown.formdata`,`privacy.clearOnShutdown.history`,`privacy.clearOnShutdown.sessions`,`privacy.clearOnShutdown.siteSettings`,`privacy.clearOnShutdown.offlineApps`
+#### Windows
+```
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cache = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cookies = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Downloads = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\FormData = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\History = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Sessions = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\SiteSettings = 0x1 | 0x0
+Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\OfflineApps = 0x1 | 0x0
+```
+#### macOS
+```
+<dict>
+ <key>SanitizeOnShutdown</key>
+ <dict>
+ <key>Cache</key>
+ <true/> | <false/>
+ <key>Cookies</key>
+ <true/> | <false/>
+ <key>Downloads</key>
+ <true/> | <false/>
+ <key>FormData</key>
+ <true/> | <false/>
+ <key>History</key>
+ <true/> | <false/>
+ <key>Sessions</key>
+ <true/> | <false/>
+ <key>SiteSettings</key>
+ <true/> | <false/>
+ <key>OfflineApps</key>
+ <true/> | <false/>
+ </dict>
+</dict>
+```
+#### JSON
+```
+{
+ "policies": {
+ "SanitizeOnShutdown": {
+ "Cache": true | false,
+ "Cookies": true | false,
+ "Downloads": true | false,
+ "FormData": true | false,
+ "History": true | false,
+ "Sessions": true | false,
+ "SiteSettings": true | false,
+ "OfflineApps": true | false
+ }
+ }
+}
+```
+### SanitizeOnShutdown (All)
Clear all data on shutdown, including Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
**Compatibility:** Firefox 60, Firefox ESR 60\
**CCK2 Equivalent:** N/A\
-**Preferences Affected:** `privacy.sanitize.sanitizeOnShutdown,privacy.clearOnShutdown.cache,privacy.clearOnShutdown.cookies,privacy.clearOnShutdown.downloads,privacy.clearOnShutdown.formdata,privacy.clearOnShutdown.history,privacy.clearOnShutdown.sessions,privacy.clearOnShutdown.siteSettings,privacy.clearOnShutdown.offlineApps`
+**Preferences Affected:** `privacy.sanitize.sanitizeOnShutdown`,`privacy.clearOnShutdown.cache`,`privacy.clearOnShutdown.cookies`,`privacy.clearOnShutdown.downloads`,`privacy.clearOnShutdown.formdata`,`privacy.clearOnShutdown.history`,`privacy.clearOnShutdown.sessions`,`privacy.clearOnShutdown.siteSettings`,`privacy.clearOnShutdown.offlineApps`
#### Windows
```
Software\Policies\Mozilla\Firefox\SanitizeOnShutdown = 0x1 | 0x0
<presentation id="LocalFileLinks">
<listBox refId="LocalFileLinks"/>
</presentation>
+ <presentation id="SanitizeOnShutdown">
+ <checkBox refId="SanitizeOnShutdown_Cache">Cache</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Cookies">Cookies</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Downloads">Download History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_FormData">Form & Search History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_History">Browsing History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Sessions">Active Logins</checkBox>
+ <checkBox refId="SanitizeOnShutdown_SiteSettings">Site Preferences</checkBox>
+ <checkBox refId="SanitizeOnShutdown_OfflineApps">Offline Website Data</checkBox>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<string id="OverridePostUpdatePage_Explain">If this policy is enabled, you can specify a URL to be displayed after Firefox is updated. If you leave the URL blank, no upgrade page will be shown.
If this policy is disabled or not configured, the upgrade is displayed.</string>
- <string id="SanitizeOnShutdown">Clear all data when browser is closed</string>
- <string id="SanitizeOnShutdown_Explain">If this policy is enabled, all data is cleared when Firefox is closed. This includes Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
+ <string id="SanitizeOnShutdown">Clear data when browser is closed</string>
+ <string id="SanitizeOnShutdown_Explain">If this policy is enabled, you can choose data to be cleared when Firefox is closed.
If this policy is disabled or not configured, data is not cleared when the browser is closed.</string>
<string id="WebsiteFilter_Block">Blocked websites</string>
<presentation id="LocalFileLinks">
<listBox refId="LocalFileLinks"/>
</presentation>
+ <presentation id="SanitizeOnShutdown">
+ <checkBox refId="SanitizeOnShutdown_Cache">Cache</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Cookies">Cookies</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Downloads">Download History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_FormData">Form & Search History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_History">Browsing History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Sessions">Active Logins</checkBox>
+ <checkBox refId="SanitizeOnShutdown_SiteSettings">Site Preferences</checkBox>
+ <checkBox refId="SanitizeOnShutdown_OfflineApps">Offline Website Data</checkBox>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
<presentation id="LocalFileLinks">
<listBox refId="LocalFileLinks"/>
</presentation>
+ <presentation id="SanitizeOnShutdown">
+ <checkBox refId="SanitizeOnShutdown_Cache">Cache</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Cookies">Cookies</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Downloads">Download History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_FormData">Form & Search History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_History">Browsing History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Sessions">Active Logins</checkBox>
+ <checkBox refId="SanitizeOnShutdown_SiteSettings">Site Preferences</checkBox>
+ <checkBox refId="SanitizeOnShutdown_OfflineApps">Offline Website Data</checkBox>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
</disabledValue>
</policy>
<!-- Alphabetization is based on name, so had to add C -->
- <policy name="C_SanitizeOnShutdown" class="Both" displayName="$(string.SanitizeOnShutdown)" explainText="$(string.SanitizeOnShutdown_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="SanitizeOnShutdown">
+ <policy name="C_SanitizeOnShutdown" class="Both" displayName="$(string.SanitizeOnShutdown)" explainText="$(string.SanitizeOnShutdown_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="SanitizeOnShutdown" presentation="$(presentation.SanitizeOnShutdown)" >
<parentCategory ref="firefox"/>
<supportedOn ref="SUPPORTED_FF60"/>
<enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
+ <elements >
+ <boolean id="SanitizeOnShutdown_Cache" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="Cache">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_Cookies" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="Cookies">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_Downloads" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="Downloads">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_FormData" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="FormData">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_History" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="History">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_Sessions" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="Sessions">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_SiteSettings" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="SiteSettings">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ <boolean id="SanitizeOnShutdown_OfflineApps" key="Software\Policies\Mozilla\Firefox\SanitizeOnShutdown" valueName="OfflineApps">
+ <trueValue>
+ <decimal value="1"/>
+ </trueValue>
+ <falseValue>
+ <decimal value="0"/>
+ </falseValue>
+ </boolean>
+ </elements>
</policy>
<policy name="HomepageURL" class="Both" displayName="$(string.HomepageURL)" explainText="$(string.HomepageURL_Explain)" key="Software\Policies\Mozilla\Firefox\Homepage" presentation="$(presentation.HomepageURL)" >
<parentCategory ref="Homepage" />
<presentation id="LocalFileLinks">\r
<listBox refId="LocalFileLinks"/>\r
</presentation>\r
+ <presentation id="SanitizeOnShutdown">\r
+ <checkBox refId="SanitizeOnShutdown_Cache">Cache</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_Cookies">Cookies</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_Downloads">Download History</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_FormData">Form & Search History</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_History">Browsing History</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_Sessions">Active Logins</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_SiteSettings">Site Preferences</checkBox>\r
+ <checkBox refId="SanitizeOnShutdown_OfflineApps">Offline Website Data</checkBox>\r
+ </presentation>\r
</presentationTable>\r
</resources>\r
</policyDefinitionResources>\r
<presentation id="LocalFileLinks">
<listBox refId="LocalFileLinks"/>
</presentation>
+ <presentation id="SanitizeOnShutdown">
+ <checkBox refId="SanitizeOnShutdown_Cache">Cache</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Cookies">Cookies</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Downloads">Download History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_FormData">Form & Search History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_History">Browsing History</checkBox>
+ <checkBox refId="SanitizeOnShutdown_Sessions">Active Logins</checkBox>
+ <checkBox refId="SanitizeOnShutdown_SiteSettings">Site Preferences</checkBox>
+ <checkBox refId="SanitizeOnShutdown_OfflineApps">Offline Website Data</checkBox>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>