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

patrick-canterino.de