]> git.p6c8.net - policy-templates.git/blob - README.md
efbbd13dd4c6e39984a73b3fe5540c533b92c4d3
[policy-templates.git] / README.md
1 **These policies are in active development and so might contain changes that do not work with current versions of Firefox.**
2
3 **You should use the officially released versions (https://github.com/mozilla/policy-templates/releases) if you are deploying changes.**
4
5 Policies can be specified using the Group Policy templates on Windows (https://github.com/mozilla/policy-templates/tree/master/windows), configuration profiles on macOS (https://github.com/mozilla/policy-templates/tree/master/mac), or by creating a file called `policies.json`. On Windows, create a directory called `distribution` where the EXE is located and place the file there. On Mac, the file goes into `Firefox.app/Contents/Resources/distribution`. On Linux, the file goes into `firefox/distribution`, where `firefox` is the installation directory for firefox, which varies by distribution.
6
7 | Policy Name | Description
8 | --- | --- |
9 | **[`AppUpdateURL`](#AppUpdateURL)** | Change the URL for application update.
10 | **[`Authentication`](#Authentication)** | Configure sites that support integrated authentication.
11 | **[`BlockAboutAddons`](#blockaboutaddons)** | Block access to the Add-ons Manager (about:addons).
12 | **[`BlockAboutConfig`](#blockaboutconfig)** | Block access to about:config.
13 | **[`BlockAboutProfiles`](#blockaboutprofiles)** | Block access to About Profiles (about:profiles).
14 | **[`BlockAboutSupport`](#blockaboutsupport)** | Block access to Troubleshooting Information (about:support).
15 | **[`Bookmarks`](#bookmarks)** | Add bookmarks in either the bookmarks toolbar or menu.
16 | **[`CaptivePortal`](#captiveportal)** | Enable or disable the detection of captive portals.
17 | **[`Certificates`](#certificates)** |
18 | **[`Certificates -> ImportEnterpriseRoots`](#certificates--importenterpriseroots)** | Trust certificates that have been added to the operating system certificate store by a user or administrator.
19 | **[`Certificates -> Install`](#certificates--install)** | Install certificates into the Firefox certificate store.
20 | **[`Cookies`](#cookies)** | Configure cookie preferences.
21 | **[`DisableSetDesktopBackground`](#disablesetdesktopbackground)** | Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
22 | **[`DisableMasterPasswordCreation`](#disablemasterpasswordcreation)** | Remove the master password functionality.
23 | **[`DisableAppUpdate`](#disableappupdate)** | Turn off application updates.
24 | **[`DisableBuiltinPDFViewer`](#disablebuiltinpdfviewer)** | Disable the built in PDF viewer.
25 | **[`DisableDeveloperTools`](#disabledevelopertools)** | Remove access to all developer tools.
26 | **[`DisableFeedbackCommands`](#disablefeedbackcommands)** | Disable the menus for reporting sites.
27 | **[`DisableFirefoxScreenshots`](#disablefirefoxscreenshots)** | Remove access to Firefox Screenshots.
28 | **[`DisableFirefoxAccounts`](#disablefirefoxaccounts)** | Disable Firefox Accounts integration (Sync).
29 | **[`DisableFirefoxStudies`](#disablefirefoxstudies)** | Disable Firefox studies (Shield).
30 | **[`DisableForgetButton`](#disableforgetbutton)** | Disable the "Forget" button.
31 | **[`DisableFormHistory`](#disableformhistory)** | Turn off saving information on web forms and the search bar.
32 | **[`DisablePocket`](#disablepocket)** | Remove Pocket in the Firefox UI.
33 | **[`DisablePrivateBrowsing`](#disableprivatebrowsing)** | Remove access to private browsing.
34 | **[`DisableProfileImport`](#disableprofileimport)** | Disables the "Import data from another browser" option in the bookmarks window.
35 | **[`DisableProfileRefresh`](#disableprofilerefresh)** | Disable the Refresh Firefox button on about:support and support.mozilla.org
36 | **[`DisableSafeMode`](#disablesafemode)** | Disable safe mode within the browser.
37 | **[`DisableSecurityBypass`](#disablesecuritybypass)** | Prevent the user from bypassing security in certain cases.
38 | **[`DisableSystemAddonUpdate`](#disablesystemaddonupdate)** | Prevent system add-ons from being installed or update.
39 | **[`DisableTelemetry`](#disabletelemetry)** | DisableTelemetry
40 | **[`DisplayBookmarksToolbar`](#displaybookmarkstoolbar)** | Set the initial state of the bookmarks toolbar.
41 | **[`DisplayMenuBar (Deprecated)`](#displaymenubar-deprecated)** | Set the initial state of the menubar.
42 | **[`DisplayMenuBar`](#displaymenubar)** | Set the state of the menubar.
43 | **[`DNSOverHTTPS`](#dnsoverhttps)** | Configure DNS over HTTPS.
44 | **[`DontCheckDefaultBrowser`](#dontcheckdefaultbrowser)** | Don't check if Firefox is the default browser at startup.
45 | **[`DefaultDownloadDirectory`](#defaultdownloaddirectory)** | Set the default download directory.
46 | **[`DownloadDirectory`](#downloaddirectory)** | Set and lock the download directory.
47 | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection.
48 | **[`EnterprisePoliciesEnabled`](#enterprisepoliciesenabled)** | Enable policy support on macOS.
49 | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions.
50 | **[`ExtensionSettings`](#extensionsettings)** | Manage all aspects of extensions.
51 | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates.
52 | **[`FlashPlugin`](#flashplugin)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed.
53 | **[`FirefoxHome`](#firefoxhome)** | Customize the Firefox Home page.
54 | **[`HardwareAcceleration`](#hardwareacceleration)** | Control hardware acceleration.
55 | **[`Homepage`](#homepage)** | Configure the default homepage and how Firefox starts.
56 | **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed.
57 | **[`LegacyProfiles`](#legacyprofiles)** | Disable the feature enforcing a separate profile for each installation.
58 | **[`LocalFileLinks`](#localfilelinks)** | Enable linking to local files by origin.
59 | **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching).
60 | **[`NewTabPage`](#newtabpage)** | Enable or disable the New Tab page.
61 | **[`NoDefaultBookmarks`](#nodefaultbookmarks)** | Disable the creation of default bookmarks.
62 | **[`OfferToSaveLogins`](#offertosavelogins)** | Control whether or not Firefox offers to save passwords.
63 | **[`OfferToSaveLoginsDefault`](#offertosaveloginsdefault)** | Set the default value for whether or not Firefox offers to save passwords.
64 | **[`OverrideFirstRunPage`](#overridefirstrunpage)** | Override the first run page.
65 | **[`OverridePostUpdatePage`](#overridepostupdatepage)** | Override the upgrade page.
66 | **[`PasswordManagerEnabled`](#passwordmanagerenabled)** | Remove (some) access to the password manager.
67 | **[`Permissions`](#permissions)** | Set permissions associated with camera, microphone, location, and notifications.
68 | **[`PopupBlocking`](#popupblocking)** | Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
69 | **[`Preferences`](#preferences)** | Set and lock some preferences.
70 | **[`PromptForDownloadLocation`](#promptfordownloadlocation)** | Ask where to save each file before downloading.
71 | **[`Proxy`](#proxy)** | Configure proxy settings.
72 | **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference.
73 | **[`SanitizeOnShutdown` (All)](#sanitizeonshutdown-all)** | Clear all data on shutdown.
74 | **[`SanitizeOnShutdown` (Selective)](#sanitizeonshutdown-selective)** | Clear data on shutdown.
75 | **[`SearchBar`](#searchbar)** | Set whether or not search bar is displayed.
76 | **[`SearchEngines`](#searchengines-this-policy-is-only-available-on-the-esr)** |
77 | **[`SearchEngines -> Default`](#searchengines--default)** | Set the default search engine.
78 | **[`SearchEngines -> PreventInstalls`](#searchengines--preventinstalls)** | Prevent installing search engines from webpages.
79 | **[`SearchEngines -> Remove`](#searchengines--remove)** | Hide built-in search engines.
80 | **[`SearchEngines -> Add`](#searchengines--add)** | Add new search engines.
81 | **[`SecurityDevices`](#securitydevices)** | Install PKCS #11 modules.
82 | **[`SearchSuggestEnabled`](#searchsuggestenabled)** | Enable search suggestions.
83 | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
84 | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
85 | **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information.
86 | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited.
87
88 ### AppUpdateURL
89
90 Change the URL for application update.
91
92 **Compatibility:** Firefox 62, Firefox ESR 60.2\
93 **CCK2 Equivalent:** N/A\
94 **Preferences Affected:** `app.update.url`
95
96 #### Windows (GPO)
97 ```
98 Software\Policies\Mozilla\Firefox\AppUpdateURL = "https://yoursite.com"
99 ```
100 #### macOS
101 ```
102 <dict>
103 <key>AppUpdateURL</key>
104 <string>https://yoursite.com</string>
105 </dict>
106 ```
107 #### policies.json
108 ```
109 {
110 "policies": {
111 "AppUpdateURL": "https://yoursite.com"
112 }
113 }
114 ```
115 ### Authentication
116
117 Configure sites that support integrated authentication.
118
119 See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication for more information.
120
121 **Compatibility:** Firefox 60, Firefox ESR 60 (AllowNonFQDN added in 62/60.2, AllowProxies added in 70/68.2, Locked added in 71/68.3)\
122 **CCK2 Equivalent:** N/A\
123 **Preferences Affected:** `network.negotiate-auth.trusted-uris`,`network.negotiate-auth.delegation-uris`,`network.automatic-ntlm-auth.trusted-uris`,`network.automatic-ntlm-auth.allow-non-fqdn`,`network.negotiate-auth.allow-non-fqdn`,`network.automatic-ntlm-auth.allow-proxies`,`network.negotiate-auth.allow-proxies`
124
125 #### Windows (GPO)
126 ```
127 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\1 = "mydomain.com"
128 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\2 = "https://myotherdomain.com"
129 Software\Policies\Mozilla\Firefox\Authentication\Delegated\1 = "mydomain.com"
130 Software\Policies\Mozilla\Firefox\Authentication\Delegated\2 = "https://myotherdomain.com"
131 Software\Policies\Mozilla\Firefox\Authentication\NTLM\1 = "mydomain.com"
132 Software\Policies\Mozilla\Firefox\Authentication\NTLM\2 = "https://myotherdomain.com"
133 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\SPNEGO = 0x1 | 0x0
134 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0
135 Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\SPNEGO = 0x1 | 0x0
136 Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\NTLM = 0x1 | 0x0
137 Software\Policies\Mozilla\Firefox\Authentication\Locked = 0x1 | 0x0
138 ```
139 #### macOS
140 ```
141 <dict>
142 <key>Authentication</key>
143 <dict>
144 <key>SPNEGO</key>
145 <array>
146 <string>mydomain.com</string>
147 <string>https://myotherdomain.com</string>
148 </array>
149 <key>Delegated</key>
150 <array>
151 <string>mydomain.com</string>
152 <string>https://myotherdomain.com</string>
153 </array>
154 <key>NTLM</key>
155 <array>
156 <string>mydomain.com</string>
157 <string>https://myotherdomain.com</string>
158 </array>
159 <key>AllowNonFQDN</key>
160 <dict>
161 <key>SPNEGO</key>
162 <true/> | <false/>
163 <key>NTLM</key>
164 <true/> | <false/>
165 </dict>
166 <key>AllowProxies</key>
167 <dict>
168 <key>SPNEGO</key>
169 <true/> | <false/>
170 <key>NTLM</key>
171 <true/> | <false/>
172 </dict>
173 <key>Locked</key>
174 <true/> | <false/>
175 </dict>
176 </dict>
177 ```
178 #### policies.json
179 ```
180 {
181 "policies": {
182 "Authentication": {
183 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
184 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
185 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
186 "AllowNonFQDN": {
187 "SPNEGO": true | false,
188 "NTLM": true | false
189 },
190 "AllowProxies": {
191 "SPNEGO": true | false,
192 "NTLM": true | false
193 },
194 "Locked": true | false
195 }
196 }
197 }
198 ```
199 ### BlockAboutAddons
200
201 Block access to the Add-ons Manager (about:addons).
202
203 **Compatibility:** Firefox 60, Firefox ESR 60\
204 **CCK2 Equivalent:** `disableAddonsManager`\
205 **Preferences Affected:** N/A
206
207 #### Windows (GPO)
208 ```
209 Software\Policies\Mozilla\Firefox\BlockAboutAddons = 0x1 | 0x0
210 ```
211 #### macOS
212 ```
213 <dict>
214 <key>BlockAboutAddons</key>
215 <true/> | <false/>
216 </dict>
217 ```
218 #### policies.json
219 ```
220 {
221 "policies": {
222 "BlockAboutAddons": true | false
223 }
224 }
225 ```
226 ### BlockAboutConfig
227
228 Block access to about:config.
229
230 **Compatibility:** Firefox 60, Firefox ESR 60\
231 **CCK2 Equivalent:** `disableAboutConfig`\
232 **Preferences Affected:** N/A
233
234 #### Windows (GPO)
235 ```
236 Software\Policies\Mozilla\Firefox\BlockAboutConfig = 0x1 | 0x0
237 ```
238 #### macOS
239 ```
240 <dict>
241 <key>BlockAboutConfig</key>
242 <true/> | <false/>
243 </dict>
244 ```
245 #### policies.json
246 ```
247 {
248 "policies": {
249 "BlockAboutConfig": true | false
250 }
251 }
252 ```
253 ### BlockAboutProfiles
254
255 Block access to About Profiles (about:profiles).
256
257 **Compatibility:** Firefox 60, Firefox ESR 60\
258 **CCK2 Equivalent:** `disableAboutProfiles`\
259 **Preferences Affected:** N/A
260
261 #### Windows (GPO)
262 ```
263 Software\Policies\Mozilla\Firefox\BlockAboutProfiles = 0x1 | 0x0
264 ```
265 #### macOS
266 ```
267 <dict>
268 <key>BlockAboutProfiles</key>
269 <true/> | <false/>
270 </dict>
271 ```
272 #### policies.json
273 ```
274 {
275 "policies": {
276 "BlockAboutProfiles": true | false
277 }
278 }
279 ```
280 ### BlockAboutSupport
281
282 Block access to Troubleshooting Information (about:support).
283
284 **Compatibility:** Firefox 60, Firefox ESR 60\
285 **CCK2 Equivalent:** `disableAboutSupport`\
286 **Preferences Affected:** N/A
287
288 #### Windows (GPO)
289 ```
290 Software\Policies\Mozilla\Firefox\BlockAboutSupport = 0x1 | 0x0
291 ```
292 #### macOS
293 ```
294 <dict>
295 <key>BlockAboutSupport</key>
296 <true/> | <false/>
297 </dict>
298 ```
299 #### policies.json
300 ```
301 {
302 "policies": {
303 "BlockAboutSupport": true | false
304 }
305 }
306 ```
307 ### Bookmarks
308
309 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.
310
311 **Compatibility:** Firefox 60, Firefox ESR 60\
312 **CCK2 Equivalent:** `bookmarks.toolbar`,`bookmarks.menu`\
313 **Preferences Affected:** N/A
314
315 #### Windows (GPO)
316 ```
317 Software\Policies\Mozilla\Firefox\Bookmarks\1\Title = "Example"
318 Software\Policies\Mozilla\Firefox\Bookmarks\1\URL = "https://example.com"
319 Software\Policies\Mozilla\Firefox\Bookmarks\1\Favicon = "https://example.com/favicon.ico"
320 Software\Policies\Mozilla\Firefox\Bookmarks\1\Placement = "toolbar" | "menu"
321 Software\Policies\Mozilla\Firefox\Bookmarks\1\Folder = "FolderName"
322 ```
323 #### macOS
324 ```
325 <dict>
326 <key>Bookmarks</key>
327 <array>
328 <dict>
329 <key>Title</key>
330 <string>Example</string>
331 <key>URL</key>
332 <string>https://example.com</string>
333 <key>Favicon</key>
334 <string>https://example.com/favicon.ico</string>
335 <key>Placement</key>
336 <string>toolbar | menu</string>
337 <key>Folder</key>
338 <string>FolderName</string>
339 </dict>
340 </array>
341 </dict>
342 ```
343 #### policies.json
344 ```
345 {
346 "policies": {
347 "Bookmarks": [
348 {
349 "Title": "Example",
350 "URL": "https://example.com",
351 "Favicon": "https://example.com/favicon.ico",
352 "Placement": "toolbar" | "menu",
353 "Folder": "FolderName"
354 }
355 ]
356 }
357 }
358 ```
359 ### CaptivePortal
360 Enable or disable the detection of captive portals.
361
362 **Compatibility:** Firefox 67, Firefox ESR 60.7\
363 **CCK2 Equivalent:** N/A\
364 **Preferences Affected:** `network.captive-portal-service.enabled`
365
366 #### Windows (GPO)
367 ```
368 Software\Policies\Mozilla\Firefox\CaptivePortal = 0x1 | 0x0
369 ```
370 #### macOS
371 ```
372 <dict>
373 <key>CaptivePortal</key>
374 <true/> | <false/>
375 </dict>
376 ```
377 #### policies.json
378 ```
379 {
380 "policies": {
381 "CaptivePortal": true | false
382 }
383 }
384 ```
385 ### Certificates
386
387 ### Certificates | ImportEnterpriseRoots
388
389 Trust certificates that have been added to the operating system certificate store by a user or administrator.
390
391 See https://support.mozilla.org/kb/setting-certificate-authorities-firefox for more detail.
392
393 **Compatibility:** Firefox 60, Firefox ESR 60 (macOS support in Firefox 63, Firefox ESR 68)\
394 **CCK2 Equivalent:** N/A\
395 **Preferences Affected:** `security.enterprise_roots.enabled`
396
397 #### Windows (GPO)
398 ```
399 Software\Policies\Mozilla\Firefox\Certificates\ImportEnterpriseRoots = 0x1 | 0x0
400 ```
401 #### macOS
402 ```
403 <dict>
404 <key>Certificates</key>
405 <dict>
406 <key>ImportEnterpriseRoots</key>
407 <true/> | <false/>
408 </dict>
409 </dict>
410 ```
411 #### policies.json
412 ```
413 {
414 "policies": {
415 "Certificates": {
416 "ImportEnterpriseRoots": true | false
417 }
418 }
419 }
420 ```
421 ### Certificates | Install
422
423 Install certificates into the Firefox certificate store. If only a filename is specified, Firefox searches for the file in the following locations:
424
425 - Windows
426 - %USERPROFILE%\AppData\Local\Mozilla\Certificates
427 - %USERPROFILE%\AppData\Roaming\Mozilla\Certificates
428 - macOS
429 - /Library/Application Support/Mozilla/Certificates
430 - ~/Library/Application Support/Mozilla/Certificates
431 - Linux
432 - /usr/lib/mozilla/certificates
433 - /usr/lib64/mozilla/certificates
434 - ~/.mozilla/certificates
435
436 Starting with Firefox 65, Firefox 60.5 ESR, a fully qualified path can be used, including UNC paths. You should use the native path style for your operating system. We do not support using %USERPROFILE% or other environment variables on Windows.
437
438 If you are specifying the path in the policies.json file on Windows, you need to escape your backslashes (`\\`) which means that for UNC paths, you need to escape both (`\\\\`). If you use group policy, you only need one backslash.
439
440 Certificates are installed using the trust string `CT,CT,`.
441
442 Binary (DER) and ASCII (PEM) certificates are both supported.
443
444 **Compatibility:** Firefox 64, Firefox ESR 64\
445 **CCK2 Equivalent:** `certs.ca`\
446 **Preferences Affected:** N/A
447
448 #### Windows (GPO)
449 ```
450 Software\Policies\Mozilla\Firefox\Certificates\Install\1 = "cert1.der"
451 Software\Policies\Mozilla\Firefox\Certificates\Install\2 = "C:\Users\username\cert2.pem"
452 ```
453 #### macOS
454 ```
455 <dict>
456 <key>Certificates</key>
457 <dict>
458 <key>Install</key>
459 <array>
460 <string>cert1.der</string>
461 <string>/Users/username/cert2.pem</string>
462 </array>
463 </dict>
464 </dict>
465 ```
466 #### policies.json
467 ```
468 {
469 "policies": {
470 "Certificates": {
471 "Install": ["cert1.der", "/home/username/cert2.pem"]
472 }
473 }
474 }
475 ```
476 ### Cookies
477 Configure cookie preferences.
478
479 `Allow` is a list of origins (not domains) where cookies are always allowed. You must include http or https.
480
481 `Block` is a list of origins (not domains) where cookies are always blocked. You must include http or https.
482
483 `Default` determines whether cookies are accepted at all.
484
485 `AcceptThirdParty` determines how third-party cookies are handled.
486
487 `ExpireAtSessionEnd` determines when cookies expire.
488
489 `RejectTracker` only rejects cookies for trackers.
490
491 `Locked` prevents the user from changing cookie preferences.
492
493 **Compatibility:** Firefox 60, Firefox ESR 60 (RejectTracker was added in Firefox 63)\
494 **CCK2 Equivalent:** N/A\
495 **Preferences Affected:** `network.cookie.cookieBehavior`,`network.cookie.lifetimePolicy`
496
497 #### Windows (GPO)
498 ```
499 Software\Policies\Mozilla\Firefox\Cookies\Allow\1 = "https://example.com"
500 Software\Policies\Mozilla\Firefox\Cookies\Block\1 = "https://example.org"
501 Software\Policies\Mozilla\Firefox\Cookies\Default = 0x1 | 0x0
502 Software\Policies\Mozilla\Firefox\Cookies\AcceptThirdParty = "always" | "never" |"from-visited"
503 Software\Policies\Mozilla\Firefox\Cookies\ExpireAtSessionEnd = 0x1 | 0x0
504 Software\Policies\Mozilla\Firefox\Cookies\RejectTracker = 0x1 | 0x0
505 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
506 ```
507 #### macOS
508 ```
509 <dict>
510 <key>Cookies</key>
511 <dict>
512 <key>Allow</key>
513 <array>
514 <string>http://example.com</string>
515 </array>
516 <key>Block</key>
517 <array>
518 <string>http://example.org</string>
519 </array>
520 <key>Default</key>
521 <true/> | <false/>
522 <key>AcceptThirdParty</key>
523 <string>always | never | from-visited</string>
524 <key>ExpireAtSessionEnd</key>
525 <true/> | <false/>
526 <key>RejectTracker</key>
527 <true/> | <false/>
528 <key>Locked</key>
529 <true/> | <false/>
530 </dict>
531 </dict>
532 ```
533 #### policies.json
534 ```
535 {
536 "policies": {
537 "Cookies": {
538 "Allow": ["http://example.org/"],
539 "Block": ["http://example.edu/"],
540 "Default": true | false,
541 "AcceptThirdParty": "always" | "never" | "from-visited",
542 "ExpireAtSessionEnd": true | false,
543 "RejectTracker": true | false,
544 "Locked": true | false
545 }
546 }
547 }
548 ```
549 ### DisableSetDesktopBackground
550 Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
551
552 **Compatibility:** Firefox 60, Firefox ESR 60\
553 **CCK2 Equivalent:** `removeSetDesktopBackground`\
554 **Preferences Affected:** N/A
555
556 #### Windows (GPO)
557 ```
558 Software\Policies\Mozilla\Firefox\DisableSetDesktopBackground = 0x1 | 0x0
559 ```
560
561 #### macOS
562 ```
563 <dict>
564 <key>DisableSetDesktopBackground</key>
565 <true/> | <false/>
566 </dict>
567 ```
568 #### policies.json
569 ```
570 {
571 "policies": {
572 "DisableSetDesktopBackground": true | false
573 }
574 }
575 ```
576 ### DisableMasterPasswordCreation
577 Remove the master password functionality.
578
579 **Compatibility:** Firefox 60, Firefox ESR 60\
580 **CCK2 Equivalent:** `noMasterPassword`\
581 **Preferences Affected:** N/A
582
583 #### Windows (GPO)
584 ```
585 Software\Policies\Mozilla\Firefox\DisableMasterPasswordCreation = 0x1 | 0x0
586 ```
587
588 #### macOS
589 ```
590 <dict>
591 <key>DisableMasterPasswordCreation</key>
592 <true/> | <false/>
593 </dict>
594 ```
595 #### policies.json
596 ```
597 {
598 "policies": {
599 "DisableMasterPasswordCreation": true | false
600 }
601 }
602 ```
603 ### DisableAppUpdate
604 Turn off application updates.
605
606 **Compatibility:** Firefox 60, Firefox ESR 60\
607 **CCK2 Equivalent:** `disableFirefoxUpdates`\
608 **Preferences Affected:** N/A
609
610 #### Windows (GPO)
611 ```
612 Software\Policies\Mozilla\Firefox\DisableAppUpdate = 0x1 | 0x0
613 ```
614 #### macOS
615 ```
616 <dict>
617 <key>DisableAppUpdate</key>
618 <true/> | <false/>
619 </dict>
620 ```
621 #### policies.json
622 ```
623 {
624 "policies": {
625 "DisableAppUpdate": true | false
626 }
627 }
628 ```
629 ### DisableBuiltinPDFViewer
630 Disable the built in PDF viewer. PDF files are downloaded and sent externally.
631
632 **Compatibility:** Firefox 60, Firefox ESR 60\
633 **CCK2 Equivalent:** `disablePDFjs`\
634 **Preferences Affected:** `pdfjs.disabled`
635
636 #### Windows (GPO)
637 ```
638 Software\Policies\Mozilla\Firefox\DisableBuiltinPDFViewer = 0x1 | 0x0
639 ```
640
641 #### macOS
642 ```
643 <dict>
644 <key>DisableBuiltinPDFViewer</key>
645 <true/> | <false/>
646 </dict>
647 ```
648 #### policies.json
649 ```
650 {
651 "policies": {
652 "DisableBuiltinPDFViewer": true | false
653 }
654 }
655 ```
656 ### DisableDeveloperTools
657 Remove access to all developer tools.
658
659 **Compatibility:** Firefox 60, Firefox ESR 60\
660 **CCK2 Equivalent:** `removeDeveloperTools`\
661 **Preferences Affected:** `devtools.policy.disabled`
662
663 #### Windows (GPO)
664 ```
665 Software\Policies\Mozilla\Firefox\DisableDeveloperTools = 0x1 | 0x0`
666 ```
667
668 #### macOS
669 ```
670 <dict>
671 <key>DisableDeveloperTools</key>
672 <true/> | <false/>
673 </dict>
674 ```
675 #### policies.json
676 ```
677 {
678 "policies": {
679 "DisableDeveloperTools": true | false
680 }
681 }
682 ```
683 ### DisableFeedbackCommands
684 Disable the menus for reporting sites (Submit Feedback, Report Deceptive Site).
685
686 **Compatibility:** Firefox 60, Firefox ESR 60\
687 **CCK2 Equivalent:** N/A\
688 **Preferences Affected:** N/A
689
690 #### Windows (GPO)
691 ```
692 Software\Policies\Mozilla\Firefox\DisableFeedbackCommands = 0x1 | 0x0
693 ```
694 #### macOS
695 ```
696 <dict>
697 <key>DisableFeedbackCommands</key>
698 <true/> | <false/>
699 </dict>
700 ```
701 #### policies.json
702 ```
703 {
704 "policies": {
705 "DisableFeedbackCommands": true | false
706 }
707 }
708 ```
709 ### DisableFirefoxScreenshots
710 Remove access to Firefox Screenshots.
711
712 **Compatibility:** Firefox 60, Firefox ESR 60\
713 **CCK2 Equivalent:** N/A\
714 **Preferences Affected:** `extensions.screenshots.disabled`
715
716 #### Windows (GPO)
717 ```
718 Software\Policies\Mozilla\Firefox\DisableFirefoxScreenshots = 0x1 | 0x0
719 ```
720 #### macOS
721 ```
722 <dict>
723 <key>DisableFirefoxScreenshots</key>
724 <true/> | <false/>
725 </dict>
726 ```
727 #### policies.json
728 ```
729 {
730 "policies": {
731 "DisableFirefoxScreenshots": true | false
732 }
733 }
734 ```
735 ### DisableFirefoxAccounts
736 Disable Firefox Accounts integration (Sync).
737
738 **Compatibility:** Firefox 60, Firefox ESR 60\
739 **CCK2 Equivalent:** `disableSync`\
740 **Preferences Affected:** `identity.fxaccounts.enabled`
741
742 #### Windows (GPO)
743 ```
744 Software\Policies\Mozilla\Firefox\DisableFirefoxAccounts = 0x1 | 0x0
745 ```
746 #### macOS
747 ```
748 <dict>
749 <key>DisableFirefoxAccounts</key>
750 <true/> | <false/>
751 </dict>
752 ```
753 #### policies.json
754 ```
755 {
756 "policies": {
757 "DisableFirefoxAccounts": true | false
758 }
759 }
760 ```
761 ### DisableFirefoxStudies
762 Disable Firefox studies (Shield).
763
764 **Compatibility:** Firefox 60, Firefox ESR 60\
765 **CCK2 Equivalent:** `disableForget`\
766 **Preferences Affected:** N/A
767
768 #### Windows (GPO)
769 ```
770 Software\Policies\Mozilla\Firefox\DisableFirefoxStudies = 0x1 | 0x0
771 ```
772 #### macOS
773 ```
774 <dict>
775 <key>DisableFirefoxStudies</key>
776 <true/> | <false/>
777 </dict>
778 ```
779 #### policies.json
780 ```
781 {
782 "policies": {
783 "DisableFirefoxStudies": true | false
784 }
785 }
786 ```
787 ### DisableForgetButton
788 Disable the "Forget" button.
789
790 **Compatibility:** Firefox 60, Firefox ESR 60\
791 **CCK2 Equivalent:** `disableForget`\
792 **Preferences Affected:** N/A
793
794 #### Windows (GPO)
795 ```
796 Software\Policies\Mozilla\Firefox\DisableForgetButton = 0x1 | 0x0
797 ```
798 #### macOS
799 ```
800 <dict>
801 <key>DisableForgetButton</key>
802 <true/> | <false/>
803 </dict>
804 ```
805 #### policies.json
806 ```
807 {
808 "policies": {
809 "DisableForgetButton": true | false
810 }
811 }
812 ```
813 ### DisableFormHistory
814 Turn off saving information on web forms and the search bar.
815
816 **Compatibility:** Firefox 60, Firefox ESR 60\
817 **CCK2 Equivalent:** `disableFormFill`\
818 **Preferences Affected:** ` browser.formfill.enable`
819
820 #### Windows (GPO)
821 ```
822 Software\Policies\Mozilla\Firefox\DisableFormHistory = 0x1 | 0x0
823 ```
824 #### macOS
825 ```
826 <dict>
827 <key>DisableFormHistory</key>
828 <true/> | <false/>
829 </dict>
830 ```
831 #### policies.json
832 ```
833 {
834 "policies": {
835 "DisableFormHistory": true | false
836 }
837 }
838 ```
839 ### DisablePasswordReveal
840 Do not allow passwords to be shown in saved logins
841
842 **Compatibility:** Firefox 71, Firefox ESR 68.3\
843 **CCK2 Equivalent:** N/A
844 **Preferences Affected:** N/A
845
846 #### Windows (GPO)
847 ```
848 Software\Policies\Mozilla\Firefox\DisablePasswordReveal = 0x1 | 0x0
849 ```
850
851 #### macOS
852 ```
853 <dict>
854 <key>DisablePasswordReveal</key>
855 <true/> | <false/>
856 </dict>
857 ```
858 #### policies.json
859 ```
860 {
861 "policies": {
862 "DisablePasswordReveal": true | false
863 }
864 }
865 ```
866 ### DisablePocket
867 Remove Pocket in the Firefox UI. It does not remove it from the new tab page.
868
869 **Compatibility:** Firefox 60, Firefox ESR 60\
870 **CCK2 Equivalent:** `disablePocket`\
871 **Preferences Affected:** `extensions.pocket.enabled`
872
873 #### Windows (GPO)
874 ```
875 Software\Policies\Mozilla\Firefox\DisablePocket = 0x1 | 0x0
876 ```
877 #### macOS
878 ```
879 <dict>
880 <key>DisablePocket</key>
881 <true/> | <false/>
882 </dict>
883 ```
884 #### policies.json
885 ```
886 {
887 "policies": {
888 "DisablePocket": true | false
889 }
890 }
891 ```
892 ### DisablePrivateBrowsing
893 Remove access to private browsing.
894
895 **Compatibility:** Firefox 60, Firefox ESR 60\
896 **CCK2 Equivalent:** `disablePrivateBrowsing`\
897 **Preferences Affected:** N/A
898
899 #### Windows (GPO)
900 ```
901 Software\Policies\Mozilla\Firefox\DisablePrivateBrowsing = 0x1 | 0x0
902 ```
903 #### macOS
904 ```
905 <dict>
906 <key>DisablePrivateBrowsing</key>
907 <true/> | <false/>
908 </dict>
909 ```
910 #### policies.json
911 ```
912 {
913 "policies": {
914 "DisablePrivateBrowsing": true | false
915 }
916 }
917 ```
918 ### DisableProfileImport
919 Disables the "Import data from another browser" option in the bookmarks window.
920
921 **Compatibility:** Firefox 60, Firefox ESR 60\
922 **CCK2 Equivalent:** N/A\
923 **Preferences Affected:** N/A
924
925 #### Windows (GPO)
926 ```
927 Software\Policies\Mozilla\Firefox\DisableProfileImport = 0x1 | 0x0
928 ```
929 #### macOS
930 ```
931 <dict>
932 <key>DisableProfileImport</key>
933 <true/> | <false/>
934 </dict>
935 ```
936 #### policies.json
937 ```
938 {
939 "policies": {
940 "DisableProfileImport": true | false
941 }
942 }
943 ```
944 ### DisableProfileRefresh
945 Disable the Refresh Firefox button on about:support and support.mozilla.org, as well as the prompt that displays offering to refresh Firefox when you haven't used it in a while.
946
947 **Compatibility:** Firefox 60, Firefox ESR 60\
948 **CCK2 Equivalent:** `disableResetFirefox`\
949 **Preferences Affected:** `browser.disableResetPrompt`
950
951 #### Windows (GPO)
952 ```
953 Software\Policies\Mozilla\Firefox\DisableProfileRefresh = 0x1 | 0x0
954 ```
955 #### macOS
956 ```
957 <dict>
958 <key>DisableProfileRefresh</key>
959 <true/> | <false/>
960 </dict>
961 ```
962 #### policies.json
963 ```
964 {
965 "policies": {
966 "DisableProfileRefresh": true | false
967 }
968 }
969 ```
970 ### DisableSafeMode
971 Disable safe mode within the browser.
972
973 On Windows, this disables safe mode via the command line as well.
974
975 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, macOS)\
976 **CCK2 Equivalent:** `disableSafeMode`\
977 **Preferences Affected:** N/A
978
979 #### Windows (GPO)
980 ```
981 Software\Policies\Mozilla\Firefox\DisableSafeMode = 0x1 | 0x0
982 ```
983 #### macOS
984 ```
985 <dict>
986 <key>DisableSafeMode</key>
987 <true/> | <false/>
988 </dict>
989 ```
990 #### policies.json
991 ```
992 {
993 "policies": {
994 "DisableSafeMode": true | false
995 }
996 }
997 ```
998 ### DisableSecurityBypass
999 Prevent the user from bypassing security in certain cases.
1000
1001 `InvalidCertificate` prevents adding an exception when an invalid certificate is shown.
1002
1003 `SafeBrowsing` prevents selecting "ignore the risk" and visiting a harmful site anyway.
1004
1005 **Compatibility:** Firefox 60, Firefox ESR 60\
1006 **CCK2 Equivalent:** N/A\
1007 **Preferences Affected:** `security.certerror.hideAddException`,`browser.safebrowsing.allowOverride`
1008
1009 #### Windows (GPO)
1010 ```
1011 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\InvalidCertificate = 0x1 | 0x0
1012 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\SafeBrowsing = 0x1 | 0x0
1013 ```
1014 #### macOS
1015 ```
1016 <dict>
1017 <key>DisableSecurityBypass</key>
1018 <dict>
1019 <key>InvalidCertificate</key>
1020 <true/> | <false/>
1021 <key><SafeBrowsing/key>
1022 <true/> | <false/>
1023 </dict>
1024 </dict>
1025 ```
1026 #### policies.json
1027 ```
1028 {
1029 "policies": {
1030 "DisableSecurityBypass": {
1031 "InvalidCertificate": true false,
1032 "SafeBrowsing": true false
1033 }
1034 }
1035 }
1036 ```
1037 ### DisableSystemAddonUpdate
1038 Prevent system add-ons from being installed or update.
1039
1040 **Compatibility:** Firefox 60, Firefox ESR 60\
1041 **CCK2 Equivalent:** N/A\
1042 **Preferences Affected:** N/A
1043
1044 #### Windows (GPO)
1045 ```Software\Policies\Mozilla\Firefox\DisableSystemAddonUpdate = 0x1 | 0x0
1046 ```
1047 #### macOS
1048 ```
1049 <dict>
1050 <key>DisableSystemAddonUpdate</key>
1051 <true/> | <false/>
1052 </dict>
1053 ```
1054 #### policies.json
1055 ```
1056 {
1057 "policies": {
1058 "DisableSystemAddonUpdate": true | false
1059 }
1060 }
1061 ```
1062 ### DisableTelemetry
1063 Prevent the upload of telemetry data.
1064
1065 Mozilla recommends that you do not disable telemetry. Information collected through telemetry helps us build a better product for businesses like yours.
1066
1067 **Compatibility:** Firefox 60, Firefox ESR 60\
1068 **CCK2 Equivalent:** `disableTelemetry`\
1069 **Preferences Affected:** `datareporting.healthreport.uploadEnabled,datareporting.policy.dataSubmissionEnabled`
1070
1071 #### Windows (GPO)
1072 ```
1073 Software\Policies\Mozilla\Firefox\DisableTelemetry = 0x1 | 0x0
1074 ```
1075 #### macOS
1076 ```
1077 <dict>
1078 <key>DisableTelemetry</key>
1079 <true/> | <false/>
1080 </dict>
1081 ```
1082 #### policies.json
1083 ```
1084 {
1085 "policies": {
1086 "DisableTelemetry": true | false
1087 }
1088 }
1089 ```
1090 ### DisplayBookmarksToolbar
1091 Set the initial state of the bookmarks toolbar. A user can still hide it and it will stay hidden.
1092
1093 **Compatibility:** Firefox 60, Firefox ESR 60\
1094 **CCK2 Equivalent:** `displayBookmarksToolbar`\
1095 **Preferences Affected:** N/A
1096
1097 #### Windows (GPO)
1098 ```
1099 Software\Policies\Mozilla\Firefox\DisplayBookmarksToolbar = 0x1 | 0x0
1100 ```
1101 #### macOS
1102 ```
1103 <dict>
1104 <key>DisplayBookmarksToolbar</key>
1105 <true/> | <false/>
1106 </dict>
1107 ```
1108 #### policies.json
1109 ```
1110 {
1111 "policies": {
1112 "DisplayBookmarksToolbar": true | false
1113 }
1114 }
1115 ```
1116 ### DisplayMenuBar (Deprecated)
1117 Set the initial state of the menubar. A user can still hide it and it will stay hidden.
1118
1119 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, some Linux)\
1120 **CCK2 Equivalent:** `displayMenuBar`\
1121 **Preferences Affected:** N/A
1122
1123 #### Windows (GPO)
1124 ```
1125 Software\Policies\Mozilla\Firefox\DisplayMenuBar = 0x1 | 0x0
1126 ```
1127 #### macOS
1128 ```
1129 <dict>
1130 <key>DisplayMenuBar</key>
1131 <true/> | <false/>
1132 </dict>
1133 ```
1134 #### policies.json
1135 ```
1136 {
1137 "policies": {
1138 "DisplayMenuBar": true | false
1139 }
1140 }
1141 ```
1142 ### DisplayMenuBar
1143 Set the state of the menubar.
1144
1145 `always` means the menubar is shown and cannot be hidden.
1146
1147 `never` means the menubar is hidden and cannot be shown.
1148
1149 `default-on` means the menubar is on by default but can be hidden.
1150
1151 `default-off` means the menubar is off by default but can be shown.
1152
1153 **Compatibility:** Firefox 73, Firefox ESR 68.5 (Windows, some Linux)\
1154 **CCK2 Equivalent:** `displayMenuBar`\
1155 **Preferences Affected:** N/A
1156
1157 #### Windows (GPO)
1158 ```
1159 Software\Policies\Mozilla\Firefox\DisplayMenuBar = "always", "never", "default-on", "default-off"
1160 ```
1161 #### macOS
1162 ```
1163 <dict>
1164 <key>DisplayMenuBar</key>
1165 <string>always | never | default-on | default-off</string>
1166 </dict>
1167 ```
1168 #### policies.json
1169 ```
1170 {
1171 "policies": {
1172 "DisplayMenuBar": "always", "never", "default-on", "default-off"
1173 }
1174 }
1175 ```
1176 ### DNSOverHTTPS
1177 Configure DNS over HTTPS.
1178
1179 `Enabled` determines whether DNS over HTTPS is enabled
1180
1181 `ProviderURL` is a URL to another provider.
1182
1183 `Locked` prevents the user from changing DNS over HTTPS preferences.
1184
1185 **Compatibility:** Firefox 63, Firefox ESR 68\
1186 **CCK2 Equivalent:** N/A\
1187 **Preferences Affected:** `network.trr.mode`,`network.trr.uri`
1188
1189 #### Windows (GPO)
1190 ```
1191 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\Enabled = 0x1 | 0x0
1192 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\ProviderURL = "URL_TO_ALTERNATE_PROVIDER"
1193 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\Locked = 0x1 | 0x0
1194 ```
1195 #### macOS
1196 ```
1197 <dict>
1198 <key>DNSOverHTTPS</key>
1199 <dict>
1200 <key>Enabled</key>
1201 <true/> | <false/>
1202 <key>ProviderURL</key>
1203 <string>URL_TO_ALTERNATE_PROVIDER</string>
1204 <key>Locked</key>
1205 <true/> | <false/>
1206 </dict>
1207 </dict>
1208 ```
1209 #### policies.json
1210 ```
1211 {
1212 "policies": {
1213 "DNSOverHTTPS": {
1214 "Enabled": true | false,
1215 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
1216 "Locked": true | false
1217 }
1218 }
1219 }
1220 ```
1221 ### DontCheckDefaultBrowser
1222 Don't check if Firefox is the default browser at startup.
1223
1224 **Compatibility:** Firefox 60, Firefox ESR 60\
1225 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1226 **Preferences Affected:** `browser.shell.checkDefaultBrowser`
1227
1228 #### Windows (GPO)
1229 ```
1230 Software\Policies\Mozilla\Firefox\DontCheckDefaultBrowser = 0x1 | 0x0
1231 ```
1232 #### macOS
1233 ```
1234 <dict>
1235 <key>DontCheckDefaultBrowser</key>
1236 <true/> | <false/>
1237 </dict>
1238 ```
1239 #### policies.json
1240 ```
1241 {
1242 "policies": {
1243 "DontCheckDefaultBrowser": true | false
1244 }
1245 }
1246 ```
1247 ### DefaultDownloadDirectory
1248 Set the default download directory.
1249
1250 You can use ${home} for the native home directory.
1251
1252 **Compatibility:** Firefox 68, Firefox ESR 68\
1253 **CCK2 Equivalent:** N/A\
1254 **Preferences Affected:** `browser.download.dir`,`browser.download.folderList`
1255
1256 #### Windows (GPO)
1257 ```
1258 Software\Policies\Mozilla\Firefox\DefaultDownloadDirectory = "${home}\Downloads"
1259 ```
1260 #### macOS
1261 ```
1262 <dict>
1263 <key>DefaultDownloadDirectory</key>
1264 <string>${home}/Downloads</string>
1265 </dict>
1266 ```
1267 #### policies.json (macOS and Linux)
1268 ```
1269 {
1270 "policies": {
1271 "DefaultDownloadDirectory": "${home}/Downloads"
1272 }
1273 ```
1274 #### policies.json (Windows)
1275 ```
1276 {
1277 "policies": {
1278 "DefaultDownloadDirectory": "${home}\\Downloads"
1279 }
1280 ```
1281 ### DownloadDirectory
1282 Set and lock the download directory.
1283
1284 You can use ${home} for the native home directory.
1285
1286 **Compatibility:** Firefox 68, Firefox ESR 68\
1287 **CCK2 Equivalent:** N/A\
1288 **Preferences Affected:** `browser.download.dir`,`browser.download.folderList`,`browser.download.useDownloadDir`
1289
1290 #### Windows (GPO)
1291 ```
1292 Software\Policies\Mozilla\Firefox\DownloadDirectory = "${home}\Downloads"
1293 ```
1294 #### macOS
1295 ```
1296 <dict>
1297 <key>DownloadDirectory</key>
1298 <string>${home}/Downloads</string>
1299 </dict>
1300 ```
1301 #### policies.json (macOS and Linux)
1302 ```
1303 {
1304 "policies": {
1305 "DownloadDirectory": "${home}/Downloads"
1306 }
1307 ```
1308 #### policies.json (Windows)
1309 ```
1310 {
1311 "policies": {
1312 "DownloadDirectory": "${home}\\Downloads"
1313 }
1314 ```
1315 ### EnableTrackingProtection
1316 Configure tracking protection.
1317
1318 If this policy is not configured, tracking protection is not enabled by default in the browser, but it is enabled by default in private browsing and the user can change it.
1319
1320 If `Value` is set to false, tracking protection is disabled and locked in both the regular browser and private browsing.
1321
1322 If `Value` is set to true, tracking protection is enabled by default in both the regular browser and private browsing and the `Locked` value determines whether or not a user can change it.
1323
1324 If `Cryptomining` is set to true, cryptomining scripts on websites are blocked.
1325
1326 If `Fingerprinting` is set to true, fingerprinting scripts on websites are blocked.
1327
1328 `Exceptions` are origins for which tracking protection is not enabled.
1329
1330 **Compatibility:** Firefox 60, Firefox ESR 60 (Cryptomining and Fingerprinting added in 70/68.2, Exceptions added in 73/68.5)\
1331 **CCK2 Equivalent:** N/A\
1332 **Preferences Affected:** `privacy.trackingprotection.enabled`,`privacy.trackingprotection.pbmode.enabled`,`privacy.trackingprotection.cryptomining.enabled`,`privacy.trackingprotection.fingerprinting.enabled`
1333
1334 #### Windows (GPO)
1335 ```
1336 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Value = 0x1 | 0x0
1337 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Locked = 0x1 | 0x0
1338 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Cryptomining = 0x1 | 0x0
1339 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Fingerprinting = 0x1 | 0x0
1340 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Exceptions\1 = "https://example.com"
1341 ```
1342 #### macOS
1343 ```
1344 <dict>
1345 <key>EnableTrackingProtection</key>
1346 <dict>
1347 <key>Value</key>
1348 <true/> | <false/>
1349 <key><Locked</key>
1350 <true/> | <false/>
1351 <key><Cryptomining</key>
1352 <true/> | <false/>
1353 <key><Fingerprinting</key>
1354 <true/> | <false/>
1355 <key>Exceptions</key>
1356 <array>
1357 <string>https://example.com</string>
1358 </array>
1359 </dict>
1360 </dict>
1361 ```
1362 #### policies.json
1363 ```
1364 {
1365 "policies": {
1366 "EnableTrackingProtection": {
1367 "Value": [true, false],
1368 "Locked": [true, false],
1369 "Cryptomining": [true, false],
1370 "Fingerprinting": [true, false],
1371 "Exceptions": ["https://example.com"]
1372 }
1373 }
1374 ```
1375 ### EnterprisePoliciesEnabled
1376 Enable policy support on macOS.
1377
1378 **Compatibility:** Firefox 63, Firefox ESR 60.3 (macOS only)\
1379 **CCK2 Equivalent:** N/A\
1380 **Preferences Affected:** N/A
1381
1382 #### macOS
1383 ```
1384 <dict>
1385 <key>EnterprisePoliciesEnabled</key>
1386 <true/>
1387 </dict>
1388 ```
1389 ### Extensions
1390 Control the installation, uninstallation and locking of extensions.
1391
1392 `Install` is a list of URLs or native paths for extensions to be installed.
1393
1394 `Uninstall` is a list of extension IDs that should be uninstalled if found.
1395
1396 `Locked` is a list of extension IDs that the user cannot disable or uninstall.
1397
1398 **Compatibility:** Firefox 60, Firefox ESR 60\
1399 **CCK2 Equivalent:** `addons`\
1400 **Preferences Affected:** N/A
1401
1402 #### Windows (GPO)
1403 ```
1404 Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi"
1405 Software\Policies\Mozilla\Firefox\Extensions\Install\2 = "//path/to/xpi"
1406 Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "bad_addon_id@mozilla.org"
1407 Software\Policies\Mozilla\Firefox\Extensions\Locked\1 = "addon_id@mozilla.org"
1408 ```
1409 #### macOS
1410 ```
1411 <dict>
1412 <key>Extensions</key>
1413 <dict>
1414 <key>Install</key>
1415 <array>
1416 <string>https://addons.mozilla.org/firefox/downloads/somefile.xpi</string>
1417 <string>//path/to/xpi</string>
1418 </array>
1419 <key>Uninstall</key>
1420 <array>
1421 <string>bad_addon_id@mozilla.org</string>
1422 </array>
1423 <key>Locked</key>
1424 <array>
1425 <string>addon_id@mozilla.org</string>
1426 </array>
1427 </dict>
1428 </dict>
1429 ```
1430 #### policies.json
1431 ```
1432 {
1433 "policies": {
1434 "Extensions": {
1435 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
1436 "Uninstall": ["bad_addon_id@mozilla.org"],
1437 "Locked": ["addon_id@mozilla.org"]
1438 }
1439 }
1440 }
1441 ```
1442 ### ExtensionSettings
1443 Manage all aspects of extensions. This policy is based heavily on the [Chrome policy](https://dev.chromium.org/administrators/policy-list-3/extension-settings-full) of the same name.
1444
1445 This policy maps an extension ID to its configuration. With an extension ID, the configuration will be applied to the specified extension only. A default configuration can be set for the special ID "*", which will apply to all extensions that don't have a custom configuration set in this policy.
1446
1447 To obtain an extension ID, install the extension and go to about:support. You will see the ID in the Extensions section.
1448
1449 The configuration for each extension is another dictionary that can contain the fields documented below.
1450
1451 | Name | Description |
1452 | --- | --- |
1453 | `installation_mode` | Maps to a string indicating the installation mode for the extension. The valid strings are `allowed`,`blocked`,`force_installed`, and `normal_installed`.
1454 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`allowed` | Allows the extension to be installed by the user. This is the default behavior.
1455 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`blocked`| Blocks installation of the extension and removes it from the device if already installed.
1456 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`force_installed`| The extension is automatically installed and can't be removed by the user. This option is not valid for the default configuration and requires an install_url.
1457 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`normal_installed`| The extension is automatically installed but can be disabled by the user. This option is not valid for the default configuration and requires an install_url.
1458 | `install_url`| Maps to a URL indicating where Firefox can download a force_installed or normal_installed extension. If installing from the addons.mozilla.org, use the following URL (substituting SHORT_NAME from the URL on AMO), https://addons.mozilla.org/firefox/downloads/latest/SHORT_NAME/latest.xpi. If installing from the local file system, use a file:/// URL. Languages packs are available from https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi.
1459 | `install_sources` | Each item in this list is an extension-style match pattern. Users will be able to easily install items from any URL that matches an item in this list. Both the location of the *.xpi file and the page where the download is started from (i.e. the referrer) must be allowed by these patterns. This setting can be used only for the default configuration.
1460 | `allowed_types` | This setting whitelists the allowed types of extension/apps that can be installed in Firefox. The value is a list of strings, each of which should be one of the following: "extension", "theme", "dictionary", "langpack" This setting can be used only for the default configuration.
1461 | `blocked_install_message` | This maps to a string specifying the error message to display to users if they're blocked from installing an extension. This setting allows you to append text to the generic error message displayed when the extension is blocked. This could be be used to direct users to your help desk, explain why a particular extension is blocked, or something else.
1462
1463 **Compatibility:** Firefox 69, Firefox ESR 68.1\
1464 **CCK2 Equivalent:** N/A\
1465 **Preferences Affected:** N/A
1466
1467 #### Windows (GPO)
1468 ```
1469 Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
1470 {
1471 "*": {
1472 "blocked_install_message": "Custom error message.",
1473 "install_sources": ["https://addons.mozilla.org/"],
1474 "installation_mode": "blocked",
1475 "allowed_types": ["extension"]
1476 },
1477 "uBlock0@raymondhill.net": {
1478 "installation_mode": "force_installed",
1479 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
1480 }
1481 }
1482 ```
1483 #### macOS
1484 ```
1485 <dict>
1486 <key>ExtensionSettings</key>
1487 <dict>
1488 <key>*</key>
1489 <dict>
1490 <key>blocked_install_message</key>
1491 <string>Custom error message.</string>
1492 <key>install_sources</key>
1493 <array>
1494 <string>https://addons.mozilla.org/</string>
1495 </array>
1496 <key>installation_mode</key>
1497 <string>blocked</string>
1498 <key>allowed_types</key>
1499 <array>
1500 <string>extension</string>
1501 </array>
1502 </dict>
1503 <key>uBlock0@raymondhill.net</key>
1504 <dict>
1505 <key>installation_mode</key>
1506 <string>force_installed</string>
1507 <key>install_url</key>
1508 <string>https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi</string>
1509 </dict>
1510 </dict>
1511 </dict>
1512 ```
1513 #### policies.json
1514 ```
1515 {
1516 "policies": {
1517 "ExtensionSettings": {
1518 "*": {
1519 "blocked_install_message": "Custom error message.",
1520 "install_sources": ["https://addons.mozilla.org/"],
1521 "installation_mode": "blocked",
1522 "allowed_types": ["extension"]
1523 },
1524 "uBlock0@raymondhill.net": {
1525 "installation_mode": "force_installed",
1526 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
1527 }
1528 }
1529 }
1530 }
1531 ```
1532 ### ExtensionUpdate
1533 Control extension updates.
1534
1535 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1536 **CCK2 Equivalent:** N/A\
1537 **Preferences Affected:** `extensions.update.enabled`
1538
1539 #### Windows (GPO)
1540 ```
1541 Software\Policies\Mozilla\Firefox\ExtensionUpdate = 0x1 | 0x0
1542 ```
1543 #### macOS
1544 ```
1545 <dict>
1546 <key>ExtensionUpdate</key>
1547 <true/> | <false/>
1548 </dict>
1549 ```
1550 #### policies.json
1551 ```
1552 {
1553 "policies": {
1554 "ExtensionUpdate": true | false
1555 }
1556 }
1557 ```
1558 ### FlashPlugin
1559 Configure the default Flash plugin policy as well as origins for which Flash is allowed.
1560
1561 `Allow` is a list of origins where Flash are allowed.
1562
1563 `Block` is a list of origins where Flash is not allowed.
1564
1565 `Default` determines whether or not Flash is allowed by default.
1566
1567 `Locked` prevents the user from changing Flash preferences.
1568
1569 **Compatibility:** Firefox 60, Firefox ESR 60\
1570 **CCK2 Equivalent:** `permissions.plugin`\
1571 **Preferences Affected:** `plugin.state.flash`
1572
1573 #### Windows (GPO)
1574 ```
1575 Software\Policies\Mozilla\Firefox\FlashPlugin\Allow\1 = "https://example.org"
1576 Software\Policies\Mozilla\Firefox\FlashPlugin\Block\1 = "https://example.edu"
1577 Software\Policies\Mozilla\Firefox\FlashPlugin\Default = 0x1 | 0x0
1578 Software\Policies\Mozilla\Firefox\FlashPlugin\Locked = 0x1 | 0x0
1579 ```
1580 #### macOS
1581 ```
1582 <dict>
1583 <key>FlashPlugin</key>
1584 <dict>
1585 <key>Allow</key>
1586 <array>
1587 <string>http://example.org</string>
1588 </array>
1589 <key>Block</key>
1590 <array>
1591 <string>http://example.edu</string>
1592 </array>
1593 <key>Default</key>
1594 <true/> | <false/>
1595 <key>Locked</key>
1596 <true/> | <false/>
1597 </dict>
1598 </dict>
1599 ```
1600 #### policies.json
1601 ```
1602 {
1603 "policies": {
1604 "FlashPlugin": {
1605 "Allow": ["http://example.org/"],
1606 "Block": ["http://example.edu/"],
1607 "Default": true | false,
1608 "Locked": true | false
1609 }
1610 }
1611 }
1612 ```
1613 ### FirefoxHome
1614 Customize the Firefox Home page.
1615
1616 **Compatibility:** Firefox 68, Firefox ESR 68\
1617 **CCK2 Equivalent:** N/A\
1618 **Preferences Affected:** `browser.newtabpage.activity-stream.showSearch`,`browser.newtabpage.activity-stream.feeds.topsites`,`browser.newtabpage.activity-stream.feeds.section.highlights`,`browser.newtabpage.activity-stream.feeds.section.topstories`,`browser.newtabpage.activity-stream.feeds.snippets`
1619
1620 #### Windows (GPO)
1621 ```
1622 Software\Policies\Mozilla\Firefox\FirefoxHome\Search = 0x1 | 0x0
1623 Software\Policies\Mozilla\Firefox\FirefoxHome\TopSites = 0x1 | 0x0
1624 Software\Policies\Mozilla\Firefox\FirefoxHome\Highlights = 0x1 | 0x0
1625 Software\Policies\Mozilla\Firefox\FirefoxHome\Pocket = 0x1 | 0x0
1626 Software\Policies\Mozilla\Firefox\FirefoxHome\Snippets = 0x1 | 0x0
1627 Software\Policies\Mozilla\Firefox\FirefoxHome\Locked = 0x1 | 0x0
1628 ```
1629 #### macOS
1630 ```
1631 <dict>
1632 <key>FirefoxHome</key>
1633 <dict>
1634 <key>Search</key>
1635 <true/> | <false/>
1636 <key>TopSites</key>
1637 <true/> | <false/>
1638 <key>Highlights</key>
1639 <true/> | <false/>
1640 <key>Pocket</key>
1641 <true/> | <false/>
1642 <key>Snippets</key>
1643 <true/> | <false/>
1644 <key>Locked</key>
1645 <true/> | <false/>
1646 </dict>
1647 </dict>
1648 ```
1649 #### policies.json
1650 ```
1651 {
1652 "policies": {
1653 "FirefoxHome": {
1654 "Search": true | false,
1655 "TopSites": true | false,
1656 "Highlights": true | false,
1657 "Pocket": true | false,
1658 "Snippets": true | false,
1659 "Locked": true | false
1660 }
1661 }
1662 }
1663 ```
1664 ### HardwareAcceleration
1665 Control hardware acceleration.
1666
1667 **Compatibility:** Firefox 60, Firefox ESR 60\
1668 **CCK2 Equivalent:** N/A\
1669 **Preferences Affected:** `layers.acceleration.disabled`
1670
1671 #### Windows (GPO)
1672 ```
1673 Software\Policies\Mozilla\Firefox\HardwareAcceleration = 0x1 | 0x0
1674 ```
1675 #### macOS
1676 ```
1677 <dict>
1678 <key>HardwareAcceleration</key>
1679 <true/> | <false/>
1680 </dict>
1681 ```
1682 #### policies.json
1683 ```
1684 {
1685 "policies": {
1686 "HardwareAcceleration": true | false
1687 }
1688 }
1689 ```
1690 ### Homepage
1691 Configure the default homepage and how Firefox starts.
1692
1693 `URL` is the default homepage.
1694
1695 `Locked` prevents the user from changing homepage preferences.
1696
1697 `Additional` allows for more than one homepage.
1698
1699 `StartPage` is how Firefox starts. The choices are no homepage, the default homepage or the previous session.
1700
1701 **Compatibility:** Firefox 60, Firefox ESR 60 (StartPage was added in Firefox 60, Firefox ESR 60.4)\
1702 **CCK2 Equivalent:** `homePage`,`lockHomePage`\
1703 **Preferences Affected:** `browser.startup.homepage`,`browser.startup.page`
1704
1705 #### Windows (GPO)
1706 ```
1707 Software\Policies\Mozilla\Firefox\Homepage\URL = "https://example.com"
1708 Software\Policies\Mozilla\Firefox\Homepage\Locked = 0x1 | 0x0
1709 Software\Policies\Mozilla\Firefox\Homepage\Additional\1 = "https://example.org"
1710 Software\Policies\Mozilla\Firefox\Homepage\Additional\2 = "https://example.edu"
1711 Software\Policies\Mozilla\Firefox\Homepage\StartPage = "none" | "homepage" | "previous-session"
1712 ```
1713 #### macOS
1714 ```
1715 <dict>
1716 <key>Homepage</key>
1717 <dict>
1718 <key>URL</key>
1719 <string>http://example.com</string>
1720 <key>Locked</key>
1721 <true/> | <false/>
1722 <key>Additional</key>
1723 <array>
1724 <string>http://example.org</string>
1725 <string>http://example.edu</string>
1726 </array>
1727 <key>StartPage</key>
1728 <string>none | homepage | previous-session</string>
1729 </dict>
1730 </dict>
1731 ```
1732 #### policies.json
1733 ```
1734 {
1735 "policies": {
1736 "Homepage": {
1737 "URL": "http://example.com/",
1738 "Locked": true | false,
1739 "Additional": ["http://example.org/",
1740 "http://example.edu/"],
1741 "StartPage": "none" | "homepage" | "previous-session"
1742 }
1743 }
1744 }
1745 ```
1746 ### InstallAddonsPermission
1747 Configure the default extension install policy as well as origins for extension installs are allowed. This policy does not override turning off all extension installs.
1748
1749 `Allow` is a list of origins where extension installs are allowed.
1750
1751 `Default` determines whether or not extension installs are allowed by default.
1752
1753 **Compatibility:** Firefox 60, Firefox ESR 60\
1754 **CCK2 Equivalent:** `permissions.install`\
1755 **Preferences Affected:** `xpinstall.enabled`
1756
1757 #### Windows (GPO)
1758 ```
1759 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
1760 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
1761 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0
1762 ```
1763 #### macOS
1764 ```
1765 <dict>
1766 <key>InstallAddonsPermission</key>
1767 <dict>
1768 <key>Allow</key>
1769 <array>
1770 <string>http://example.org</string>
1771 <string>http://example.edu</string>
1772 </array>
1773 <key>Default</key>
1774 <true/> | <false/>
1775 </dict>
1776 </dict>
1777 ```
1778 #### policies.json
1779 ```
1780 {
1781 "policies": {
1782 "InstallAddonsPermission": {
1783 "Allow": ["http://example.org/",
1784 "http://example.edu/"],
1785 "Default": true | false
1786 }
1787 }
1788 }
1789 ```
1790 ### LegacyProfiles
1791 Disable the feature enforcing a separate profile for each installation.
1792
1793 If this policy set to true, Firefox will not try to create different profiles for installations of Firefox in different directories. This is the equivalent of the MOZ_LEGACY_PROFILES environment variable.
1794
1795 If this policy set to false, Firefox will create a new profile for each unique installation of Firefox.
1796
1797 This policy only work on Windows via GPO (not policies.json).
1798
1799 **Compatibility:** Firefox 70, Firefox ESR 68.2 (Windows only, GPO only)\
1800 **CCK2 Equivalent:** N/A\
1801 **Preferences Affected:** N/A
1802
1803 #### Windows (GPO)
1804 ```
1805 Software\Policies\Mozilla\Firefox\LegacyProfiles = = 0x1 | 0x0
1806 ```
1807 ### LocalFileLinks
1808 Enable linking to local files by origin.
1809
1810 **Compatibility:** Firefox 68, Firefox ESR 68\
1811 **CCK2 Equivalent:** N/A\
1812 **Preferences Affected:** `capability.policy.localfilelinks.*`
1813
1814 #### Windows (GPO)
1815 ```
1816 Software\Policies\Mozilla\Firefox\LocalFileLinks\1 = "https://example.org"
1817 Software\Policies\Mozilla\Firefox\LocalFileLinks\2 = "https://example.edu"
1818 ```
1819 #### macOS
1820 ```
1821 <dict>
1822 <key>LocalFileLinks</key>
1823 <array>
1824 <string>http://example.org</string>
1825 <string>http://example.edu</string>
1826 </array>
1827 </dict>
1828 ```
1829 #### policies.json
1830 ```
1831 {
1832 "policies": {
1833 "LocalFileLinks": ["http://example.org/",
1834 "http://example.edu/"]
1835 }
1836 }
1837 ```
1838 ### NoDefaultBookmarks
1839 Disable the creation of default bookmarks.
1840
1841 This policy is only effective if the user profile has not been created yet.
1842
1843 **Compatibility:** Firefox 60, Firefox ESR 60\
1844 **CCK2 Equivalent:** `removeDefaultBookmarks`\
1845 **Preferences Affected:** N/A
1846
1847 #### Windows (GPO)
1848 ```
1849 Software\Policies\Mozilla\Firefox\NoDefaultBookmarks = 0x1 | 0x0
1850 ```
1851 #### macOS
1852 ```
1853 <dict>
1854 <key>NoDefaultBookmarks</key>
1855 <true/> | <false/>
1856 </dict>
1857 ```
1858 #### policies.json
1859 ```
1860 {
1861 "policies": {
1862 "NoDefaultBookmarks": true | false
1863 }
1864 }
1865 ```
1866 ### NetworkPrediction
1867 Enable or disable network prediction (DNS prefetching).
1868
1869 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1870 **CCK2 Equivalent:** N/A\
1871 **Preferences Affected:** `network.dns.disablePrefetch`,`network.dns.disablePrefetchFromHTTPS`
1872
1873 #### Windows (GPO)
1874 ```
1875 Software\Policies\Mozilla\Firefox\NetworkPrediction = 0x1 | 0x0
1876 ```
1877 #### macOS
1878 ```
1879 <dict>
1880 <key>NetworkPrediction</key>
1881 <true/> | <false/>
1882 </dict>
1883 ```
1884 #### policies.json
1885 ```
1886 {
1887 "policies": {
1888 "NetworkPrediction": true | false
1889 }
1890 ```
1891 ### NewTabPage
1892 Enable or disable the New Tab page.
1893
1894 **Compatibility:** Firefox 68, Firefox ESR 68\
1895 **CCK2 Equivalent:** N/A\
1896 **Preferences Affected:** `browser.newtabpage.enabled`
1897
1898 #### Windows (GPO)
1899 ```
1900 Software\Policies\Mozilla\Firefox\NewTabPage = 0x1 | 0x0
1901 ```
1902 #### macOS
1903 ```
1904 <dict>
1905 <key>NewTabPage</key>
1906 <true/> | <false/>
1907 </dict>
1908 ```
1909 #### policies.json
1910 ```
1911 {
1912 "policies": {
1913 "NewTabPage": true | false
1914 }
1915 ```
1916 ### OfferToSaveLogins
1917 Control whether or not Firefox offers to save passwords.
1918
1919 **Compatibility:** Firefox 60, Firefox ESR 60\
1920 **CCK2 Equivalent:** `dontRememberPasswords`\
1921 **Preferences Affected:** `signon.rememberSignons`
1922
1923 #### Windows (GPO)
1924 ```
1925 Software\Policies\Mozilla\Firefox\OfferToSaveLogins = 0x1 | 0x0
1926 ```
1927 #### macOS
1928 ```
1929 <dict>
1930 <key>OfferToSaveLogins</key>
1931 <true/> | <false/>
1932 </dict>
1933 ```
1934 #### policies.json
1935 ```
1936 {
1937 "policies": {
1938 "OfferToSaveLogins": true | false
1939 }
1940 }
1941 ```
1942 ### OfferToSaveLoginsDefault
1943 Sets the default value of signon.rememberSignons without locking it.
1944
1945 **Compatibility:** Firefox 70, Firefox ESR 60.2\
1946 **CCK2 Equivalent:** `dontRememberPasswords`\
1947 **Preferences Affected:** `signon.rememberSignons`
1948
1949 #### Windows (GPO)
1950 ```
1951 Software\Policies\Mozilla\Firefox\OfferToSaveLoginsDefault = 0x1 | 0x0
1952 ```
1953 #### macOS
1954 ```
1955 <dict>
1956 <key>OfferToSaveLoginsDefault</key>
1957 <true/> | <false/>
1958 </dict>
1959 ```
1960 #### policies.json
1961 ```
1962 {
1963 "policies": {
1964 "OfferToSaveLoginsDefault": true | false
1965 }
1966 }
1967 ```
1968 ### OverrideFirstRunPage
1969 Override the first run page. If the value is blank, no first run page is displayed.
1970
1971 **Compatibility:** Firefox 60, Firefox ESR 60\
1972 **CCK2 Equivalent:** `welcomePage`,`noWelcomePage`\
1973 **Preferences Affected:** `startup.homepage_welcome_url`
1974
1975 #### Windows (GPO)
1976 ```
1977 Software\Policies\Mozilla\Firefox\OverrideFirstRunPage = "http://example.org"
1978 ```
1979 #### macOS
1980 ```
1981 <dict>
1982 <key>OverrideFirstRunPage</key>
1983 <string>http://example.org</string>
1984 </dict>
1985 ```
1986 #### policies.json
1987 ```
1988 {
1989 "policies": {
1990 "OverrideFirstRunPage": "http://example.org"
1991 }
1992 ```
1993 ### OverridePostUpdatePage
1994 Override the upgrade page. If the value is blank, no upgrade page is displayed.
1995
1996 **Compatibility:** Firefox 60, Firefox ESR 60\
1997 **CCK2 Equivalent:** `upgradePage`,`noUpgradePage`\
1998 **Preferences Affected:** `startup.homepage_override_url`
1999
2000 #### Windows (GPO)
2001 ```
2002 Software\Policies\Mozilla\Firefox\OverridePostUpdatePage = "http://example.org"
2003 ```
2004 #### macOS
2005 ```
2006 <dict>
2007 <key>OverridePostUpdatePage</key>
2008 <string>http://example.org</string>
2009 </dict>
2010 ```
2011 #### policies.json
2012 ```
2013 {
2014 "policies": {
2015 "OverridePostUpdatePage": "http://example.org"
2016 }
2017 ```
2018 ### PasswordManagerEnabled
2019 Remove access to the password manager via preferences and blocks about:logins on Firefox 70.
2020
2021 **Compatibility:** Firefox 70, Firefox ESR 60.2\
2022 **CCK2 Equivalent:** N/A\
2023 **Preferences Affected:** `prefs.privacy.disable_button.view_passwords`
2024
2025 #### Windows (GPO)
2026 ```
2027 Software\Policies\Mozilla\Firefox\PasswordManagerEnabled = 0x1 | 0x0
2028 ```
2029 #### macOS
2030 ```
2031 <dict>
2032 <key>PasswordManagerEnabled</key>
2033 <true/> | <false/>
2034 </dict>
2035 ```
2036 #### policies.json
2037 ```
2038 {
2039 "policies": {
2040 "PasswordManagerEnabled": true | false
2041 }
2042 }
2043 ```
2044 ### Permissions
2045 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.
2046
2047 `Allow` is a list of origins where the feature is allowed.
2048
2049 `Block` is a list of origins where the feature is not allowed.
2050
2051 `BlockNewRequests` determines whether or not new requests can be made for the feature.
2052
2053 `Locked` prevents the user from changing preferences for the feature.
2054
2055 **Compatibility:** Firefox 62, Firefox ESR 60.2\
2056 **CCK2 Equivalent:** N/A\
2057 **Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`
2058
2059 #### Windows (GPO)
2060 ```
2061 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\1 = "https://example.org"
2062 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\2 = "https://example.org:1234"
2063 Software\Policies\Mozilla\Firefox\Permissions\Camera\Block\1 = "https://example.edu"
2064 Software\Policies\Mozilla\Firefox\Permissions\Camera\BlockNewRequests = 0x1 | 0x0
2065 Software\Policies\Mozilla\Firefox\Permissions\Camera\Locked = 0x1 | 0x0
2066 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Allow\1 = "https://example.org"
2067 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Block\1 = "https://example.edu"
2068 Software\Policies\Mozilla\Firefox\Permissions\Microphone\BlockNewRequests = 0x1 | 0x0
2069 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Locked = 0x1 | 0x0
2070 Software\Policies\Mozilla\Firefox\Permissions\Location\Allow\1 = "https://example.org"
2071 Software\Policies\Mozilla\Firefox\Permissions\Location\Block\1 = "https://example.edu"
2072 Software\Policies\Mozilla\Firefox\Permissions\Location\BlockNewRequests = 0x1 | 0x0
2073 Software\Policies\Mozilla\Firefox\Permissions\Location\Locked = 0x1 | 0x0
2074 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Allow\1 = "https://example.org"
2075 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Block\1 = "https://example.edu"
2076 Software\Policies\Mozilla\Firefox\Permissions\Notifications\BlockNewRequests = 0x1 | 0x0
2077 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
2078 ```
2079 #### macOS
2080 ```
2081 <dict>
2082 <key>Permissions</key>
2083 <dict>
2084 <key>Camera</key>
2085 <dict>
2086 <key>Allow</key>
2087 <array>
2088 <string>https://example.org</string>
2089 <string>https://example.org:1234</string>
2090 </array>
2091 <key>Block</key>
2092 <array>
2093 <string>https://example.edu</string>
2094 </array>
2095 <key>BlockNewRequests</key>
2096 <true/>
2097 <key>Locked</key>
2098 <true/>
2099 </dict>
2100 <key>Microphone</key>
2101 <dict>
2102 <key>Allow</key>
2103 <array>
2104 <string>https://example.org</string>
2105 </array>
2106 <key>Block</key>
2107 <array>
2108 <string>https://example.edu</string>
2109 </array>
2110 <key>BlockNewRequests</key>
2111 <true/>
2112 <key>Locked</key>
2113 <true/>
2114 </dict>
2115 <key>Location</key>
2116 <dict>
2117 <key>Allow</key>
2118 <array>
2119 <string>https://example.org</string>
2120 </array>
2121 <key>Block</key>
2122 <array>
2123 <string>https://example.edu</string>
2124 </array>
2125 <key>BlockNewRequests</key>
2126 <true/>
2127 <key>Locked</key>
2128 <true/>
2129 </dict>
2130 <key>Notifications</key>
2131 <dict>
2132 <key>Allow</key>
2133 <array>
2134 <string>https://example.org</string>
2135 </array>
2136 <key>Block</key>
2137 <array>
2138 <string>https://example.edu</string>
2139 </array>
2140 <key>BlockNewRequests</key>
2141 <true/>
2142 <key>Locked</key>
2143 <true/>
2144 </dict>
2145 </dict>
2146 </dict>
2147 ```
2148 #### policies.json
2149 ```
2150 {
2151 "policies": {
2152 "Permissions": {
2153 "Camera": {
2154 "Allow": ["https://example.org","https://example.org:1234"],
2155 "Block": ["https://example.edu"],
2156 "BlockNewRequests": true | false,
2157 "Locked": true | false
2158 },
2159 "Microphone": {
2160 "Allow": ["https://example.org"],
2161 "Block": ["https://example.edu"],
2162 "BlockNewRequests": true | false,
2163 "Locked": true | false
2164 },
2165 "Location": {
2166 "Allow": ["https://example.org"],
2167 "Block": ["https://example.edu"],
2168 "BlockNewRequests": true | false,
2169 "Locked": true | false
2170 },
2171 "Notifications": {
2172 "Allow": ["https://example.org"],
2173 "Block": ["https://example.edu"],
2174 "BlockNewRequests": true | false,
2175 "Locked": true | false
2176 }
2177 }
2178 }
2179 }
2180 ```
2181 ### PopupBlocking
2182 Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
2183
2184 `Allow` is a list of origins where popup-windows are allowed.
2185
2186 `Default` determines whether or not pop-up windows are allowed by default.
2187
2188 `Locked` prevents the user from changing pop-up preferences.
2189
2190 **Compatibility:** Firefox 60, Firefox ESR 60\
2191 **CCK2 Equivalent:** `permissions.popup`\
2192 **Preferences Affected:** `dom.disable_open_during_load`
2193
2194 #### Windows (GPO)
2195 ```
2196 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\1 = "https://example.org"
2197 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\2 = "https://example.edu"
2198 Software\Policies\Mozilla\Firefox\PopupBlocking\Default = 0x1 | 0x0
2199 Software\Policies\Mozilla\Firefox\PopupBlocking\Locked = 0x1 | 0x0
2200 ```
2201 #### macOS
2202 ```
2203 <dict>
2204 <key>PopupBlocking</key>
2205 <dict>
2206 <key>Allow</key>
2207 <array>
2208 <string>http://example.org</string>
2209 <string>http://example.edu</string>
2210 </array>
2211 <key>Default</key>
2212 <true/> | <false/>
2213 <key>Locked</key>
2214 <true/> | <false/>
2215 </dict>
2216 </dict>
2217 ```
2218 #### policies.json
2219 ```
2220 {
2221 "policies": {
2222 "PopupBlocking": {
2223 "Allow": ["http://example.org/",
2224 "http://example.edu/"],
2225 "Default": true | false,
2226 "Locked": true | false
2227 }
2228 }
2229 }
2230 ```
2231 ### Preferences
2232 Set and lock certain preferences.
2233
2234 **Compatibility:** See below\
2235 **CCK2 Equivalent:** `preferences`\
2236 **Preferences Affected:** See below
2237
2238 | Preference | Type | Compatibility | Default
2239 | --- | --- | --- | ---
2240 | accessibility.force_disabled | integer | Firefox 70, Firefox ESR 68.2 | 0
2241 | &nbsp;&nbsp;&nbsp;&nbsp;If set to 1, platform accessibility is disabled.
2242 | app.update.auto | boolean | Firefox 68, Firefox ESR 68 | true
2243 | &nbsp;&nbsp;&nbsp;&nbsp;If false, Firefox doesn't automatically install update.
2244 | browser.bookmarks.autoExportHTML | boolean | Firefox 70, Firefox ESR 68.2 | false
2245 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are exported on shutdown.
2246 | browser.bookmarks.file | string | Firefox 70, Firefox ESR 68.2 | N/A
2247 | &nbsp;&nbsp;&nbsp;&nbsp;If set, the name of the file where bookmarks are exported and imported.
2248 | browser.bookmarks.restore_default_bookmarks | boolean | Firefox 70, Firefox ESR 68.2 | N/A
2249 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are restored to their defaults.
2250 | browser.cache.disk.enable | boolean | Firefox 68, Firefox ESR 68 | true
2251 | &nbsp;&nbsp;&nbsp;&nbsp;If false, don't store cache on the hard drive.
2252 | ~browser.cache.disk.parent_directory~ | string | Firefox 68, Firefox ESR 68 | Profile temporary directory
2253 | &nbsp;&nbsp;&nbsp;&nbsp;~If set, changes the location of the disk cache.~ This policy doesn't work. It's being worked on.
2254 | browser.fixup.dns_first_for_single_words | boolean | Firefox 68, Firefox ESR 68 | false
2255 | &nbsp;&nbsp;&nbsp;&nbsp;If true, single words are sent to DNS, not directly to search.
2256 | browser.newtabpage.activity-stream.default.sites | string | Firefox 72, ESR 68.4 | Locale dependent
2257 | &nbsp;&nbsp;&nbsp;&nbsp;If set, a list of URLs to use as the default top sites on the new tab page.
2258 | browser.places.importBookmarksHTML | boolean | Firefox 70, Firefox ESR 68.2
2259 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are always imported on startup.
2260 | browser.safebrowsing.phishing.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
2261 | &nbsp;&nbsp;&nbsp;&nbsp;If false, phishing protection is not enabled (Not recommended)
2262 | browser.safebrowsing.malware.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
2263 | &nbsp;&nbsp;&nbsp;&nbsp;If false, malware protection is not enabled (Not recommended)
2264 | browser.search.update | boolean | Firefox 68, Firefox ESR 68 | true
2265 | &nbsp;&nbsp;&nbsp;&nbsp;If false, updates for search engines are not checked.
2266 | browser.slowStartup.notificationDisabled | boolean | Firefox 70, Firefox ESR 68.2 | false
2267 | &nbsp;&nbsp;&nbsp;&nbsp;If true, a notification isn't shown if startup is slow.
2268 | browser.tabs.warnOnClose | boolean | Firefox 68, Firefox ESR 68 | true
2269 | &nbsp;&nbsp;&nbsp;&nbsp;If false, there is no warning when the browser is closed.
2270 | browser.taskbar.previews.enable | boolean | Firefox 70, Firefox ESR 68.2 (Windows only) | false
2271 | &nbsp;&nbsp;&nbsp;&nbsp;If true, tab previews are shown in the Windows taskbar.
2272 | browser.urlbar.suggest.bookmark | boolean | Firefox 68, Firefox ESR 68 | true
2273 | &nbsp;&nbsp;&nbsp;&nbsp;If false, bookmarks aren't suggested when typing in the URL bar.
2274 | browser.urlbar.suggest.history | boolean | Firefox 68, Firefox ESR 68 | true
2275 | &nbsp;&nbsp;&nbsp;&nbsp;If false, history isn't suggested when typing in the URL bar.
2276 | browser.urlbar.suggest.openpage | boolean | Firefox 68, Firefox ESR 68 | true
2277 | &nbsp;&nbsp;&nbsp;&nbsp;If false, open tabs aren't suggested when typing in the URL bar.
2278 | datareporting.policy.dataSubmissionPolicyBypassNotification | boolean | Firefox 68, Firefox ESR 68 | false
2279 | &nbsp;&nbsp;&nbsp;&nbsp;If true, don't show the privacy policy tab on first run.
2280 | dom.allow_scripts_to_close_windows | boolean | Firefox 70, Firefox ESR 68.2 | false
2281 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web page can close windows.
2282 | dom.disable_window_flip | boolean | Firefox 68, Firefox ESR 68 | true
2283 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web pages can focus and activate windows.
2284 | dom.disable_window_move_resize | boolean | Firefox 68, Firefox ESR 68 | false
2285 | &nbsp;&nbsp;&nbsp;&nbsp;If true, web pages can't move or resize windows.
2286 | dom.event.contextmenu.enabled | boolean | Firefox 68, Firefox ESR 68 | true
2287 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web pages can't override context menus.
2288 | dom.keyboardevent.keypress.hack.dispatch_non_printable_keys.addl | string | Firefox 68, Firefox ESR 68 | N/A
2289 | &nbsp;&nbsp;&nbsp;&nbsp;See https://support.mozilla.org/en-US/kb/dom-events-changes-introduced-firefox-66
2290 | dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode.addl | string | Firefox 68, Firefox ESR 68 | N/A
2291 | &nbsp;&nbsp;&nbsp;&nbsp;See https://support.mozilla.org/en-US/kb/dom-events-changes-introduced-firefox-66
2292 | dom.xmldocument.load.enabled | boolean | Firefox ESR 68.5 | true.
2293 | &nbsp;&nbsp;&nbsp;&nbsp;If false, XMLDocument.load is not available.
2294 | dom.xmldocument.async.enabled | boolean | Firefox ESR 68.5 | true
2295 | &nbsp;&nbsp;&nbsp;&nbsp;If false, XMLDocument.async is not available.
2296 | extensions.blocklist.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
2297 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the extensions blocklist is not used (Not recommended)
2298 | extensions.getAddons.showPane | boolean | Firefox 68, Firefox ESR 68 | N/A
2299 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Recommendations tab is not displayed in the Add-ons Manager.
2300 | extensions.htmlaboutaddons.recommendations.enabled | boolean | Firefox 72, Firefox ESR 68.4 | true
2301 | &nbsp;&nbsp;&nbsp;&nbsp;If false, recommendations are not shown on the Extensions tab in the Add-ons Manager.
2302 | geo.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
2303 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the geolocation API is disabled. | Language dependent
2304 | intl.accept_languages | string | Firefox 70, Firefox ESR 68.2
2305 | &nbsp;&nbsp;&nbsp;&nbsp;If set, preferred language for web pages.
2306 | media.eme.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
2307 | &nbsp;&nbsp;&nbsp;&nbsp;If false, Encrypted Media Extensions are not enabled.
2308 | media.gmp-gmpopenh264.enabled | boolean | Firefox 68, Firefox ESR 68 | true
2309 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the OpenH264 plugin is not downloaded.
2310 | media.gmp-widevinecdm.enabled | boolean | Firefox 68, Firefox ESR 68 | true
2311 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Widevine plugin is not downloaded.
2312 | media.peerconnection.enabled | boolean | Firefox 72, Firefox ESR 68.4 | true
2313 | &nbsp;&nbsp;&nbsp;&nbsp;If false, WebRTC is disabled
2314 | media.peerconnection.ice.obfuscate_host_addresses.whitelist | string | Firefox 72, Firefox ESR 68.4 | N/A
2315 | &nbsp;&nbsp;&nbsp;&nbsp;If set, a list of domains for which mDNS hostname obfuscation is
2316 disabled
2317 | network.dns.disableIPv6 | boolean | Firefox 68, Firefox ESR 68 | false
2318 | &nbsp;&nbsp;&nbsp;&nbsp;If true, IPv6 DNS lokoups are disabled.
2319 | network.IDN_show_punycode | boolean | Firefox 68, Firefox ESR 68 | false
2320 | &nbsp;&nbsp;&nbsp;&nbsp;If true, display the punycode version of internationalized domain names.
2321 | places.history.enabled | boolean | Firefox 68, Firefox ESR 68 | true
2322 | &nbsp;&nbsp;&nbsp;&nbsp;If false, history is not enabled.
2323 | print.save_print_settings | boolean | Firefox 70, Firefox ESR 68.2 | true
2324 | &nbsp;&nbsp;&nbsp;&nbsp;If false, print settings are not saved between jobs.
2325 | security.default_personal_cert | string | Firefox 68, Firefox ESR 68 | Ask Every Time
2326 | &nbsp;&nbsp;&nbsp;&nbsp;If set to Select Automatically, Firefox automatically chooses the default personal certificate.
2327 | security.mixed_content.block_active_content | boolean | Firefox 70, Firefox ESR 68.2 | true
2328 | &nbsp;&nbsp;&nbsp;&nbsp;If false, mixed active content (HTTP and HTTPS) is not blocked.
2329 | security.osclientcerts.autoload | boolean | Firefox 72, Firefox ESR 68.4 (Windows only) | false
2330 | &nbsp;&nbsp;&nbsp;&nbsp;If true, client certificates are loaded from the operating system certificate store.
2331 | security.ssl.errorReporting.enabled | boolean | Firefox 68, Firefox ESR 68 | true
2332 | &nbsp;&nbsp;&nbsp;&nbsp;If false, SSL errors cannot be sent to Mozilla.
2333 | security.tls.hello_downgrade_check | boolean | Firefox 72, Firefox ESR 68.4 | true
2334 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the TLS 1.3 downgrade check is disabled.
2335 | ui.key.menuAccessKeyFocuses | boolean | Firefox 68, Firefox ESR 68 | true
2336 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Alt key doesn't show the menubar on Windows.
2337 | widget.content.gtk-theme-override | string | Firefox 72, Firefox ESR 68.4 (Linux only) | N/A
2338 | &nbsp;&nbsp;&nbsp;&nbsp;If set, overrides the GTK theme for widgets.
2339 #### Windows (GPO)
2340 ```
2341 Software\Policies\Mozilla\Firefox\Preferences\boolean_preference_name = 0x1 | 0x0
2342 Software\Policies\Mozilla\Firefox\Preferences\string_preference_name = "string_value"
2343 ```
2344 #### macOS
2345 ```
2346 <dict>
2347 <key>Preferences</key>
2348 <dict>
2349 <key>boolean_preference_name</key>
2350 <true/> | <false/>
2351 <key>string_preference_name</key>
2352 <string>string_value</string>
2353 </dict>
2354 </dict>
2355 ```
2356 #### policies.json
2357 ```
2358 {
2359 "policies": {
2360 "Preferences": {
2361 "boolean_preference_name": true | false,
2362 "string_preference_name": "string_value"
2363 }
2364 }
2365 }
2366 ```
2367 ### PromptForDownloadLocation
2368 Ask where to save each file before downloading.
2369
2370 **Compatibility:** Firefox 68, Firefox ESR 68\
2371 **CCK2 Equivalent:** N/A
2372 **Preferences Affected:** `browser.download.useDownloadDir`
2373
2374 #### Windows (GPO)
2375 ```
2376 Software\Policies\Mozilla\Firefox\PromptForDownloadLocation = 0x1 | 0x0
2377 ```
2378 #### macOS
2379 ```
2380 <dict>
2381 <key>PromptForDownloadLocation</key>
2382 <true/> | <false/>
2383 </dict>
2384 ```
2385 #### policies.json
2386 ```
2387 {
2388 "policies": {
2389 "PromptForDownloadLocation": true | false
2390 }
2391 }
2392 ```
2393 ### Proxy
2394 Configure proxy settings. These settings correspond to the connection settings in Firefox preferences.
2395 To specify ports, append them to the hostnames with a colon (:).
2396
2397 `Mode` is the proxy method being used.
2398
2399 `Locked` is whether or not proxy settings can be changed.
2400
2401 `HTTPProxy` is the HTTP proxy server.
2402
2403 `UseHTTPProxyForAllProtocols` is whether or not the HTTP proxy should be used for all other proxies.
2404
2405 `SSLProxy` is the SSL proxy server.
2406
2407 `FTPProxy` is the FTP proxy server.
2408
2409 `SOCKSProxy` is the SOCKS proxy server
2410
2411 `SOCKSVersion` is the SOCKS version (4 or 5)
2412
2413 `Passthrough` is list of hostnames or IP addresses that will not be proxied. Use `<local>` to bypass proxying for all hostnames which do not contain periods.
2414
2415 `AutoConfigURL` is a URL for proxy configuration (only used if Mode is autoConfig).
2416
2417 `AutoLogin` means do not prompt for authentication if password is saved.
2418
2419 `UseProxyForDNS` to use proxy DNS when using SOCKS v5.
2420
2421 **Compatibility:** Firefox 60, Firefox ESR 60\
2422 **CCK2 Equivalent:** `networkProxy*`\
2423 **Preferences Affected:** `network.proxy.type`,`network.proxy.autoconfig_url`,`network.proxy.socks_remote_dns`,`signon.autologin.proxy`,`network.proxy.socks_version`,`network.proxy.no_proxies_on`,`network.proxy.share_proxy_settings`,`network.proxy.http`,`network.proxy.http_port`,`network.proxy.ftp`,`network.proxy.ftp_port`,`network.proxy.ssl`,`network.proxy.ssl_port`,`network.proxy.socks`,`network.proxy.socks_port`
2424
2425 #### Windows (GPO)
2426 ```
2427 Software\Policies\Mozilla\Firefox\Proxy\Mode = "none", "system", "manual", "autoDetect", "autoConfig"
2428 Software\Policies\Mozilla\Firefox\Proxy\Locked = 0x1 | 0x0
2429 Software\Policies\Mozilla\Firefox\=Proxy\HTTPProxy = https://httpproxy.example.com
2430 Software\Policies\Mozilla\Firefox\Proxy\UseHTTPProxyForAllProtocols = 0x1 | 0x0
2431 Software\Policies\Mozilla\Firefox\Proxy\SSLProxy = https://sslproxy.example.com
2432 Software\Policies\Mozilla\Firefox\Proxy\FTPProxy = https://ftpproxy.example.com
2433 Software\Policies\Mozilla\Firefox\Proxy\SOCKSProxy = https://socksproxy.example.com
2434 Software\Policies\Mozilla\Firefox\Proxy\SOCKSVersion = 0x4 | 0x5
2435 Software\Policies\Mozilla\Firefox\Proxy\Passthrough = <local>
2436 Software\Policies\Mozilla\Firefox\Proxy\AutoConfigURL = URL_TO_AUTOCONFIG
2437 Software\Policies\Mozilla\Firefox\Proxy\AutoLogin = 0x1 | 0x0
2438 Software\Policies\Mozilla\Firefox\Proxy\UseProxyForDNS = 0x1 | 0x0
2439 ```
2440 #### macOS
2441 ```
2442 <dict>
2443 <key>Proxy</key>
2444 <dict>
2445 <key>Mode</key>
2446 <string>none | system | manual | autoDetect | autoConfig</string>
2447 <key>Locked</key>
2448 <true> | </false>
2449 <key>HTTPProxy</key>
2450 <string>https://httpproxy.example.com</string>
2451 <key>UseHTTPProxyForAllProtocols</key>
2452 <true> | </false>
2453 <key>SSLProxy</key>
2454 <string>https://sslproxy.example.com</string>
2455 <key>FTPProxy</key>
2456 <string>https://ftpproxy.example.com</string>
2457 <key>SOCKSProxy</key>
2458 <string>https://socksproxy.example.com</string>
2459 <key>SOCKSVersion</key>
2460 <string>4 | 5</string>
2461 <key>Passthrough</key>
2462 <string>&lt;local>&gt;</string>
2463 <key>AutoConfigURL</key>
2464 <string>URL_TO_AUTOCONFIG</string>
2465 <key>AutoLogin</key>
2466 <true> | </false>
2467 <key>UseProxyForDNS</key>
2468 <true> | </false>
2469 </dict>
2470 </dict>
2471 ```
2472 #### policies.json
2473 ```
2474 {
2475 "policies": {
2476 "Proxy": {
2477 "Mode": "none", "system", "manual", "autoDetect", "autoConfig",
2478 "Locked": [true, false],
2479 "HTTPProxy": "hostname",
2480 "UseHTTPProxyForAllProtocols": [true, false],
2481 "SSLProxy": "hostname",
2482 "FTPProxy": "hostname",
2483 "SOCKSProxy": "hostname",
2484 "SOCKSVersion": 4 | 5
2485 "Passthrough": "<local>",
2486 "AutoConfigURL": "URL_TO_AUTOCONFIG",
2487 "AutoLogin": [true, false],
2488 "UseProxyForDNS": [true, false]
2489 }
2490 }
2491 }
2492 ```
2493 ### RequestedLocales
2494 Set the the list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.
2495
2496 Note: For Firefox 68, this can now be a string so that you can specify an empty value.
2497
2498 **Compatibility:** Firefox 64, Firefox ESR 60.4, Updated in Firefox 68, Firefox ESR 68\
2499 **CCK2 Equivalent:** N/A\
2500 **Preferences Affected:** N/A
2501 #### Windows (GPO)
2502 ```
2503 Software\Policies\Mozilla\Firefox\RequestedLocales\1 = "de"
2504 Software\Policies\Mozilla\Firefox\RequestedLocales\2 = "en-US"
2505
2506 or
2507
2508 Software\Policies\Mozilla\Firefox\RequestedLocales = "de,en-US"
2509 ```
2510 #### macOS
2511 ```
2512 <dict>
2513 <key>RequestedLocales</key>
2514 <array>
2515 <string>de</string>
2516 <string>en-US</string>
2517 </array>
2518 </dict>
2519
2520 or
2521
2522 <dict>
2523 <key>RequestedLocales</key>
2524 <string>de,en-US</string>
2525 </dict>
2526
2527 ```
2528 #### policies.json
2529 ```
2530 {
2531 "policies": {
2532 "RequestedLocales": ["de", "en-US"]
2533 }
2534 }
2535
2536 or
2537
2538 {
2539 "policies": {
2540 "RequestedLocales": "de,en-US"
2541 }
2542 }
2543 ```
2544 ### SanitizeOnShutdown (Selective)
2545 Clear data on shutdown. Choose from Cache, Cookies, Download History, Form & Search History, Browsing History, Active Logins, Site Preferences and Offline Website Data.
2546
2547 Previously, these values were always locked. Starting with Firefox 74 and Firefox ESR 68.6, you can use the `Locked` option to either keep the values unlocked (set it to false), or lock only the values you set (set it to true). If you want the old behavior of locking everything, do not set `Locked` at all.
2548
2549 **Compatibility:** Firefox 68, Firefox ESR 68 (Locked added in 74/68.6)\
2550 **CCK2 Equivalent:** N/A\
2551 **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`
2552 #### Windows (GPO)
2553 ```
2554 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cache = 0x1 | 0x0
2555 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cookies = 0x1 | 0x0
2556 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Downloads = 0x1 | 0x0
2557 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\FormData = 0x1 | 0x0
2558 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\History = 0x1 | 0x0
2559 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Sessions = 0x1 | 0x0
2560 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\SiteSettings = 0x1 | 0x0
2561 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\OfflineApps = 0x1 | 0x0
2562 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Locked = 0x1 | 0x0
2563 ```
2564 #### macOS
2565 ```
2566 <dict>
2567 <key>SanitizeOnShutdown</key>
2568 <dict>
2569 <key>Cache</key>
2570 <true/> | <false/>
2571 <key>Cookies</key>
2572 <true/> | <false/>
2573 <key>Downloads</key>
2574 <true/> | <false/>
2575 <key>FormData</key>
2576 <true/> | <false/>
2577 <key>History</key>
2578 <true/> | <false/>
2579 <key>Sessions</key>
2580 <true/> | <false/>
2581 <key>SiteSettings</key>
2582 <true/> | <false/>
2583 <key>OfflineApps</key>
2584 <true/> | <false/>
2585 <key>Locked</key>
2586 <true/> | <false/>
2587 </dict>
2588 </dict>
2589 ```
2590 #### policies.json
2591 ```
2592 {
2593 "policies": {
2594 "SanitizeOnShutdown": {
2595 "Cache": true | false,
2596 "Cookies": true | false,
2597 "Downloads": true | false,
2598 "FormData": true | false,
2599 "History": true | false,
2600 "Sessions": true | false,
2601 "SiteSettings": true | false,
2602 "OfflineApps": true | false,
2603 "Locked": true | false
2604 }
2605 }
2606 }
2607 ```
2608 ### SanitizeOnShutdown (All)
2609 Clear all data on shutdown, including Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
2610
2611 **Compatibility:** Firefox 60, Firefox ESR 60\
2612 **CCK2 Equivalent:** N/A\
2613 **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`
2614 #### Windows (GPO)
2615 ```
2616 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown = 0x1 | 0x0
2617 ```
2618 #### macOS
2619 ```
2620 <dict>
2621 <key>SanitizeOnShutdown</key>
2622 <true/> | <false/>
2623 </dict>
2624 ```
2625 #### policies.json
2626 ```
2627 {
2628 "policies": {
2629 "SanitizeOnShutdown": true | false
2630 }
2631 }
2632 ```
2633 ### SearchBar
2634 Set whether or not search bar is displayed.
2635
2636 **Compatibility:** Firefox 60, Firefox ESR 60\
2637 **CCK2 Equivalent:** `showSearchBar`\
2638 **Preferences Affected:** N/A
2639
2640 #### Windows (GPO)
2641 ```
2642 Software\Policies\Mozilla\Firefox\SearchBar = "unified" | "separate"
2643 ```
2644 #### macOS
2645 ```
2646 <dict>
2647 <key>SearchBar</key>
2648 <string>unified | separate</string>
2649 </dict>
2650 ```
2651
2652 #### policies.json
2653 ```
2654 {
2655 "policies": {
2656 "SearchBar": "unified" | "separate"
2657 }
2658 }
2659 ```
2660
2661
2662
2663
2664
2665 ### SearchEngines (This policy is only available on the ESR.)
2666
2667 ### SearchEngines | Default
2668
2669 Set the default search engine. This policy is only available on the ESR.
2670
2671 **Compatibility:** Firefox ESR 60\
2672 **CCK2 Equivalent:** `defaultSearchEngine`\
2673 **Preferences Affected:** N/A
2674
2675 #### Windows (GPO)
2676 ```
2677 Software\Policies\Mozilla\Firefox\SearchEngines\Default = NAME_OF_SEARCH_ENGINE
2678 ```
2679 #### macOS
2680 ```
2681 <dict>
2682 <key>SearchEngines</key>
2683 <dict>
2684 <key>Default</key>
2685 <string>NAME_OF_SEARCH_ENGINE</string>
2686 </dict>
2687 </dict>
2688 ```
2689 #### policies.json
2690 ```
2691 {
2692 "policies": {
2693 "SearchEngines": {
2694 "Default": "NAME_OF_SEARCH_ENGINE"
2695 }
2696 }
2697 }
2698 ```
2699 ### SearchEngines | PreventInstalls
2700
2701 Prevent installing search engines from webpages.
2702
2703 **Compatibility:** Firefox ESR 60\
2704 **CCK2 Equivalent:** `disableSearchEngineInstall`\
2705 **Preferences Affected:** N/A
2706
2707 #### Windows (GPO)
2708 ```
2709 Software\Policies\Mozilla\Firefox\SearchEngines\PreventInstalls = 0x1 | 0x0
2710 ```
2711 #### macOS
2712 ```
2713 <dict>
2714 <key>SearchEngines</key>
2715 <dict>
2716 <key>PreventInstalls</key>
2717 <true/> | <false/>
2718 </dict>
2719 </dict>
2720 ```
2721 #### policies.json
2722 ```
2723 {
2724 "policies": {
2725 "SearchEngines": {
2726 "PreventInstalls": true | false
2727 }
2728 }
2729 }
2730 ```
2731 ### SearchEngines | Remove
2732
2733 Hide built-in search engines. This policy is only available on the ESR.
2734
2735 **Compatibility:** Firefox ESR 60.2\
2736 **CCK2 Equivalent:** `removeDefaultSearchEngines` (removed all built-in engines)\
2737 **Preferences Affected:** N/A
2738
2739 #### Windows (GPO)
2740 ```
2741 Software\Policies\Mozilla\Firefox\SearchEngines\Remove\1 = NAME_OF_SEARCH_ENGINE
2742 ```
2743 #### macOS
2744 ```
2745 <dict>
2746 <key>SearchEngines</key>
2747 <dict>
2748 <key>Remove</key>
2749 <array>
2750 <string>NAME_OF_SEARCH_ENGINE</string>
2751 </array>
2752 </dict>
2753 </dict>
2754 ```
2755 #### policies.json
2756 ```
2757 {
2758 "policies": {
2759 "SearchEngines": {
2760 "Remove": ["NAME_OF_SEARCH_ENGINE"]
2761 }
2762 }
2763 }
2764 ```
2765 ### SearchEngines | Add
2766
2767 Add new search engines (up to five). This policy is only available on the ESR. `Name` and `URLTemplate` are required.
2768
2769 `Name` is the name of the search engine.
2770
2771 `URLTemplate` is the search URL with {searchTerms} to substitute for the search term.
2772
2773 `Method` is either GET or POST
2774
2775 `IconURL` is a URL for the icon to use.
2776
2777 `Alias` is a keyword to use for the engine.
2778
2779 `Description` is a description of the search engine.
2780
2781 `PostData` is the POST data as name value pairs separated by &.
2782
2783 `SuggestURLTemplate` is a search suggestions URL with {searchTerms} to substitute for the search term.
2784
2785 **Compatibility:** Firefox ESR 60 (POST support in Firefox ESR 68)\
2786 **CCK2 Equivalent:** `searchplugins`\
2787 **Preferences Affected:** N/A
2788
2789 #### Windows (GPO)
2790 ```
2791 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Name = "Example1"
2792 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\URLTemplate = "https://www.example.org/q={searchTerms}"
2793 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Method = "GET" | "POST"
2794 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\IconURL = "https://www.example.org/favicon.ico"
2795 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Alias = "example"
2796 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Description = "Example Description"
2797 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\SuggestURLTemplate = "https://www.example.org/suggestions/q={searchTerms}"
2798 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\PostData = "name=value&q={searchTerms}"
2799 ```
2800
2801 #### macOS
2802 ```
2803 <dict>
2804 <key>SearchEngines</key>
2805 <dict>
2806 <key>Add</key>
2807 <array>
2808 <dict>
2809 <key>Name</key>
2810 <string>Example1</string>
2811 <key>URLTemplate</key>
2812 <string>https://www.example.org/q={searchTerms}</string>
2813 <key>Method</key>
2814 <string>GET | POST </string>
2815 <key>IconURL</key>
2816 <string>https://www.example.org/favicon.ico</string>
2817 <key>Alias</key>
2818 <string>example</string>
2819 <key>Description</key>
2820 <string>Example Description</string>
2821 <key>SuggestURLTemplate</key>
2822 <string>https://www.example.org/suggestions/q={searchTerms}</string>
2823 <key>PostData</key>
2824 <string>name=value&q={searchTerms}</string>
2825 </dict>
2826 <array>
2827 </dict>
2828 </dict>
2829 ```
2830 #### policies.json
2831 ```
2832 {
2833 "policies": {
2834 "SearchEngines": {
2835 "Add": [
2836 {
2837 "Name": "Example1",
2838 "URLTemplate": "https://www.example.org/q={searchTerms}",
2839 "Method": "GET" | "POST",
2840 "IconURL": "https://www.example.org/favicon.ico",
2841 "Alias": "example",
2842 "Description": "Description",
2843 "PostData": "name=value&q={searchTerms}",
2844 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
2845 }
2846 ]
2847 }
2848 }
2849 }
2850 ```
2851 ### SearchSuggestEnabled
2852
2853 Enable search suggestions.
2854
2855 **Compatibility:** Firefox 68, Firefox ESR 68\
2856 **CCK2 Equivalent:** N/A\
2857 **Preferences Affected:** `browser.urlbar.suggest.searches`,`browser.search.suggest.enabled`
2858
2859 #### Windows (GPO)
2860 ```
2861 Software\Policies\Mozilla\Firefox\SearchSuggestEnabled = 0x1 | 0x0
2862 ```
2863 #### macOS
2864 ```
2865 <dict>
2866 <key>SearchSuggestEnabled</key>
2867 <true/> | <false/>
2868 </dict>
2869 ```
2870 #### policies.json
2871 ```
2872 {
2873 "policies": {
2874 "SearchSuggestEnabled": true | false
2875 }
2876 }
2877 ```
2878 ### SecurityDevices
2879
2880 Install PKCS #11 modules.
2881
2882 **Compatibility:** Firefox 64, Firefox ESR 60.4\
2883 **CCK2 Equivalent:** `certs.devices`\
2884 **Preferences Affected:** N/A
2885
2886 #### Windows (GPO)
2887 ```
2888 Software\Policies\Mozilla\Firefox\SecurityDevices\NAME_OF_DEVICE = PATH_TO_LIBRARY_FOR_DEVICE
2889 ```
2890 #### macOS
2891 ```
2892 <dict>
2893 <key>SecurityDevices</key>
2894 <dict>
2895 <key>NAME_OF_DEVICE</key>
2896 <string>PATH_TO_LIBRARY_FOR_DEVICE</string>
2897 </dict>
2898 </dict>
2899 ```
2900
2901 #### policies.json
2902 ```
2903 {
2904 "policies": {
2905 "SecurityDevices": {
2906 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
2907 }
2908 }
2909 }
2910 ```
2911 ### SSLVersionMax
2912
2913 Set and lock the maximum version of TLS.
2914
2915 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2916 **CCK2 Equivalent:** N/A\
2917 **Preferences Affected:** `security.tls.version.max`
2918
2919 #### Windows (GPO)
2920 ```
2921 Software\Policies\Mozilla\Firefox\SSLVersionMax = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2922 ```
2923 #### macOS
2924 ```
2925 <dict>
2926 <key>SSLVersionMax</key>
2927 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2928 </dict>
2929 ```
2930
2931 #### policies.json
2932 ```
2933 {
2934 "policies": {
2935 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2936 }
2937 }
2938 ```
2939 ### SSLVersionMin
2940
2941 Set and lock the minimum version of TLS.
2942
2943 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2944 **CCK2 Equivalent:** N/A\
2945 **Preferences Affected:** `security.tls.version.min`
2946
2947 #### Windows (GPO)
2948 ```
2949 Software\Policies\Mozilla\Firefox\SSLVersionMin = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2950 ```
2951 #### macOS
2952 ```
2953 <dict>
2954 <key>SSLVersionMin</key>
2955 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2956 </dict>
2957 ```
2958
2959 #### policies.json
2960 ```
2961 {
2962 "policies": {
2963 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2964 }
2965 }
2966 ```
2967 ### SupportMenu
2968 Add a menuitem to the help menu for specifying support information.
2969
2970 **Compatibility:** Firefox 68.0.1, Firefox ESR 68.0.1\
2971 **CCK2 Equivalent:** helpMenu\
2972 **Preferences Affected:** N/A
2973
2974 #### Windows (GPO)
2975 ```
2976 Software\Policies\Mozilla\Firefox\SupportMenu\Title = "Support Menu"
2977 Software\Policies\Mozilla\Firefox\SupportMenu\URL = "http://example.com/support"
2978 Software\Policies\Mozilla\Firefox\SupportMenu\AccessKey = "S"
2979 ```
2980 #### macOS
2981 ```
2982 <dict>
2983 <key>SupportMenu</key>
2984 <dict>
2985 <key>Title</key>
2986 <string>SupportMenu</string>
2987 <key>URL</key>
2988 <string>http://example.com/support</string>
2989 <key>AccessKey</key>
2990 <string>S</string>
2991 </dict>
2992 </dict>
2993 ```
2994 #### policies.json
2995 ```
2996 {
2997 "policies": {
2998 "SupportMenu": {
2999 "Title": "Support Menu",
3000 "URL": "http://example.com/support",
3001 "AccessKey": "S"
3002 }
3003 }
3004 }
3005 ```
3006 ### WebsiteFilter
3007 Block websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https addresses are supported at the moment. The arrays are limited to 1000 entries each.
3008
3009 **Compatibility:** Firefox 60, Firefox ESR 60\
3010 **CCK2 Equivalent:** N/A\
3011 **Preferences Affected:** N/A
3012
3013 #### Windows (GPO)
3014 ```
3015 Software\Policies\Mozilla\Firefox\WebsiteFilters\Block\1 = "<all_urls>"
3016 Software\Policies\Mozilla\Firefox\WebsiteFilters\Exceptions\1 = "http://example.org/*"
3017 ```
3018 #### macOS
3019 ```
3020 <dict>
3021 <key>WebsiteFilter</key>
3022 <dict>
3023 <key>Block</key>
3024 <array>
3025 <string><all_urls></string>
3026 </array>
3027 <key>Exceptions</key>
3028 <array>
3029 <string>http://example.org/*</string>
3030 </array>
3031 </dict>
3032
3033 </dict>
3034 ```
3035 #### policies.json
3036 ```
3037 {
3038 "policies": {
3039 "WebsiteFilter": {
3040 "Block": ["<all_urls>"],
3041 "Exceptions": ["http://example.org/*"]
3042 }
3043 }
3044 }
3045 ```

patrick-canterino.de