]> git.p6c8.net - policy-templates.git/blob - README.md
3c3bd628a5c1a8867c0ce0964b16c87160a1d1bc
[policy-templates.git] / README.md
1 **IMPORTANT**: This file is in active development along with the policies in Firefox. Make sure to check the compatibility section to see if a policy is available in a specific version of Firefox. To get the policy information that corresponds to a specific release, go to https://github.com/mozilla/policy-templates/releases.
2
3 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.
4
5 | Policy Name | Description
6 | --- | --- |
7 | **[`AppUpdateURL`](#AppUpdateURL)** | Change the URL for application update.
8 | **[`Authentication`](#Authentication)** | Configure sites that support integrated authentication.
9 | **[`BlockAboutAddons`](#blockaboutaddons)** | Block access to the Add-ons Manager (about:addons).
10 | **[`BlockAboutConfig`](#blockaboutconfig)** | Block access to about:config.
11 | **[`BlockAboutProfiles`](#blockaboutprofiles)** | Block access to About Profiles (about:profiles).
12 | **[`BlockAboutSupport`](#blockaboutsupport)** | Block access to Troubleshooting Information (about:support).
13 | **[`Bookmarks`](#bookmarks)** | Add bookmarks in either the bookmarks toolbar or menu.
14 | **[`CaptivePortal`](#captiveportal)** | Enable or disable the detection of captive portals.
15 | **[`Certificates`](#certificates)** |
16 | **[`Certificates -> ImportEnterpriseRoots`](#certificates--importenterpriseroots)** | Trust certificates that have been added to the operating system certificate store by a user or administrator.
17 | **[`Certificates -> Install`](#certificates--install)** | Install certificates into the Firefox certificate store.
18 | **[`Cookies`](#cookies)** | Configure cookie preferences.
19 | **[`DisableSetDesktopBackground`](#disablesetdesktopbackground)** | Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
20 | **[`DisableMasterPasswordCreation`](#disablemasterpasswordcreation)** | Remove the master password functionality.
21 | **[`DisableAppUpdate`](#disableappupdate)** | Turn off application updates.
22 | **[`DisableBuiltinPDFViewer`](#disablebuiltinpdfviewer)** | Disable the built in PDF viewer.
23 | **[`DisableDeveloperTools`](#disabledevelopertools)** | Remove access to all developer tools.
24 | **[`DisableFeedbackCommands`](#disablefeedbackcommands)** | Disable the menus for reporting sites.
25 | **[`DisableFirefoxScreenshots`](#disablefirefoxscreenshots)** | Remove access to Firefox Screenshots.
26 | **[`DisableFirefoxAccounts`](#disablefirefoxaccounts)** | Disable Firefox Accounts integration (Sync).
27 | **[`DisableFirefoxStudies`](#disablefirefoxstudies)** | Disable Firefox studies (Shield).
28 | **[`DisableForgetButton`](#disableforgetbutton)** | Disable the "Forget" button.
29 | **[`DisableFormHistory`](#disableformhistory)** | Turn off saving information on web forms and the search bar.
30 | **[`DisablePocket`](#disablepocket)** | Remove Pocket in the Firefox UI.
31 | **[`DisablePrivateBrowsing`](#disableprivatebrowsing)** | Remove access to private browsing.
32 | **[`DisableProfileImport`](#disableprofileimport)** | Disables the "Import data from another browser" option in the bookmarks window.
33 | **[`DisableProfileRefresh`](#disableprofilerefresh)** | Disable the Refresh Firefox button on about:support and support.mozilla.org
34 | **[`DisableSafeMode`](#disablesafemode)** | Disable safe mode within the browser.
35 | **[`DisableSecurityBypass`](#disablesecuritybypass)** | Prevent the user from bypassing security in certain cases.
36 | **[`DisableSystemAddonUpdate`](#disablesystemaddonupdate)** | Prevent system add-ons from being installed or update.
37 | **[`DisableTelemetry`](#disabletelemetry)** | DisableTelemetry
38 | **[`DisplayBookmarksToolbar`](#displaybookmarkstoolbar)** | Set the initial state of the bookmarks toolbar.
39 | **[`DisplayMenuBar`](#displaymenubar)** | Set the initial state of the menubar
40 | **[`DNSOverHTTPS`](#dnsoverhttps)** | Configure DNS over HTTPS.
41 | **[`DontCheckDefaultBrowser`](#dontcheckdefaultbrowser)** | Don't check if Firefox is the default browser at startup.
42 | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection.
43 | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions.
44 | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates.
45 | **[`FlashPlugin`](#flashplugin)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed.
46 | **[`HardwareAcceleration`](#hardwareacceleration)** | Control hardware acceleration.
47 | **[`Homepage`](#homepage)** | Configure the default homepage and how Firefox starts.
48 | **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed.
49 | **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching).
50 | **[`NewTabPage`](#newtabpage)** | Enable or disable the New Tab page.
51 | **[`NoDefaultBookmarks`](#nodefaultbookmarks)** | Disable the creation of default bookmarks.
52 | **[`OfferToSaveLogins`](#offertosavelogins)** | Control whether or not Firefox offers to save passwords.
53 | **[`OverrideFirstRunPage`](#overridefirstrunpage)** | Override the first run page.
54 | **[`OverridePostUpdatePage`](#overridepostupdatepage)** | Override the upgrade page.
55 | **[`Permissions`](#permissions)** | Set permissions associated with camera, microphone, location, and notifications.
56 | **[`PopupBlocking`](#popupblocking)** | Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
57 | **[`Preferences`](#preferences)** | Set and lock some preferences.
58 | **[`Proxy`](#proxy)** | Configure proxy settings.
59 | **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference.
60 | **[`SanitizeOnShutdown`](#sanitizeonshutdown)** | Clear all data on shutdown.
61 | **[`SearchBar`](#searchbar)** | Set whether or not search bar is displayed.
62 | **[`SearchEngines`](#searchengines-this-policy-is-only-available-on-the-esr)** |
63 | **[`SearchEngines -> Default`](#searchengines--default)** | Set the default search engine.
64 | **[`SearchEngines -> PreventInstalls`](#searchengines--preventinstalls)** | Prevent installing search engines from webpages.
65 | **[`SearchEngines -> Remove`](#searchengines--remove)** | Hide built-in search engines.
66 | **[`SearchEngines -> Add`](#searchengines--add)** | Add new search engines.
67 | **[`SecurityDevices`](#securitydevices)** | Install PKCS #11 modules.
68 | **[`SearchSuggestEnabled`](#searchsuggestenabled)** | Enable search suggestions.
69 | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
70 | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
71 | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited.
72
73
74 ### AppUpdateURL
75
76 Change the URL for application update.
77
78 **Compatibility:** Firefox 62, Firefox ESR 60.2\
79 **CCK2 Equivalent:** N/A\
80 **Preferences Affected:** `app.update.url`
81
82 #### Windows
83 ```
84 Software\Policies\Mozilla\Firefox\AppUpdateURL = "https://yoursite.com"
85 ```
86 #### macOS
87 ```
88 <dict>
89 <key>AppUpdateURL</key>
90 <string>https://yoursite.com</string>
91 </dict>
92 ```
93 ### JSON
94 ```
95 {
96 "policies": {
97 "AppUpdateURL": "https://yoursite.com"
98 }
99 }
100 ```
101 ### Authentication
102
103 Configure sites that support integrated authentication.
104
105 See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication for more information.
106
107 **Compatibility:** Firefox 60, Firefox ESR 60 (AllowNonFQDN added in 62/60.2)\
108 **CCK2 Equivalent:** N/A\
109 **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`
110
111 #### Windows
112 ```
113 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\1 = "mydomain.com"
114 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\2 = "https://myotherdomain.com"
115 Software\Policies\Mozilla\Firefox\Authentication\Delegated\1 = "mydomain.com"
116 Software\Policies\Mozilla\Firefox\Authentication\Delegated\2 = "https://myotherdomain.com"
117 Software\Policies\Mozilla\Firefox\Authentication\NTLM\1 = "mydomain.com"
118 Software\Policies\Mozilla\Firefox\Authentication\NTLM\2 = "https://myotherdomain.com"
119 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\SPNEGO = 0x1 | 0x0
120 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0
121 ```
122 #### macOS
123 ```
124 <dict>
125 <key>Authentication</key>
126 <dict>
127 <key>SPNEGO</key>
128 <array>
129 <string>mydomain.com</string>
130 <string>https://myotherdomain.com</string>
131 </array>
132 <key>Delegated</key>
133 <array>
134 <string>mydomain.com</string>
135 <string>https://myotherdomain.com</string>
136 </array>
137 <key>NTLM</key>
138 <array>
139 <string>mydomain.com</string>
140 <string>https://myotherdomain.com</string>
141 </array>
142 <key>AllowNonFQDN</key>
143 <dict>
144 <key>SPNEGO</key>
145 <true/> | <false/>
146 <key>NTLM</key>
147 <true/> | <false/>
148 </dict>
149 </dict>
150 </dict>
151 ```
152 ### JSON
153 ```
154 {
155 "policies": {
156 "Authentication": {
157 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
158 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
159 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
160 "AllowNonFQDN": {
161 "SPNEGO": true | false,
162 "NTLM": true | false
163 }
164 }
165 }
166 }
167 ```
168 ### BlockAboutAddons
169
170 Block access to the Add-ons Manager (about:addons).
171
172 **Compatibility:** Firefox 60, Firefox ESR 60\
173 **CCK2 Equivalent:** `disableAddonsManager`\
174 **Preferences Affected:** N/A
175
176 #### Windows
177 ```
178 Software\Policies\Mozilla\Firefox\BlockAboutAddons = 0x1 | 0x0
179 ```
180 #### macOS
181 ```
182 <dict>
183 <key>BlockAboutAddons</key>
184 <true/> | <false/>
185 </dict>
186 ```
187 #### JSON
188 ```
189 {
190 "policies": {
191 "BlockAboutAddons": true | false
192 }
193 }
194 ```
195 ### BlockAboutConfig
196
197 Block access to about:config.
198
199 **Compatibility:** Firefox 60, Firefox ESR 60\
200 **CCK2 Equivalent:** `disableAboutConfig`\
201 **Preferences Affected:** N/A
202
203 #### Windows
204 ```
205 Software\Policies\Mozilla\Firefox\BlockAboutConfig = 0x1 | 0x0
206 ```
207 #### macOS
208 ```
209 <dict>
210 <key>BlockAboutConfig</key>
211 <true/> | <false/>
212 </dict>
213 ```
214 #### JSON
215 ```
216 {
217 "policies": {
218 "BlockAboutConfig": true | false
219 }
220 }
221 ```
222 ### BlockAboutProfiles
223
224 Block access to About Profiles (about:profiles).
225
226 **Compatibility:** Firefox 60, Firefox ESR 60\
227 **CCK2 Equivalent:** `disableAboutProfiles`\
228 **Preferences Affected:** N/A
229
230 #### Windows
231 ```
232 Software\Policies\Mozilla\Firefox\BlockAboutProfiles = 0x1 | 0x0
233 ```
234 #### macOS
235 ```
236 <dict>
237 <key>BlockAboutProfiles</key>
238 <true/> | <false/>
239 </dict>
240 ```
241 #### JSON
242 ```
243 {
244 "policies": {
245 "BlockAboutProfiles": true | false
246 }
247 }
248 ```
249 ### BlockAboutSupport
250
251 Block access to Troubleshooting Information (about:support).
252
253 **Compatibility:** Firefox 60, Firefox ESR 60\
254 **CCK2 Equivalent:** `disableAboutSupport`\
255 **Preferences Affected:** N/A
256
257 #### Windows
258 ```
259 Software\Policies\Mozilla\Firefox\BlockAboutSupport = 0x1 | 0x0
260 ```
261 #### macOS
262 ```
263 <dict>
264 <key>BlockAboutSupport</key>
265 <true/> | <false/>
266 </dict>
267 ```
268 #### JSON
269 ```
270 {
271 "policies": {
272 "BlockAboutSupport": true | false
273 }
274 }
275 ```
276 ### Bookmarks
277
278 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.
279
280 **Compatibility:** Firefox 60, Firefox ESR 60\
281 **CCK2 Equivalent:** `bookmarks.toolbar`,`bookmarks.menu`\
282 **Preferences Affected:** N/A
283
284 #### Windows
285 ```
286 Software\Policies\Mozilla\Firefox\Bookmarks\1\Title = "Example"
287 Software\Policies\Mozilla\Firefox\Bookmarks\1\URL = "https://example.com"
288 Software\Policies\Mozilla\Firefox\Bookmarks\1\Favicon = "https://example.com/favicon.ico"
289 Software\Policies\Mozilla\Firefox\Bookmarks\1\Placement = "toolbar" | "menu"
290 Software\Policies\Mozilla\Firefox\Bookmarks\1\Folder = "FolderName"
291 ```
292 #### macOS
293 ```
294 <dict>
295 <key>Bookmarks</key>
296 <array>
297 <dict>
298 <key>Title</key>
299 <string>Example</string>
300 <key>URL</key>
301 <string>https://example.com</string>
302 <key>Favicon</key>
303 <string>https://example.com/favicon.ico</string>
304 <key>Placement</key>
305 <string>toolbar | menu</string>
306 <key>Folder</key>
307 <string>FolderName</string>
308 </dict>
309 </array>
310 </dict>
311 ```
312 ### JSON
313 ```
314 {
315 "policies": {
316 "Bookmarks": [
317 {
318 "Title": "Example",
319 "URL": "https://example.com",
320 "Favicon": "https://example.com/favicon.ico",
321 "Placement": "toolbar" | "menu",
322 "Folder": "FolderName"
323 }
324 ]
325 }
326 }
327 ```
328 ### CaptivePortal
329 Enable or disable the detection of captive portals.
330
331 **Compatibility:** Firefox 67, Firefox ESR 60.7\
332 **CCK2 Equivalent:** N/A\
333 **Preferences Affected:** `network.captive-portal-service.enabled`
334
335 #### Windows
336 ```
337 Software\Policies\Mozilla\Firefox\CaptivePortal = 0x1 | 0x0
338 ```
339 #### macOS
340 ```
341 <dict>
342 <key>CaptivePortal</key>
343 <true/> | <false/>
344 </dict>
345 ```
346 #### JSON
347 ```
348 {
349 "policies": {
350 "CaptivePortal": true | false
351 }
352 }
353 ```
354 ### Certificates
355
356 ### Certificates | ImportEnterpriseRoots
357
358 Trust certificates that have been added to the operating system certificate store by a user or administrator.
359
360 See https://support.mozilla.org/kb/setting-certificate-authorities-firefox for more detail.
361
362 **Compatibility:** Firefox 60, Firefox ESR 60 (macOS support in Firefox 63, Firefox ESR 68)\
363 **CCK2 Equivalent:** N/A\
364 **Preferences Affected:** `security.enterprise_roots.enabled`
365
366 #### Windows
367 ```
368 Software\Policies\Mozilla\Firefox\Certificates\ImportEnterpriseRoots = 0x1 | 0x0
369 ```
370 #### macOS
371 ```
372 <dict>
373 <key>Certificates</key>
374 <dict>
375 <key>ImportEnterpriseRoots</key>
376 <true/> | <false/>
377 </dict>
378 </dict>
379 ```
380 #### JSON
381 ```
382 {
383 "policies": {
384 "Certificates": {
385 "ImportEnterpriseRoots": true | false
386 }
387 }
388 }
389 ```
390 ### Certificates | Install
391
392 Install certificates into the Firefox certificate store. If only a filename is specified, Firefox searches for the file in the following locations:
393
394 - Windows
395 - %USERPROFILE%\AppData\Local\Mozilla\Certificates
396 - %USERPROFILE%\AppData\Roaming\Mozilla\Certificates
397 - macOS
398 - /Library/Application Support/Mozilla/Certificates
399 - ~/Library/Application Support/Mozilla/Certificates
400 - Linux
401 - /usr/lib/mozilla/certificates
402 - /usr/lib64/mozilla/certificates
403 - ~/.mozilla/certificates
404
405 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.
406
407 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.
408
409 Certificates are installed using the trust string `CT,CT,`.
410
411 Binary (DER) and ASCII (PEM) certificates are both supported.
412
413 **Compatibility:** Firefox 64, Firefox ESR 64\
414 **CCK2 Equivalent:** `certs.ca`\
415 **Preferences Affected:** N/A
416
417 #### Windows
418 ```
419 Software\Policies\Mozilla\Firefox\Certificates\Install\1 = "cert1.der"
420 Software\Policies\Mozilla\Firefox\Certificates\Install\2 = "C:\Users\username\cert2.pem"
421 ```
422 #### macOS
423 ```
424 <dict>
425 <key>Certificates</key>
426 <dict>
427 <key>Install</key>
428 <array>
429 <string>cert1.der</string>
430 <string>/Users/username/cert2.pem</string>
431 </array>
432 </dict>
433 </dict>
434 ```
435 #### JSON
436 ```
437 {
438 "policies": {
439 "Certificates": {
440 "Install": ["cert1.der", "/home/username/cert2.pem"]
441 }
442 }
443 }
444 ```
445 ### Cookies
446 Configure cookie preferences.
447
448 `Allow` is a list of origins (not domains) where cookies are always allowed. You must include http or https.
449
450 `Block` is a list of origins (not domains) where cookies are always blocked. You must include http or https.
451
452 `Default` determines whether cookies are accepted at all.
453
454 `AcceptThirdParty` determines how third-party cookies are handled.
455
456 `ExpireAtSessionEnd` determines when cookies expire.
457
458 `RejectTracker` only rejects cookies for trackers.
459
460 `Locked` prevents the user from changing cookie preferences.
461
462 **Compatibility:** Firefox 60, Firefox ESR 60 (RejectTracker was added in Firefox 63)\
463 **CCK2 Equivalent:** N/A\
464 **Preferences Affected:** `network.cookie.cookieBehavior`,`network.cookie.lifetimePolicy`
465
466 #### Windows
467 ```
468 Software\Policies\Mozilla\Firefox\Cookies\Allow\1 = "https://example.com"
469 Software\Policies\Mozilla\Firefox\Cookies\Block\1 = "https://example.org"
470 Software\Policies\Mozilla\Firefox\Cookies\Default = 0x1 | 0x0
471 Software\Policies\Mozilla\Firefox\Cookies\AcceptThirdParty = "always" | "never" |"from-visited"
472 Software\Policies\Mozilla\Firefox\Cookies\ExpireAtSessionEnd = 0x1 | 0x0
473 Software\Policies\Mozilla\Firefox\Cookies\RejectTracker = 0x1 | 0x0
474 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
475 ```
476 #### macOS
477 ```
478 <dict>
479 <key>Cookies</key>
480 <dict>
481 <key>Allow</key>
482 <array>
483 <string>http://example.com</string>
484 </array>
485 <key>Block</key>
486 <array>
487 <string>http://example.org</string>
488 </array>
489 <key>Default</key>
490 <true/> | <false/>
491 <key>AcceptThirdParty</key>
492 <string>always | never | from-visited</string>
493 <key>ExpireAtSessionEnd</key>
494 <true/> | <false/>
495 <key>RejectTracker</key>
496 <true/> | <false/>
497 <key>Locked</key>
498 <true/> | <false/>
499 </dict>
500 </dict>
501 ```
502 #### JSON
503 ```
504 {
505 "policies": {
506 "Cookies": {
507 "Allow": ["http://example.org/"],
508 "Block": ["http://example.edu/"],
509 "Default": true | false,
510 "AcceptThirdParty": "always" | "never" | "from-visited"],
511 "ExpireAtSessionEnd": true | false,
512 "RejectTracker": true | false,
513 "Locked": true | false
514 }
515 }
516 }
517 ```
518 ### DisableSetDesktopBackground
519 Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
520
521 **Compatibility:** Firefox 60, Firefox ESR 60\
522 **CCK2 Equivalent:** `removeSetDesktopBackground`\
523 **Preferences Affected:** N/A
524
525 #### Windows
526 ```
527 Software\Policies\Mozilla\Firefox\DisableSetDesktopBackground = 0x1 | 0x0
528 ```
529
530 #### macOS
531 ```
532 <dict>
533 <key>DisableSetDesktopBackground</key>
534 <true/> | <false/>
535 </dict>
536 ```
537 #### JSON
538 ```
539 {
540 "policies": {
541 "DisableSetDesktopBackground": true | false
542 }
543 }
544 ```
545 ### DisableMasterPasswordCreation
546 Remove the master password functionality.
547
548 **Compatibility:** Firefox 60, Firefox ESR 60\
549 **CCK2 Equivalent:** `noMasterPassword`\
550 **Preferences Affected:** N/A
551
552 #### Windows
553 ```
554 Software\Policies\Mozilla\Firefox\DisableMasterPasswordCreation = 0x1 | 0x0
555 ```
556
557 #### macOS
558 ```
559 <dict>
560 <key>DisableMasterPasswordCreation</key>
561 <true/> | <false/>
562 </dict>
563 ```
564 #### JSON
565 ```
566 {
567 "policies": {
568 "DisableMasterPasswordCreation": true | false
569 }
570 }
571 ```
572 ### DisableAppUpdate
573 Turn off application updates.
574
575 **Compatibility:** Firefox 60, Firefox ESR 60\
576 **CCK2 Equivalent:** `disableFirefoxUpdates`\
577 **Preferences Affected:** N/A
578
579 #### Windows
580 ```
581 Software\Policies\Mozilla\Firefox\DisableAppUpdate = 0x1 | 0x0
582 ```
583 #### macOS
584 ```
585 <dict>
586 <key>DisableAppUpdate</key>
587 <true/> | <false/>
588 </dict>
589 ```
590 #### JSON
591 ```
592 {
593 "policies": {
594 "DisableAppUpdate": true | false
595 }
596 }
597 ```
598 ### DisableBuiltinPDFViewer
599 Disable the built in PDF viewer. PDF files are downloaded and sent externally.
600
601 **Compatibility:** Firefox 60, Firefox ESR 60\
602 **CCK2 Equivalent:** `disablePDFjs`\
603 **Preferences Affected:** `pdfjs.disabled`
604
605 #### Windows
606 ```
607 Software\Policies\Mozilla\Firefox\DisableBuiltinPDFViewer = 0x1 | 0x0
608 ```
609
610 #### macOS
611 ```
612 <dict>
613 <key>DisableBuiltinPDFViewer</key>
614 <true/> | <false/>
615 </dict>
616 ```
617 #### JSON
618 ```
619 {
620 "policies": {
621 "DisableBuiltinPDFViewer": true | false
622 }
623 }
624 ```
625 ### DisableDeveloperTools
626 Remove access to all developer tools.
627
628 **Compatibility:** Firefox 60, Firefox ESR 60\
629 **CCK2 Equivalent:** `removeDeveloperTools`\
630 **Preferences Affected:** `devtools.policy.disabled`
631
632 #### Windows
633 ```
634 Software\Policies\Mozilla\Firefox\DisableDeveloperTools = 0x1 | 0x0`
635 ```
636
637 #### macOS
638 ```
639 <dict>
640 <key>DisableDeveloperTools</key>
641 <true/> | <false/>
642 </dict>
643 ```
644 #### JSON
645 ```
646 {
647 "policies": {
648 "DisableDeveloperTools": true | false
649 }
650 }
651 ```
652 ### DisableFeedbackCommands
653 Disable the menus for reporting sites (Submit Feedback, Report Deceptive Site).
654
655 **Compatibility:** Firefox 60, Firefox ESR 60\
656 **CCK2 Equivalent:** N/A\
657 **Preferences Affected:** N/A
658
659 #### Windows
660 ```
661 Software\Policies\Mozilla\Firefox\DisableFeedbackCommands = 0x1 | 0x0
662 ```
663 #### macOS
664 ```
665 <dict>
666 <key>DisableFeedbackCommands</key>
667 <true/> | <false/>
668 </dict>
669 ```
670 #### JSON
671 ```
672 {
673 "policies": {
674 "DisableFeedbackCommands": true | false
675 }
676 }
677 ```
678 ### DisableFirefoxScreenshots
679 Remove access to Firefox Screenshots.
680
681 **Compatibility:** Firefox 60, Firefox ESR 60\
682 **CCK2 Equivalent:** N/A\
683 **Preferences Affected:** `extensions.screenshots.disabled`
684
685 #### Windows
686 ```
687 Software\Policies\Mozilla\Firefox\DisableFirefoxScreenshots = 0x1 | 0x0
688 ```
689 #### macOS
690 ```
691 <dict>
692 <key>DisableFirefoxScreenshots</key>
693 <true/> | <false/>
694 </dict>
695 ```
696 #### JSON
697 ```
698 {
699 "policies": {
700 "DisableFirefoxScreenshots": true | false
701 }
702 }
703 ```
704 ### DisableFirefoxAccounts
705 Disable Firefox Accounts integration (Sync).
706
707 **Compatibility:** Firefox 60, Firefox ESR 60\
708 **CCK2 Equivalent:** `disableSync`\
709 **Preferences Affected:** `identity.fxaccounts.enabled`
710
711 #### Windows
712 ```
713 Software\Policies\Mozilla\Firefox\DisableFirefoxAccounts = 0x1 | 0x0
714 ```
715 #### macOS
716 ```
717 <dict>
718 <key>DisableFirefoxAccounts</key>
719 <true/> | <false/>
720 </dict>
721 ```
722 #### JSON
723 ```
724 {
725 "policies": {
726 "DisableFirefoxAccounts": true | false
727 }
728 }
729 ```
730 ### DisableFirefoxStudies
731 Disable Firefox studies (Shield).
732
733 **Compatibility:** Firefox 60, Firefox ESR 60\
734 **CCK2 Equivalent:** `disableForget`\
735 **Preferences Affected:** N/A
736
737 #### Windows
738 ```
739 Software\Policies\Mozilla\Firefox\DisableFirefoxStudies = 0x1 | 0x0
740 ```
741 #### macOS
742 ```
743 <dict>
744 <key>DisableFirefoxStudies</key>
745 <true/> | <false/>
746 </dict>
747 ```
748 #### JSON
749 ```
750 {
751 "policies": {
752 "DisableFirefoxStudies": true | false
753 }
754 }
755 ```
756 ### DisableForgetButton
757 Disable the "Forget" button.
758
759 **Compatibility:** Firefox 60, Firefox ESR 60\
760 **CCK2 Equivalent:** `disableForget`\
761 **Preferences Affected:** N/A
762
763 #### Windows
764 ```
765 Software\Policies\Mozilla\Firefox\DisableForgetButton = 0x1 | 0x0
766 ```
767 #### macOS
768 ```
769 <dict>
770 <key>DisableForgetButton</key>
771 <true/> | <false/>
772 </dict>
773 ```
774 #### JSON
775 ```
776 {
777 "policies": {
778 "DisableForgetButton": true | false
779 }
780 }
781 ```
782 ### DisableFormHistory
783 Turn off saving information on web forms and the search bar.
784
785 **Compatibility:** Firefox 60, Firefox ESR 60\
786 **CCK2 Equivalent:** `disableFormFill`\
787 **Preferences Affected:** ` browser.formfill.enable`
788
789 #### Windows
790 ```
791 Software\Policies\Mozilla\Firefox\DisableFormHistory = 0x1 | 0x0
792 ```
793 #### macOS
794 ```
795 <dict>
796 <key>DisableFormHistory</key>
797 <true/> | <false/>
798 </dict>
799 ```
800 #### JSON
801 ```
802 {
803 "policies": {
804 "DisableFormHistory": true | false
805 }
806 }
807 ```
808 ### DisablePocket
809 Remove Pocket in the Firefox UI. It does not remove it from the new tab page.
810
811 **Compatibility:** Firefox 60, Firefox ESR 60\
812 **CCK2 Equivalent:** `disablePocket`\
813 **Preferences Affected:** `extensions.pocket.enabled`
814
815 #### Windows
816 ```
817 Software\Policies\Mozilla\Firefox\DisablePocket = 0x1 | 0x0
818 ```
819 #### macOS
820 ```
821 <dict>
822 <key>DisablePocket</key>
823 <true/> | <false/>
824 </dict>
825 ```
826 #### JSON
827 ```
828 {
829 "policies": {
830 "DisablePocket": true | false
831 }
832 }
833 ```
834 ### DisablePrivateBrowsing
835 Remove access to private browsing.
836
837 **Compatibility:** Firefox 60, Firefox ESR 60\
838 **CCK2 Equivalent:** `disablePrivateBrowsing`\
839 **Preferences Affected:** N/A
840
841 #### Windows
842 ```
843 Software\Policies\Mozilla\Firefox\DisablePrivateBrowsing = 0x1 | 0x0
844 ```
845 #### macOS
846 ```
847 <dict>
848 <key>DisablePrivateBrowsing</key>
849 <true/> | <false/>
850 </dict>
851 ```
852 #### JSON
853 ```
854 {
855 "policies": {
856 "DisablePrivateBrowsing": true | false
857 }
858 }
859 ```
860 ### DisableProfileImport
861 Disables the "Import data from another browser" option in the bookmarks window.
862
863 **Compatibility:** Firefox 60, Firefox ESR 60\
864 **CCK2 Equivalent:** N/A\
865 **Preferences Affected:** N/A
866
867 #### Windows
868 ```
869 Software\Policies\Mozilla\Firefox\DisableProfileImport = 0x1 | 0x0
870 ```
871 #### macOS
872 ```
873 <dict>
874 <key>DisableProfileImport</key>
875 <true/> | <false/>
876 </dict>
877 ```
878 #### JSON
879 ```
880 {
881 "policies": {
882 "DisableProfileImport": true | false
883 }
884 }
885 ```
886 ### DisableProfileRefresh
887 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.
888
889 **Compatibility:** Firefox 60, Firefox ESR 60\
890 **CCK2 Equivalent:** `disableResetFirefox`\
891 **Preferences Affected:** `browser.disableResetPrompt`
892
893 #### Windows
894 ```
895 Software\Policies\Mozilla\Firefox\DisableProfileRefresh = 0x1 | 0x0
896 ```
897 #### macOS
898 ```
899 <dict>
900 <key>DisableProfileRefresh</key>
901 <true/> | <false/>
902 </dict>
903 ```
904 #### JSON
905 ```
906 {
907 "policies": {
908 "DisableProfileRefresh": true | false
909 }
910 }
911 ```
912 ### DisableSafeMode
913 Disable safe mode within the browser.
914
915 On Windows, this disables safe mode via the command line as well.
916
917 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, macOS)\
918 **CCK2 Equivalent:** `disableSafeMode`\
919 **Preferences Affected:** N/A
920
921 #### Windows
922 ```
923 Software\Policies\Mozilla\Firefox\DisableSafeMode = 0x1 | 0x0
924 ```
925 #### macOS
926 ```
927 <dict>
928 <key>DisableSafeMode</key>
929 <true/> | <false/>
930 </dict>
931 ```
932 #### JSON
933 ```
934 {
935 "policies": {
936 "DisableSafeMode": true | false
937 }
938 }
939 ```
940 ### DisableSecurityBypass
941 Prevent the user from bypassing security in certain cases.
942
943 `InvalidCertificate` prevents adding an exception when an invalid certificate is shown.
944
945 `SafeBrowsing` prevents selecting "ignore the risk" and visiting a harmful site anyway.
946
947 **Compatibility:** Firefox 60, Firefox ESR 60\
948 **CCK2 Equivalent:** N/A\
949 **Preferences Affected:** `security.certerror.hideAddException`,`browser.safebrowsing.allowOverride`
950
951 #### Windows
952 ```
953 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\InvalidCertificate = 0x1 | 0x0
954 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\SafeBrowsing = 0x1 | 0x0
955 ```
956 #### macOS
957 ```
958 <dict>
959 <key>DisableSecurityBypass</key>
960 <dict>
961 <key>InvalidCertificate</key>
962 <true/> | <false/>
963 <key><SafeBrowsing/key>
964 <true/> | <false/>
965 </dict>
966 </dict>
967 ```
968 #### JSON
969 ```
970 {
971 "policies": {
972 "DisableSecurityBypass": {
973 "InvalidCertificate": true false,
974 "SafeBrowsing": true false
975 }
976 }
977 }
978 ```
979 ### DisableSystemAddonUpdate
980 Prevent system add-ons from being installed or update.
981
982 **Compatibility:** Firefox 60, Firefox ESR 60\
983 **CCK2 Equivalent:** N/A\
984 **Preferences Affected:** N/A
985
986 #### Windows
987 ```Software\Policies\Mozilla\Firefox\DisableSystemAddonUpdate = 0x1 | 0x0
988 ```
989 #### macOS
990 ```
991 <dict>
992 <key>DisableSystemAddonUpdate</key>
993 <true/> | <false/>
994 </dict>
995 ```
996 #### JSON
997 ```
998 {
999 "policies": {
1000 "DisableSystemAddonUpdate": true | false
1001 }
1002 }
1003 ```
1004 ### DisableTelemetry
1005 Prevent the upload of telemetry data.
1006
1007 Mozilla recommends that you do not disable telemetry. Information collected through telemetry helps us build a better product for businesses like yours.
1008
1009 **Compatibility:** Firefox 60, Firefox ESR 60\
1010 **CCK2 Equivalent:** `disableTelemetry`\
1011 **Preferences Affected:** `datareporting.healthreport.uploadEnabled,datareporting.policy.dataSubmissionEnabled`
1012
1013 #### Windows
1014 ```
1015 Software\Policies\Mozilla\Firefox\DisableTelemetry = 0x1 | 0x0
1016 ```
1017 #### macOS
1018 ```
1019 <dict>
1020 <key>DisableTelemetry</key>
1021 <true/> | <false/>
1022 </dict>
1023 ```
1024 #### JSON
1025 ```
1026 {
1027 "policies": {
1028 "DisableTelemetry": true | false
1029 }
1030 }
1031 ```
1032 ### DisplayBookmarksToolbar
1033 Set the initial state of the bookmarks toolbar. A user can still hide it and it will stay hidden.
1034
1035 **Compatibility:** Firefox 60, Firefox ESR 60\
1036 **CCK2 Equivalent:** `displayBookmarksToolbar`\
1037 **Preferences Affected:** N/A
1038
1039 #### Windows
1040 ```
1041 Software\Policies\Mozilla\Firefox\DisplayBookmarksToolbar = 0x1 | 0x0
1042 ```
1043 #### macOS
1044 ```
1045 <dict>
1046 <key>DisplayBookmarksToolbar</key>
1047 <true/> | <false/>
1048 </dict>
1049 ```
1050 #### JSON
1051 ```
1052 {
1053 "policies": {
1054 "DisplayBookmarksToolbar": true | false
1055 }
1056 }
1057 ```
1058 ### DisplayMenuBar
1059 Set the initial state of the menubar. A user can still hide it and it will stay hidden.
1060
1061 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, some Linux)\
1062 **CCK2 Equivalent:** `displayMenuBar`\
1063 **Preferences Affected:** N/A
1064
1065 #### Windows
1066 ```
1067 Software\Policies\Mozilla\Firefox\DisplayMenuBar = 0x1 | 0x0
1068 ```
1069 #### macOS
1070 ```
1071 <dict>
1072 <key>DisplayMenuBar</key>
1073 <true/> | <false/>
1074 </dict>
1075 ```
1076 #### JSON
1077 ```
1078 {
1079 "policies": {
1080 "DisplayMenuBar": true | false
1081 }
1082 }
1083 ```
1084 ### DNSOverHTTPS
1085 Configure DNS over HTTPS.
1086
1087 `Enabled` determines whether DNS over HTTPS is enabled
1088
1089 `ProviderURL` is a URL to another provider.
1090
1091 `Locked` prevents the user from changing DNS over HTTPS preferences.
1092
1093 **Compatibility:** Firefox 63, Firefox ESR 68\
1094 **CCK2 Equivalent:** N/A\
1095 **Preferences Affected:** `network.trr.mode`,`network.trr.uri`
1096
1097 #### Windows
1098 ```
1099 Software\Policies\Mozilla\Firefox\Cookies\Enabled = 0x1 | 0x0
1100 Software\Policies\Mozilla\Firefox\Cookies\ProviderURL = "URL_TO_ALTERNATE_PROVIDER"
1101 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
1102 ```
1103 #### macOS
1104 ```
1105 <dict>
1106 <key>Cookies</key>
1107 <dict>
1108 <key>Enabled</key>
1109 <true/> | <false/>
1110 <key>ProviderURL</key>
1111 <string>URL_TO_ALTERNATE_PROVIDER</string>
1112 <key>Locked</key>
1113 <true/> | <false/>
1114 </dict>
1115 </dict>
1116 ```
1117 #### JSON
1118 ```
1119 {
1120 "policies": {
1121 "DNSOverHTTPS": {
1122 "Enabled": true | false,
1123 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
1124 "Locked": true | false
1125 }
1126 }
1127 }
1128 ```
1129 ### DontCheckDefaultBrowser
1130 Don't check if Firefox is the default browser at startup.
1131
1132 **Compatibility:** Firefox 60, Firefox ESR 60\
1133 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1134 **Preferences Affected:** `browser.shell.checkDefaultBrowser`
1135
1136 #### Windows
1137 ```
1138 Software\Policies\Mozilla\Firefox\DontCheckDefaultBrowser = 0x1 | 0x0
1139 ```
1140 #### macOS
1141 ```
1142 <dict>
1143 <key>DontCheckDefaultBrowser</key>
1144 <true/> | <false/>
1145 </dict>
1146 ```
1147 #### JSON
1148 ```
1149 {
1150 "policies": {
1151 "DontCheckDefaultBrowser": true | false
1152 }
1153 }
1154 ```
1155 ### EnableTrackingProtection
1156 Configure tracking protection.
1157
1158 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.
1159
1160 If `Value` is set to false, tracking protection is disabled and locked in both the regular browser and private browsing.
1161
1162 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.
1163
1164 **Compatibility:** Firefox 60, Firefox ESR 60\
1165 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1166 **Preferences Affected:** `privacy.trackingprotection.enabled`,`privacy.trackingprotection.pbmode.enabled`
1167
1168 #### Windows
1169 ```
1170 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Value = 0x1 | 0x0
1171 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Locked = 0x1 | 0x0
1172 ```
1173 #### macOS
1174 ```
1175 <dict>
1176 <key>EnableTrackingProtection</key>
1177 <dict>
1178 <key>Value</key>
1179 <true/> | <false/>
1180
1181 <key><Locked/key>
1182 <true/> | <false/>
1183 </dict>
1184 </dict>
1185 ```
1186 #### JSON
1187 ```
1188 {
1189 "policies": {
1190 "EnableTrackingProtection": {
1191 "Value": [true, false],
1192 "Locked": [true, false]
1193 }
1194 }
1195 ```
1196 ### Extensions
1197 Control the installation, uninstallation and locking of extensions.
1198
1199 `Install` is a list of URLs or native paths for extensions to be installed.
1200
1201 `Uninstall` is a list of extension IDs that should be uninstalled if found.
1202
1203 `Locked` is a list of extension IDs that the user cannot disable or uninstall.
1204
1205 **Compatibility:** Firefox 60, Firefox ESR 60\
1206 **CCK2 Equivalent:** `addons`\
1207 **Preferences Affected:** N/A
1208
1209 #### Windows
1210 ```
1211 Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi"
1212 Software\Policies\Mozilla\Firefox\Extensions\Install\2 = "//path/to/xpi"
1213 Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "bad_addon_id@mozilla.org"
1214 Software\Policies\Mozilla\Firefox\Extensions\Locked\1 = "addon_id@mozilla.org"
1215 ```
1216 #### macOS
1217 ```
1218 <dict>
1219 <key>Extensions</key>
1220 <dict>
1221 <key>Install</key>
1222 <array>
1223 <string>https://addons.mozilla.org/firefox/downloads/somefile.xpi</string>
1224 <string>//path/to/xpi</string>
1225 </array>
1226 <key>Uninstall</key>
1227 <array>
1228 <string>bad_addon_id@mozilla.org</string>
1229 </array>
1230 <key>Locked</key>
1231 <array>
1232 <string>addon_id@mozilla.org</string>
1233 </array>
1234 </dict>
1235 </dict>
1236 ```
1237 #### JSON
1238
1239
1240 ```
1241 {
1242 "policies": {
1243 "Extensions": {
1244 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
1245 "Uninstall": ["bad_addon_id@mozilla.org"],
1246 "Locked": ["addon_id@mozilla.org"]
1247 }
1248 }
1249 }
1250 ```
1251 ### ExtensionUpdate
1252 Control extension updates.
1253
1254 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1255 **CCK2 Equivalent:** N/A\
1256 **Preferences Affected:** `extensions.update.enabled`
1257
1258 #### Windows
1259 ```
1260 Software\Policies\Mozilla\Firefox\ExtensionUpdate = 0x1 | 0x0
1261 ```
1262 #### macOS
1263 ```
1264 <dict>
1265 <key>ExtensionUpdate</key>
1266 <true/> | <false/>
1267 </dict>
1268 ```
1269 #### JSON
1270 ```
1271 {
1272 "policies": {
1273 "ExtensionUpdate": true | false
1274 }
1275 }
1276 ```
1277 ### FlashPlugin
1278 Configure the default Flash plugin policy as well as origins for which Flash is allowed.
1279
1280 `Allow` is a list of origins where Flash are allowed.
1281
1282 `Block` is a list of origins where Flash is not allowed.
1283
1284 `Default` determines whether or not Flash is allowed by default.
1285
1286 `Locked` prevents the user from changing Flash preferences.
1287
1288 **Compatibility:** Firefox 60, Firefox ESR 60\
1289 **CCK2 Equivalent:** `permissions.plugin`\
1290 **Preferences Affected:** `plugin.state.flash`
1291
1292 #### Windows
1293 ```
1294 Software\Policies\Mozilla\Firefox\FlashPlugin\Allow\1 = "https://example.org"
1295 Software\Policies\Mozilla\Firefox\FlashPlugin\Block\1 = "https://example.edu"
1296 Software\Policies\Mozilla\Firefox\FlashPlugin\Default = 0x1 | 0x0
1297 Software\Policies\Mozilla\Firefox\FlashPlugin\Locked = 0x1 | 0x0
1298 ```
1299 #### macOS
1300 ```
1301 <dict>
1302 <key>FlashPlugin</key>
1303 <dict>
1304 <key>Allow</key>
1305 <array>
1306 <string>http://example.org</string>
1307 </array>
1308 <key>Block</key>
1309 <array>
1310 <string>http://example.edu</string>
1311 </array>
1312 <key>Default</key>
1313 <true/> | <false/>
1314 <key>Locked</key>
1315 <true/> | <false/>
1316 </dict>
1317 </dict>
1318 ```
1319 #### JSON
1320 ```
1321 {
1322 "policies": {
1323 "FlashPlugin": {
1324 "Allow": ["http://example.org/"],
1325 "Block": ["http://example.edu/"],
1326 "Default": true | false,
1327 "Locked": true | false
1328 }
1329 }
1330 }
1331 ```
1332 ### HardwareAcceleration
1333 Control hardware acceleration.
1334
1335 **Compatibility:** Firefox 60, Firefox ESR 60\
1336 **CCK2 Equivalent:** N/A\
1337 **Preferences Affected:** `layers.acceleration.disabled`
1338
1339 #### Windows
1340 ```
1341 Software\Policies\Mozilla\Firefox\HardwareAcceleration = 0x1 | 0x0
1342 ```
1343 #### macOS
1344 ```
1345 <dict>
1346 <key>HardwareAcceleration</key>
1347 <true/> | <false/>
1348 </dict>
1349 ```
1350 #### JSON
1351 ```
1352 {
1353 "policies": {
1354 "HardwareAcceleration": true | false
1355 }
1356 }
1357 ```
1358 ### Homepage
1359 Configure the default homepage and how Firefox starts.
1360
1361 `URL` is the default homepage.
1362
1363 `Locked` prevents the user from changing homepage preferences.
1364
1365 `Additional` allows for more than one homepage.
1366
1367 `StartPage` is how Firefox starts. The choices are no homepage, the default homepage or the previous session.
1368
1369 **Compatibility:** Firefox 60, Firefox ESR 60 (StartPage was added in Firefox 60, Firefox ESR 60.4)\
1370 **CCK2 Equivalent:** `homePage`,`lockHomePage`\
1371 **Preferences Affected:** `browser.startup.homepage`,`browser.startup.page`
1372
1373 #### Windows
1374 ```
1375 Software\Policies\Mozilla\Firefox\Homepage\URL = "https://example.com"
1376 Software\Policies\Mozilla\Firefox\Homepage\Locked = 0x1 | 0x0
1377 Software\Policies\Mozilla\Firefox\Homepage\Additional\1 = "https://example.org"
1378 Software\Policies\Mozilla\Firefox\Homepage\Additional\2 = "https://example.edu"
1379 Software\Policies\Mozilla\Firefox\Homepage\StartPage = "none" | "homepage" | "previous-session"
1380 ```
1381 #### macOS
1382 ```
1383 <dict>
1384 <key>Homepage</key>
1385 <dict>
1386 <key>URL</key>
1387 <string>http://example.com</string>
1388 <key>Locked</key>
1389 <true/> | <false/>
1390 <key>Additional</key>
1391 <array>
1392 <string>http://example.org</string>
1393 <string>http://example.edu</string>
1394 </array>
1395 <key>StartPage</key>
1396 <string>always | never | from-visited</string>
1397 </dict>
1398 </dict>
1399 ```
1400 #### JSON
1401 ```
1402 {
1403 "policies": {
1404 "Homepage": {
1405 "URL": "http://example.com/",
1406 "Locked": true | false,
1407 "Additional": ["http://example.org/",
1408 "http://example.edu/"],
1409 "StartPage": "none" | "homepage" | "previous-session"
1410 }
1411 }
1412 }
1413 ```
1414 ### InstallAddonsPermission
1415 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.
1416
1417 `Allow` is a list of origins where extension installs are allowed.
1418
1419 `Default` determines whether or not extension installs are allowed by default.
1420
1421 **Compatibility:** Firefox 60, Firefox ESR 60\
1422 **CCK2 Equivalent:** `permissions.install`\
1423 **Preferences Affected:** `xpinstall.enabled`
1424
1425 #### Windows
1426 ```
1427 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
1428 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
1429 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0
1430 ```
1431 #### macOS
1432 ```
1433 <dict>
1434 <key>InstallAddonsPermission</key>
1435 <dict>
1436 <key>Allow</key>
1437 <array>
1438 <string>http://example.org</string>
1439 <string>http://example.edu</string>
1440 </array>
1441 <key>Default</key>
1442 <true/> | <false/>
1443 </dict>
1444 </dict>
1445 ```
1446 #### JSON
1447 ```
1448 {
1449 "policies": {
1450 "InstallAddonsPermission": {
1451 "Allow": ["http://example.org/",
1452 "http://example.edu/"],
1453 "Default": true | false
1454 }
1455 }
1456 }
1457 ```
1458 ### NoDefaultBookmarks
1459 Disable the creation of default bookmarks.
1460
1461 This policy is only effective if the user profile has not been created yet.
1462
1463 **Compatibility:** Firefox 60, Firefox ESR 60\
1464 **CCK2 Equivalent:** `removeDefaultBookmarks`\
1465 **Preferences Affected:** N/A
1466
1467 #### Windows
1468 ```
1469 Software\Policies\Mozilla\Firefox\NoDefaultBookmarks = 0x1 | 0x0
1470 ```
1471 #### macOS
1472 ```
1473 <dict>
1474 <key>NoDefaultBookmarks</key>
1475 <true/> | <false/>
1476 </dict>
1477 ```
1478 #### JSON
1479 ```
1480 {
1481 "policies": {
1482 "NoDefaultBookmarks": true | false
1483 }
1484 }
1485 ```
1486 ### NetworkPrediction
1487 Enable or disable network prediction (DNS prefetching).
1488
1489 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1490 **CCK2 Equivalent:** N/A\
1491 **Preferences Affected:** `network.dns.disablePrefetch`,`network.dns.disablePrefetchFromHTTPS`
1492
1493 #### Windows
1494 ```
1495 Software\Policies\Mozilla\Firefox\NetworkPrediction = 0x1 | 0x0
1496 ```
1497 #### macOS
1498 ```
1499 <dict>
1500 <key>NetworkPrediction</key>
1501 <true/> | <false/>
1502 </dict>
1503 ```
1504 #### JSON
1505 ```
1506 {
1507 "policies": {
1508 "NetworkPrediction": true | false
1509 }
1510 ```
1511 ### NewTabPage
1512 Enable or disable the New Tab page.
1513
1514 **Compatibility:** Firefox 68, Firefox ESR 68\
1515 **CCK2 Equivalent:** N/A\
1516 **Preferences Affected:** `browser.newtabpage.enabled`
1517
1518 #### Windows
1519 ```
1520 Software\Policies\Mozilla\Firefox\NewTabPage = 0x1 | 0x0
1521 ```
1522 #### macOS
1523 ```
1524 <dict>
1525 <key>NewTabPage</key>
1526 <true/> | <false/>
1527 </dict>
1528 ```
1529 #### JSON
1530 ```
1531 {
1532 "policies": {
1533 "NewTabPage": true | false
1534 }
1535 ```
1536 ### OfferToSaveLogins
1537 Control whether or not Firefox offers to save passwords.
1538
1539 **Compatibility:** Firefox 60, Firefox ESR 60\
1540 **CCK2 Equivalent:** `dontRememberPasswords`\
1541 **Preferences Affected:** `signon.rememberSignons`
1542
1543 #### Windows
1544 ```
1545 Software\Policies\Mozilla\Firefox\OfferToSaveLogins = 0x1 | 0x0
1546 ```
1547 #### macOS
1548 ```
1549 <dict>
1550 <key>OfferToSaveLogins</key>
1551 <true/> | <false/>
1552 </dict>
1553 ```
1554 #### JSON
1555 ```
1556 {
1557 "policies": {
1558 "OfferToSaveLogins": true | false
1559 }
1560 }
1561 ```
1562 ### OverrideFirstRunPage
1563 Override the first run page. If the value is blank, no first run page is displayed.
1564
1565 **Compatibility:** Firefox 60, Firefox ESR 60\
1566 **CCK2 Equivalent:** `welcomePage`,`noWelcomePage`\
1567 **Preferences Affected:** `startup.homepage_welcome_url`
1568
1569 #### Windows
1570 ```
1571 Software\Policies\Mozilla\Firefox\OverrideFirstRunPage = "http://example.org"
1572 ```
1573 #### macOS
1574 ```
1575 <dict>
1576 <key>OverrideFirstRunPage</key>
1577 <string>http://example.org</string>
1578 </dict>
1579 ```
1580 #### JSON
1581 ```
1582 {
1583 "policies": {
1584 "OverrideFirstRunPage": ""http://example.org""
1585 }
1586 ```
1587 ### OverridePostUpdatePage
1588 Override the upgrade page. If the value is blank, no upgrade page is displayed.
1589
1590 **Compatibility:** Firefox 60, Firefox ESR 60\
1591 **CCK2 Equivalent:** `upgradePage`,`noUpgradePage`\
1592 **Preferences Affected:** `startup.homepage_override_url`
1593
1594 #### Windows
1595 ```
1596 Software\Policies\Mozilla\Firefox\OverridePostUpdatePage = "http://example.org"
1597 ```
1598 #### macOS
1599 ```
1600 <dict>
1601 <key>OverridePostUpdatePage</key>
1602 <string>http://example.org</string>
1603 </dict>
1604 ```
1605 #### JSON
1606 ```
1607 {
1608 "policies": {
1609 "OverridePostUpdatePage": ""http://example.org""
1610 }
1611 ```
1612 ### Permissions
1613 Set permissions associated with camera, microphone, location, and notifications
1614
1615 `Allow` is a list of origins where the feature is allowed.
1616
1617 `Block` is a list of origins where the feature is not allowed.
1618
1619 `BlockNewRequests` determines whether or not new requests can be made for the feature.
1620
1621 `Locked` prevents the user from changing preferences for the feature.
1622
1623 **Compatibility:** Firefox 62, Firefox ESR 60.2\
1624 **CCK2 Equivalent:** N/A\
1625 **Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`
1626
1627 #### Windows
1628 ```
1629 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\1 = "https://example.org"
1630 Software\Policies\Mozilla\Firefox\Permissions\Camera\Block\1 = "https://example.edu"
1631 Software\Policies\Mozilla\Firefox\Permissions\Camera\BlockNewRequests = 0x1 | 0x0
1632 Software\Policies\Mozilla\Firefox\Permissions\Camera\Locked = 0x1 | 0x0
1633 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Allow\1 = "https://example.org"
1634 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Block\1 = "https://example.edu"
1635 Software\Policies\Mozilla\Firefox\Permissions\Microphone\BlockNewRequests = 0x1 | 0x0
1636 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Locked = 0x1 | 0x0
1637 Software\Policies\Mozilla\Firefox\Permissions\Location\Allow\1 = "https://example.org"
1638 Software\Policies\Mozilla\Firefox\Permissions\Location\Block\1 = "https://example.edu"
1639 Software\Policies\Mozilla\Firefox\Permissions\Location\BlockNewRequests = 0x1 | 0x0
1640 Software\Policies\Mozilla\Firefox\Permissions\Location\Locked = 0x1 | 0x0
1641 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Allow\1 = "https://example.org"
1642 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Block\1 = "https://example.edu"
1643 Software\Policies\Mozilla\Firefox\Permissions\Notifications\BlockNewRequests = 0x1 | 0x0
1644 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
1645 ```
1646 #### macOS
1647 ```
1648 <dict>
1649 <key>Permissions</key>
1650 <dict>
1651 <key>Camera</key>
1652 <dict>
1653 <key>Allow</key>
1654 <array>
1655 <string>https://example.org</string>
1656 </array>
1657 <key>Block</key>
1658 <array>
1659 <string>https://example.edu</string>
1660 </array>
1661 <key>BlockNewRequests</key>
1662 <true/>
1663 <key>Locked</key>
1664 <true/>
1665 </dict>
1666 <key>Microphone</key>
1667 <dict>
1668 <key>Allow</key>
1669 <array>
1670 <string>https://example.org</string>
1671 </array>
1672 <key>Block</key>
1673 <array>
1674 <string>https://example.edu</string>
1675 </array>
1676 <key>BlockNewRequests</key>
1677 <true/>
1678 <key>Locked</key>
1679 <true/>
1680 </dict>
1681 <key>Location</key>
1682 <dict>
1683 <key>Allow</key>
1684 <array>
1685 <string>https://example.org</string>
1686 </array>
1687 <key>Block</key>
1688 <array>
1689 <string>https://example.edu</string>
1690 </array>
1691 <key>BlockNewRequests</key>
1692 <true/>
1693 <key>Locked</key>
1694 <true/>
1695 </dict>
1696 <key>Notifications</key>
1697 <dict>
1698 <key>Allow</key>
1699 <array>
1700 <string>https://example.org</string>
1701 </array>
1702 <key>Block</key>
1703 <array>
1704 <string>https://example.edu</string>
1705 </array>
1706 <key>BlockNewRequests</key>
1707 <true/>
1708 <key>Locked</key>
1709 <true/>
1710 </dict>
1711 </dict>
1712 </dict>
1713 ```
1714 #### JSON
1715 ```
1716 {
1717 "policies": {
1718 "Permissions": {
1719 "Camera": {
1720 "Allow": ["https://example.org"],
1721 "Block": ["https://example.edu"],
1722 "BlockNewRequests": true | false,
1723 "Locked": true | false
1724 },
1725 "Microphone": {
1726 "Allow": ["https://example.org"],
1727 "Block": ["https://example.edu"],
1728 "BlockNewRequests": true | false,
1729 "Locked": true | false
1730 },
1731 "Location": {
1732 "Allow": ["https://example.org"],
1733 "Block": ["https://example.edu"],
1734 "BlockNewRequests": true | false,
1735 "Locked": true | false
1736 },
1737 "Notifications": {
1738 "Allow": ["https://example.org"],
1739 "Block": ["https://example.edu"],
1740 "BlockNewRequests": true | false,
1741 "Locked": true | false
1742 }
1743 }
1744 }
1745 }
1746 ```
1747 ### PopupBlocking
1748 Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
1749
1750 `Allow` is a list of origins where popup-windows are allowed.
1751
1752 `Default` determines whether or not pop-up windows are allowed by default.
1753
1754 `Locked` prevents the user from changing pop-up preferences.
1755
1756 **Compatibility:** Firefox 60, Firefox ESR 60\
1757 **CCK2 Equivalent:** `permissions.popup`\
1758 **Preferences Affected:** `dom.disable_open_during_load`
1759
1760 #### Windows
1761 ```
1762 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\1 = "https://example.org"
1763 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\2 = "https://example.edu"
1764 Software\Policies\Mozilla\Firefox\PopupBlocking\Default = 0x1 | 0x0
1765 Software\Policies\Mozilla\Firefox\PopupBlocking\Locked = 0x1 | 0x0
1766 ```
1767 #### macOS
1768 ```
1769 <dict>
1770 <key>PopupBlocking</key>
1771 <dict>
1772 <key>Allow</key>
1773 <array>
1774 <string>http://example.org</string>
1775 <string>http://example.edu</string>
1776 </array>
1777 <key>Default</key>
1778 <true/> | <false/>
1779 <key>Locked</key>
1780 <true/> | <false/>
1781 </dict>
1782 </dict>
1783 ```
1784 #### JSON
1785 ```
1786 {
1787 "policies": {
1788 "PopupBlocking": {
1789 "Allow": ["http://example.org/",
1790 "http://example.edu/"],
1791 "Default": true | false,
1792 "Locked": true | false
1793 }
1794 }
1795 }
1796 ```
1797 ### Preferences
1798 Set and lock certain preferences.
1799
1800 **Compatibility:** See below\
1801 **CCK2 Equivalent:** `preferences`\
1802 **Preferences Affected:** See below
1803
1804 | Preference | Type | Compatibility
1805 | --- | --- | ---
1806 | app.update.auto | boolean | Firefox 68, Firefox 68 ESR
1807 | browser.cache.disk.enable | boolean | Firefox 68, Firefox 68 ESR
1808 | browser.cache.disk.parent_directory | string | Firefox 68, Firefox 68 ESR
1809 | browser.fixup.dns_first_for_single_words | boolean | Firefox 68, Firefox 68 ESR
1810 | browser.search.update | boolean | Firefox 68, Firefox 68 ESR
1811 | browser.tabs.warnOnClose | boolean | Firefox 68, Firefox 68 ESR
1812 | browser.urlbar.suggest.bookmark | boolean | Firefox 68, Firefox 68 ESR
1813 | browser.urlbar.suggest.history | boolean | Firefox 68, Firefox 68 ESR
1814 | browser.urlbar.suggest.openpage | boolean | Firefox 68, Firefox 68 ESR
1815 | datareporting.policy.dataSubmissionPolicyBypassNotification | boolean | Firefox 68, Firefox 68 ESR
1816 | dom.disable_window_flip | boolean | Firefox 68, Firefox 68 ESR
1817 | dom.disable_window_move_resize | boolean | Firefox 68, Firefox 68 ESR
1818 | dom.event.contextmenu.enabled | boolean | Firefox 68, Firefox 68 ESR
1819 | dom.keyboardevent.keypress.hack.dispatch_non_printable_keys.addl | string | Firefox 68, Firefox 68 ESR
1820 | dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode.addl | string | Firefox 68, Firefox 68 ESR
1821 | extensions.getAddons.showPane | boolean | Firefox 68, Firefox 68 ESR
1822 | media.gmp-gmpopenh264.enabled | boolean | Firefox 68, Firefox 68 ESR
1823 | media.gmp-widevinecdm.enabled | boolean | Firefox 68, Firefox 68 ESR
1824 | network.dns.disableIPv6 | boolean | Firefox 68, Firefox 68 ESR
1825 | network.IDN_show_punycode | boolean | Firefox 68, Firefox 68 ESR
1826 | places.history.enabled | boolean | Firefox 68, Firefox 68 ESR
1827 | security.default_personal_cert | string | Firefox 68, Firefox 68 ESR
1828 | security.ssl.errorReporting.enabled | boolean | Firefox 68, Firefox 68 ESR
1829 | ui.key.menuAccessKeyFocuses | boolean | Firefox 68, Firefox 68 ESR
1830 #### Windows
1831 ```
1832 Software\Policies\Mozilla\Firefox\Preferences\boolean_preference_name = 0x1 | 0x0
1833 Software\Policies\Mozilla\Firefox\Preferences\string_preference_name = "string_value"
1834 ```
1835 #### macOS
1836 ```
1837 <dict>
1838 <key>Preference</key>
1839 <dict>
1840 <key>boolean_preference_name</key>
1841 <true/> | <false/>
1842 <key>string_preference_name</key>
1843 <string>string_value</string>
1844 </dict>
1845 </dict>
1846 ```
1847 #### JSON
1848 ```
1849 {
1850 "policies": {
1851 "Preference": {
1852 "boolean_preference_name": true | false,
1853 "string_preference_name": "string_value"
1854 }
1855 }
1856 }
1857 ```
1858 ### Proxy
1859 Configure proxy settings. These settings correspond to the connection settings in Firefox preferences.
1860 To specify ports, append them to the hostnames with a colon (:).
1861
1862 `Mode` is the proxy method being used.
1863
1864 `Locked` is whether or not proxy settings can be changed.
1865
1866 `HTTPProxy` is the HTTP proxy server.
1867
1868 `UseHTTPProxyForAllProtocols` is whether or not the HTTP proxy should be used for all other proxies.
1869
1870 `SSLProxy` is the SSL proxy server.
1871
1872 `FTPProxy` is the FTP proxy server.
1873
1874 `SOCKSProxy` is the SOCKS proxy server
1875
1876 `SOCKSVersion` is the SOCKS version (4 or 5)
1877
1878 `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.
1879
1880 `AutoConfigURL` is a URL for proxy configuration (only used if Mode is autoConfig).
1881
1882 `AutoLogin` means do not prompt for authentication if password is saved.
1883
1884 `UseProxyForDNS` to use proxy DNS when using SOCKS v5.
1885
1886 **Compatibility:** Firefoox 60, Firefox ESR 60\
1887 **CCK2 Equivalent:** `networkProxy*`\
1888 **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`
1889
1890 #### Windows
1891 ```
1892 Software\Policies\Mozilla\Firefox\Proxy\Mode = "none", "system", "manual", "autoDetect", "autoConfig"
1893 Software\Policies\Mozilla\Firefox\Proxy\Locked = 0x1 | 0x0
1894 Software\Policies\Mozilla\Firefox\=Proxy\HTTPProxy = https://httpproxy.example.com
1895 Software\Policies\Mozilla\Firefox\Proxy\UseHTTPProxyForAllProtocols = 0x1 | 0x0
1896 Software\Policies\Mozilla\Firefox\Proxy\SSLProxy = https://sslproxy.example.com
1897 Software\Policies\Mozilla\Firefox\Proxy\FTPProxy = https://ftpproxy.example.com
1898 Software\Policies\Mozilla\Firefox\Proxy\SOCKSProxy = https://socksproxy.example.com
1899 Software\Policies\Mozilla\Firefox\Proxy\SOCKSVersion = 0x4 | 0x5
1900 Software\Policies\Mozilla\Firefox\Proxy\Passthrough = <local>
1901 Software\Policies\Mozilla\Firefox\Proxy\AutoConfigURL = URL_TO_AUTOCONFIG
1902 Software\Policies\Mozilla\Firefox\Proxy\AutoLogin = 0x1 | 0x0
1903 Software\Policies\Mozilla\Firefox\Proxy\UseProxyForDNS = 0x1 | 0x0
1904 ```
1905 #### macOS
1906 ```
1907 <dict>
1908 <key>Proxy</key>
1909 <dict>
1910 <key>Mode</key>
1911 <string>none | system | manual | autoDetect| autoConfig</string>
1912 <key>Locked</key>
1913 <true> | </false>
1914 <key>HTTPProxy</key>
1915 <string>https://httpproxy.example.com</string>
1916 <key>UseHTTPProxyForAllProtocols</key>
1917 <true> | </false>
1918 <key>SSLProxy</key>
1919 <string>https://sslproxy.example.com</string>
1920 <key>FTPProxy</key>
1921 <string>https://ftpproxy.example.com</string>
1922 <key>SOCKSProxy</key>
1923 <string>https://socksproxy.example.com</string>
1924 <key>SOCKSVersion</key>
1925 <string>4 | 5</string>
1926 <key>Passthrough</key>
1927 <string>&lt;local>&gt;</string>
1928 <key>AutoConfigURL</key>
1929 <string>URL_TO_AUTOCONFIG</string>
1930 <key>AutoLogin</key>
1931 <true> | </false>
1932 <key>UseProxyForDNS</key>
1933 <true> | </false>
1934 </dict>
1935 </dict>
1936 ```
1937 ### JSON
1938 ```
1939 {
1940 "policies": {
1941 "Proxy": {
1942 "Mode": "none", "system", "manual", "autoDetect", "autoConfig",
1943 "Locked": [true, false],
1944 "HTTPProxy": "hostname",
1945 "UseHTTPProxyForAllProtocols": [true, false],
1946 "SSLProxy": "hostname",
1947 "FTPProxy": "hostname",
1948 "SOCKSProxy": "hostname",
1949 "SOCKSVersion": 4 | 5
1950 "Passthrough": "<local>",
1951 "AutoConfigURL": "URL_TO_AUTOCONFIG",
1952 "AutoLogin": [true, false],
1953 "UseProxyForDNS": [true, false]
1954 }
1955 }
1956 }
1957 ```
1958 ### RequestedLocales
1959 Set the the list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.
1960
1961 **Compatibility:** Firefox 64, Firefox ESR 60.4\
1962 **CCK2 Equivalent:** N/A\
1963 **Preferences Affected:** N/A
1964 #### Windows
1965 ```
1966 Software\Policies\Mozilla\Firefox\RequestedLocales\1 = "de"
1967 Software\Policies\Mozilla\Firefox\RequestedLocales\2 = "en-US"
1968 ```
1969 #### macOS
1970 ```
1971 <dict>
1972 <key>RequestedLocales</key>
1973 <array>
1974 <string>de</string>
1975 <string>en-US</string>
1976 </array>
1977 </dict>
1978 ```
1979 #### JSON
1980 ```
1981 {
1982 "policies": {
1983 "RequestedLocales": ["de", "en-US"]
1984 }
1985 }
1986 ```
1987 ### SanitizeOnShutdown
1988 Clear all data on shutdown, including Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
1989
1990 **Compatibility:** Firefox 60, Firefox ESR 60\
1991 **CCK2 Equivalent:** N/A\
1992 **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`
1993 #### Windows
1994 ```
1995 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown = 0x1 | 0x0
1996 ```
1997 #### macOS
1998 ```
1999 <dict>
2000 <key>SanitizeOnShutdown</key>
2001 <true/> | <false/>
2002 </dict>
2003 ```
2004 #### JSON
2005 ```
2006 {
2007 "policies": {
2008 "SanitizeOnShutdown": true | false
2009 }
2010 }
2011 ```
2012 ### SearchBar
2013 Set whether or not search bar is displayed.
2014
2015 **Compatibility:** Firefox 60, Firefox ESR 60\
2016 **CCK2 Equivalent:** `showSearchBar`\
2017 **Preferences Affected:** N/A
2018
2019 #### Windows
2020 ```
2021 Software\Policies\Mozilla\Firefox\SearchBar = "unified" | "separate"
2022 ```
2023 #### macOS
2024 ```
2025 <dict>
2026 <key>SearchBar</key>
2027 <string>unified | separate</string>
2028 </dict>
2029 ```
2030
2031 #### JSON
2032 ```
2033 {
2034 "policies": {
2035 "SearchBar": "unified" | "separate"
2036 }
2037 }
2038 ```
2039
2040
2041
2042
2043
2044 ### SearchEngines (This policy is only available on the ESR.)
2045
2046 ### SearchEngines | Default
2047
2048 Set the default search engine. This policy is only available on the ESR.
2049
2050 **Compatibility:** Firefox ESR 60\
2051 **CCK2 Equivalent:** `defaultSearchEngine`\
2052 **Preferences Affected:** N/A
2053
2054 ### Windows
2055 ```
2056 Software\Policies\Mozilla\Firefox\SearchEngines\Default = NAME_OF_SEARCH_ENGINE
2057 ```
2058 #### macOS
2059 ```
2060 <dict>
2061 <key>SearchEngines</key>
2062 <dict>
2063 <key>Default</key>
2064 <string>NAME_OF_SEARCH_ENGINE</string>
2065 </dict>
2066 </dict>
2067 ```
2068 ### JSON
2069 ```
2070 {
2071 "policies": {
2072 "SearchEngines": {
2073 "Default": "NAME_OF_SEARCH_ENGINE"
2074 }
2075 }
2076 }
2077 ```
2078 ### SearchEngines | PreventInstalls
2079
2080 Prevent installing search engines from webpages.
2081
2082 **Compatibility:** Firefox ESR 60\
2083 **CCK2 Equivalent:** `disableSearchEngineInstall`\
2084 **Preferences Affected:** N/A
2085
2086 ### Windows
2087 ```
2088 Software\Policies\Mozilla\Firefox\SearchEngines\PreventInstalls = 0x1 | 0x0
2089 ```
2090 #### macOS
2091 ```
2092 <dict>
2093 <key>SearchEngines</key>
2094 <dict>
2095 <key>PreventInstalls</key>
2096 <true/> | <false/>
2097 </dict>
2098 </dict>
2099 ```
2100 ### JSON
2101 ```
2102 {
2103 "policies": {
2104 "SearchEngines": {
2105 "PreventInstalls": true | false
2106 }
2107 }
2108 }
2109 ```
2110 ### SearchEngines | Remove
2111
2112 Hide built-in search engines. This policy is only available on the ESR.
2113
2114 **Compatibility:** Firefox ESR 60.2\
2115 **CCK2 Equivalent:** `removeDefaultSearchEngines` (removed all built-in engines)\
2116 **Preferences Affected:** N/A
2117
2118 ### Windows
2119 ```
2120 Software\Policies\Mozilla\Firefox\SearchEngines\Remove\1 = NAME_OF_SEARCH_ENGINE
2121 ```
2122 #### macOS
2123 ```
2124 <dict>
2125 <key>SearchEngines</key>
2126 <dict>
2127 <key>Remove</key>
2128 <array>
2129 <string>NAME_OF_SEARCH_ENGINE</string>
2130 </array>
2131 </dict>
2132 </dict>
2133 ```
2134 ### JSON
2135 ```
2136 {
2137 "policies": {
2138 "SearchEngines": {
2139 "Remove": ["NAME_OF_SEARCH_ENGINE"]
2140 }
2141 }
2142 }
2143 ```
2144 ### SearchEngines | Add
2145
2146 Adddd new search engines (up to five). This policy is only available on the ESR. `Name` and `URLTemplate` are required.
2147
2148 `Name` is the name of the search engine.
2149
2150 `URLTemplate` is the search URL with {searchTerms} to substitute for the search term.
2151
2152 `Method` is either GET or POST
2153
2154 `IconURL` is a URL for the icon to use.
2155
2156 `Alias` is a keyword to use for the engine.
2157
2158 `Description` is a description of the search engine.
2159
2160 `SuggestURLTemplate` is a search suggestions URL with {searchTerms} to substitute for the search term.
2161
2162 **Compatibility:** Firefox ESR 60\
2163 **CCK2 Equivalent:** `searchplugins`\
2164 **Preferences Affected:** N/A
2165
2166 #### Windows
2167 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Name = "Example1"
2168 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\URLTemplate = "https://www.example.org/q={searchTerms}"
2169 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Method = "GET" | "POST"
2170 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\IconURL = "https://www.example.org/favicon.ico"
2171 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Alias = "example"
2172 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Description = "Example Description"
2173 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\SuggestURLTemplate = "https://www.example.org/suggestions/q={searchTerms}"
2174
2175 #### macOS
2176 ```
2177 <dict>
2178 <key>SearchEngines</key>
2179 <dict>
2180 <key>Add</key>
2181 <array>
2182 <dict>
2183 <key>Name</key>
2184 <string>Example1</string>
2185 <key>URLTemplate</key>
2186 <string>https://www.example.org/q={searchTerms}</string>
2187 <key>Method</key>
2188 <string>GET | POST </string>
2189 <key>IconURL</key>
2190 <string>https://www.example.org/favicon.ico</string>
2191 <key>Alias</key>
2192 <string>example</string>
2193 <key>Description</key>
2194 <string>Example Description</string>
2195 <key>SuggestURLTemplate</key>
2196 <string>https://www.example.org/suggestions/q={searchTerms}</string>
2197 </dict>
2198 <array>
2199 </dict>
2200 </dict>
2201 ```
2202 ### JSON
2203 ```
2204 {
2205 "policies": {
2206 "SearchEngines": {
2207 "Add": [
2208 {
2209 "Name": "Example1",
2210 "URLTemplate": "https://www.example.org/q={searchTerms}",
2211 "Method": "GET" | "POST",
2212 "IconURL": "https://www.example.org/favicon.ico",
2213 "Alias": "example",
2214 "Description": "Description",
2215 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
2216 }
2217 ]
2218 }
2219 }
2220 }
2221 ```
2222 ### SearchSuggestEnabled
2223
2224 Enable search suggestions.
2225
2226 **Compatibility:** Firefox 68, Firefox ESR 68\
2227 **CCK2 Equivalent:** N/A\
2228 **Preferences Affected:** `browser.urlbar.suggest.searches`,`browser.search.suggest.enabled`
2229
2230 ### Windows
2231 ```
2232 Software\Policies\Mozilla\Firefox\SearchSuggestEnabled = 0x1 | 0x0
2233 ```
2234 #### macOS
2235 ```
2236 <dict>
2237 <key>SearchSuggestEnabled</key>
2238 <true/> | <false/>
2239 </dict>
2240 ```
2241 ### JSON
2242 ```
2243 {
2244 "policies": {
2245 "SearchSuggestEnabled": true | false
2246 }
2247 }
2248 ```
2249 ### SecurityDevices
2250
2251 Install PKCS #11 modules.
2252
2253 **Compatibility:** Firefox 64, Firefox ESR 60.4\
2254 **CCK2 Equivalent:** `certs.devices`\
2255 **Preferences Affected:** N/A
2256
2257 #### Windows
2258 ```
2259 Software\Policies\Mozilla\Firefox\SecurityDevices\NAME_OF_DEVICE = PATH_TO_LIBRARY_FOR_DEVICE
2260 ```
2261 #### macOS
2262 ```
2263 <dict>
2264 <key>SecurityDevices</key>
2265 <dict>
2266 <key>NAME_OF_DEVICE</key>
2267 <string>PATH_TO_LIBRARY_FOR_DEVICE</string>
2268 </dict>
2269 </dict>
2270 ```
2271
2272 #### JSON
2273 ```
2274 {
2275 "policies": {
2276 "SecurityDevices": {
2277 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
2278 }
2279 }
2280 }
2281 ```
2282 ### SSLVersionMax
2283
2284 Set and lock the maximum version of TLS.
2285
2286 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2287 **CCK2 Equivalent:** N/A\
2288 **Preferences Affected:** `security.tls.version.max`
2289
2290 #### Windows
2291 ```
2292 Software\Policies\Mozilla\Firefox\SSLVersionMax = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2293 ```
2294 #### macOS
2295 ```
2296 <dict>
2297 <key>SSLVersionMax</key>
2298 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2299 </dict>
2300 ```
2301
2302 #### JSON
2303 ```
2304 {
2305 "policies": {
2306 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2307 }
2308 }
2309 ```
2310 ### SSLVersionMin
2311
2312 Set and lock the minimum version of TLS.
2313
2314 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2315 **CCK2 Equivalent:** N/A\
2316 **Preferences Affected:** `security.tls.version.min`
2317
2318 #### Windows
2319 ```
2320 Software\Policies\Mozilla\Firefox\SSLVersionMin = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2321 ```
2322 #### macOS
2323 ```
2324 <dict>
2325 <key>SSLVersionMin</key>
2326 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2327 </dict>
2328 ```
2329
2330 #### JSON
2331 ```
2332 {
2333 "policies": {
2334 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2335 }
2336 }
2337 ```
2338 ### WebsiteFilter
2339 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.
2340
2341 **Compatibility:** Firefox 60, Firefox ESR 60\
2342 **CCK2 Equivalent:** N/A\
2343 **Preferences Affected:** N/A
2344
2345 #### Windows
2346 ```
2347 Software\Policies\Mozilla\Firefox\WebsiteFilters\Block\1 = "<all_urls>"
2348 Software\Policies\Mozilla\Firefox\WebsiteFilters\Exceptions\1 = "http://example.org/*"
2349 ```
2350 #### macOS
2351 ```
2352 <dict>
2353 <key>WebsiteFilter</key>
2354 <dict>
2355 <key>Block</key>
2356 <array>
2357 <string><all_urls></string>
2358 </array>
2359 <key>Exceptions</key>
2360 <array>
2361 <string>http://example.org/*</string>
2362 </array>
2363 </dict>
2364
2365 </dict>
2366 ```
2367 ### JSON
2368 ```
2369 {
2370 "policies": {
2371 "WebsiteFilter": {
2372 "Block": ["<all_urls>"],
2373 "Exceptions": ["http://example.org/*"]
2374 }
2375 }
2376 }
2377 ```

patrick-canterino.de