]> git.p6c8.net - policy-templates.git/blob - README.md
Merge branch 'master' into ManagedBookmarks
[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), [Intune on Windows](https://support.mozilla.org/kb/managing-firefox-intune), [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 or you can specify system-wide policy by placing the file in `/etc/firefox/policies`.
6
7 | Policy Name | Description
8 | --- | --- |
9 | **[`AppAutoUpdate`](#appautoupdate)** | Enable or disable automatic application update.
10 | **[`AppUpdateURL`](#appupdateurl)** | Change the URL for application update.
11 | **[`Authentication`](#authentication)** | Configure sites that support integrated authentication.
12 | **[`BlockAboutAddons`](#blockaboutaddons)** | Block access to the Add-ons Manager (about:addons).
13 | **[`BlockAboutConfig`](#blockaboutconfig)** | Block access to about:config.
14 | **[`BlockAboutProfiles`](#blockaboutprofiles)** | Block access to About Profiles (about:profiles).
15 | **[`BlockAboutSupport`](#blockaboutsupport)** | Block access to Troubleshooting Information (about:support).
16 | **[`Bookmarks`](#bookmarks)** | Add bookmarks in either the bookmarks toolbar or menu.
17 | **[`CaptivePortal`](#captiveportal)** | Enable or disable the detection of captive portals.
18 | **[`Certificates`](#certificates)** |
19 | **[`Certificates -> ImportEnterpriseRoots`](#certificates--importenterpriseroots)** | Trust certificates that have been added to the operating system certificate store by a user or administrator.
20 | **[`Certificates -> Install`](#certificates--install)** | Install certificates into the Firefox certificate store.
21 | **[`Cookies`](#cookies)** | Configure cookie preferences.
22 | **[`DisableAppUpdate`](#disableappupdate)** | Turn off application updates.
23 | **[`DisableBuiltinPDFViewer`](#disablebuiltinpdfviewer)** | Disable the built in PDF viewer.
24 | **[`DisabledCiphers`](#disabledciphers)** | Disable ciphers.
25 | **[`DisableDefaultBrowserAgent`](#disabledefaultbrowseragent)** | Prevent the default browser agent from taking any actions (Windows only).
26 | **[`DisableDeveloperTools`](#disabledevelopertools)** | Remove access to all developer tools.
27 | **[`DisableFeedbackCommands`](#disablefeedbackcommands)** | Disable the menus for reporting sites.
28 | **[`DisableFirefoxScreenshots`](#disablefirefoxscreenshots)** | Remove access to Firefox Screenshots.
29 | **[`DisableFirefoxAccounts`](#disablefirefoxaccounts)** | Disable Firefox Accounts integration (Sync).
30 | **[`DisableFirefoxStudies`](#disablefirefoxstudies)** | Disable Firefox studies (Shield).
31 | **[`DisableForgetButton`](#disableforgetbutton)** | Disable the "Forget" button.
32 | **[`DisableFormHistory`](#disableformhistory)** | Turn off saving information on web forms and the search bar.
33 | **[`DisableMasterPasswordCreation`](#disablemasterpasswordcreation)** | Remove the master password functionality.
34 | **[`DisablePasswordReveal`](#disablepasswordreveal)** | Do not allow passwords to be revealed in saved logins.
35 | **[`DisablePocket`](#disablepocket)** | Remove Pocket in the Firefox UI.
36 | **[`DisablePrivateBrowsing`](#disableprivatebrowsing)** | Remove access to private browsing.
37 | **[`DisableProfileImport`](#disableprofileimport)** | Disables the "Import data from another browser" option in the bookmarks window.
38 | **[`DisableProfileRefresh`](#disableprofilerefresh)** | Disable the Refresh Firefox button on about:support and support.mozilla.org
39 | **[`DisableSafeMode`](#disablesafemode)** | Disable safe mode within the browser.
40 | **[`DisableSecurityBypass`](#disablesecuritybypass)** | Prevent the user from bypassing security in certain cases.
41 | **[`DisableSetDesktopBackground`](#disablesetdesktopbackground)** | Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
42 | **[`DisableSystemAddonUpdate`](#disablesystemaddonupdate)** | Prevent system add-ons from being installed or update.
43 | **[`DisableTelemetry`](#disabletelemetry)** | DisableTelemetry
44 | **[`DisplayBookmarksToolbar`](#displaybookmarkstoolbar)** | Set the initial state of the bookmarks toolbar.
45 | **[`DisplayMenuBar (Deprecated)`](#displaymenubar-deprecated)** | Set the initial state of the menubar.
46 | **[`DisplayMenuBar`](#displaymenubar)** | Set the state of the menubar.
47 | **[`DNSOverHTTPS`](#dnsoverhttps)** | Configure DNS over HTTPS.
48 | **[`DontCheckDefaultBrowser`](#dontcheckdefaultbrowser)** | Don't check if Firefox is the default browser at startup.
49 | **[`DefaultDownloadDirectory`](#defaultdownloaddirectory)** | Set the default download directory.
50 | **[`DownloadDirectory`](#downloaddirectory)** | Set and lock the download directory.
51 | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection.
52 | **[`EncryptedMediaExtensions`](#encryptedmediaextensions)** | Enable or disable Encrypted Media Extensions and optionally lock it.
53 | **[`EnterprisePoliciesEnabled`](#enterprisepoliciesenabled)** | Enable policy support on macOS.
54 | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions.
55 | **[`ExtensionSettings`](#extensionsettings)** | Manage all aspects of extensions.
56 | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates.
57 | **[`FlashPlugin`](#flashplugin)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed.
58 | **[`FirefoxHome`](#firefoxhome)** | Customize the Firefox Home page.
59 | **[`HardwareAcceleration`](#hardwareacceleration)** | Control hardware acceleration.
60 | **[`Handlers`](#handlers)** | Configure default application handlers.
61 | **[`Homepage`](#homepage)** | Configure the default homepage and how Firefox starts.
62 | **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed.
63 | **[`LegacyProfiles`](#legacyprofiles)** | Disable the feature enforcing a separate profile for each installation.
64 | **[`LocalFileLinks`](#localfilelinks)** | Enable linking to local files by origin.
65 | **[`PrimaryPassword`](#primarypassword)** | Require or prevent using a primary (formerly master) password.
66 | **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching).
67 | **[`NewTabPage`](#newtabpage)** | Enable or disable the New Tab page.
68 | **[`NoDefaultBookmarks`](#nodefaultbookmarks)** | Disable the creation of default bookmarks.
69 | **[`OfferToSaveLogins`](#offertosavelogins)** | Control whether or not Firefox offers to save passwords.
70 | **[`OfferToSaveLoginsDefault`](#offertosaveloginsdefault)** | Set the default value for whether or not Firefox offers to save passwords.
71 | **[`OverrideFirstRunPage`](#overridefirstrunpage)** | Override the first run page.
72 | **[`OverridePostUpdatePage`](#overridepostupdatepage)** | Override the upgrade page.
73 | **[`PasswordManagerEnabled`](#passwordmanagerenabled)** | Remove (some) access to the password manager.
74 | **[`PDFjs`](#pdfjs)** | Disable or configure PDF.js, the built-in PDF viewer.
75 | **[`Permissions`](#permissions)** | Set permissions associated with camera, microphone, location, and notifications.
76 | **[`PictureInPicture`](#pictureinpicture)** | Enable or disable Picture-in-Picture.
77 | **[`PopupBlocking`](#popupblocking)** | Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
78 | **[`Preferences`](#preferences)** | Set and lock preferences.
79 | **[`Preferences (Deprecated)`](#preferences-deprecated)** | Set and lock some preferences.
80 | **[`PromptForDownloadLocation`](#promptfordownloadlocation)** | Ask where to save each file before downloading.
81 | **[`Proxy`](#proxy)** | Configure proxy settings.
82 | **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference.
83 | **[`SanitizeOnShutdown` (All)](#sanitizeonshutdown-all)** | Clear all data on shutdown.
84 | **[`SanitizeOnShutdown` (Selective)](#sanitizeonshutdown-selective)** | Clear data on shutdown.
85 | **[`SearchBar`](#searchbar)** | Set whether or not search bar is displayed.
86 | **[`SearchEngines`](#searchengines-this-policy-is-only-available-on-the-esr)** |
87 | **[`SearchEngines -> Default`](#searchengines--default)** | Set the default search engine.
88 | **[`SearchEngines -> PreventInstalls`](#searchengines--preventinstalls)** | Prevent installing search engines from webpages.
89 | **[`SearchEngines -> Remove`](#searchengines--remove)** | Hide built-in search engines.
90 | **[`SearchEngines -> Add`](#searchengines--add)** | Add new search engines.
91 | **[`SearchSuggestEnabled`](#searchsuggestenabled)** | Enable search suggestions.
92 | **[`SecurityDevices`](#securitydevices)** | Install PKCS #11 modules.
93 | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
94 | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
95 | **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information.
96 | **[`UserMessaging`](#usermessaging)** | Don't show certain messages to the user.
97 | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited.
98
99 ### AppAutoUpdate
100
101 Enable or disable **automatic** application update.
102
103 If set to true, application updates are installed without user approval.
104
105 If set to false, application updates are downloaded but the user can choose when to install the update.
106
107 If you have disabled updates via DisableAppUpdate, this policy has no effect.
108
109 **Compatibility:** Firefox 75, Firefox ESR 68.7\
110 **CCK2 Equivalent:** N/A\
111 **Preferences Affected:** app.update.auto
112
113 #### Windows (GPO)
114 ```
115 Software\Policies\Mozilla\Firefox\AppAutoUpdate = 0x1 | 0x0
116 ```
117 #### Windows (Intune)
118 OMA-URI:
119 ```
120 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/AppAutoUpdate
121 ```
122 Value (string):
123 ```
124 <enabled/> or <disabled/>
125 ```
126 #### macOS
127 ```
128 <dict>
129 <key>AppAutoUpdate</key>
130 <true/> | <false/>
131 </dict>
132 ```
133 #### policies.json
134 ```
135 {
136 "policies": {
137 "AppAutoUpdate": true | false
138 }
139 }
140 ```
141 ### AppUpdateURL
142
143 Change the URL for application update.
144
145 **Compatibility:** Firefox 62, Firefox ESR 60.2\
146 **CCK2 Equivalent:** N/A\
147 **Preferences Affected:** `app.update.url`
148
149 #### Windows (GPO)
150 ```
151 Software\Policies\Mozilla\Firefox\AppUpdateURL = "https://yoursite.com"
152 ```
153 #### Windows (Intune)
154 OMA-URI:
155 ```
156 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/AppUpdateURL
157 ```
158 Value (string):
159 ```
160 <enabled/>
161 <data id="AppUpdateURL" value="https://yoursite.com"/>
162 ```
163 #### macOS
164 ```
165 <dict>
166 <key>AppUpdateURL</key>
167 <string>https://yoursite.com</string>
168 </dict>
169 ```
170 #### policies.json
171 ```
172 {
173 "policies": {
174 "AppUpdateURL": "https://yoursite.com"
175 }
176 }
177 ```
178 ### Authentication
179
180 Configure sites that support integrated authentication.
181
182 See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication for more information.
183
184 `PrivateBrowsing` enables integrated authentication in private browsing.
185
186 **Compatibility:** Firefox 60, Firefox ESR 60 (AllowNonFQDN added in 62/60.2, AllowProxies added in 70/68.2, Locked added in 71/68.3, PrivateBrowsing added in 77/68.9)\
187 **CCK2 Equivalent:** N/A\
188 **Preferences Affected:** `network.negotiate-auth.trusted-uris`,`network.negotiate-auth.delegation-uris`,`network.automatic-ntlm-auth.trusted-uris`,`network.automatic-ntlm-auth.allow-non-fqdn`,`network.negotiate-auth.allow-non-fqdn`,`network.automatic-ntlm-auth.allow-proxies`,`network.negotiate-auth.allow-proxies`,`network.auth.private-browsing-sso`
189
190 #### Windows (GPO)
191 ```
192 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\1 = "mydomain.com"
193 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\2 = "https://myotherdomain.com"
194 Software\Policies\Mozilla\Firefox\Authentication\Delegated\1 = "mydomain.com"
195 Software\Policies\Mozilla\Firefox\Authentication\Delegated\2 = "https://myotherdomain.com"
196 Software\Policies\Mozilla\Firefox\Authentication\NTLM\1 = "mydomain.com"
197 Software\Policies\Mozilla\Firefox\Authentication\NTLM\2 = "https://myotherdomain.com"
198 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\SPNEGO = 0x1 | 0x0
199 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0
200 Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\SPNEGO = 0x1 | 0x0
201 Software\Policies\Mozilla\Firefox\Authentication\AllowProxies\NTLM = 0x1 | 0x0
202 Software\Policies\Mozilla\Firefox\Authentication\Locked = 0x1 | 0x0
203 Software\Policies\Mozilla\Firefox\Authentication\PrivateBrowsing = 0x1 | 0x0
204 ```
205 #### Windows (Intune)
206 OMA-URI:
207 ```
208 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_SPNEGO
209 ```
210 Value (string):
211 ```
212 <enabled/>
213 <data id="Authentication" value="1&#xF000;mydomain&#xF000;2&#xF000;https://myotherdomain.com"/>
214 ```
215 OMA-URI:
216 ```
217 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_Delegated
218 ```
219 Value (string):
220 ```
221 <enabled/>
222 <data id="Authentication" value="1&#xF000;mydomain&#xF000;2&#xF000;https://myotherdomain.com"/>
223 ```
224 OMA-URI:
225 ```
226 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_NTLM
227 ```
228 Value (string):
229 ```
230 <enabled/>
231 <data id="Authentication" value="1&#xF000;mydomain&#xF000;2&#xF000;https://myotherdomain.com"/>
232 ```
233 OMA-URI:
234 ```
235 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_AllowNonFQDN
236 ```
237 Value (string):
238 ```
239 <enabled/>
240 <data id="Authentication_AllowNonFQDN_NTLM" value="true | false"/>
241 <data id="Authentication_AllowNonFQDN_SPNEGO" value="true | false"/>
242 ```
243 OMA-URI:
244 ```
245 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_Locked
246 ```
247 Value (string):
248 ```
249 <enabled/> or <disabled/>
250 ```
251 OMA-URI:
252 ```
253 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Authentication/Authentication_PrivateBrowsing
254 ```
255 Value (string):
256 ```
257 <enabled/> or <disabled/>
258 ```
259 #### macOS
260 ```
261 <dict>
262 <key>Authentication</key>
263 <dict>
264 <key>SPNEGO</key>
265 <array>
266 <string>mydomain.com</string>
267 <string>https://myotherdomain.com</string>
268 </array>
269 <key>Delegated</key>
270 <array>
271 <string>mydomain.com</string>
272 <string>https://myotherdomain.com</string>
273 </array>
274 <key>NTLM</key>
275 <array>
276 <string>mydomain.com</string>
277 <string>https://myotherdomain.com</string>
278 </array>
279 <key>AllowNonFQDN</key>
280 <dict>
281 <key>SPNEGO</key>
282 <true/> | <false/>
283 <key>NTLM</key>
284 <true/> | <false/>
285 </dict>
286 <key>AllowProxies</key>
287 <dict>
288 <key>SPNEGO</key>
289 <true/> | <false/>
290 <key>NTLM</key>
291 <true/> | <false/>
292 </dict>
293 <key>Locked</key>
294 <true/> | <false/>
295 <key>PrivateBrowsing</key>
296 <true/> | <false/>
297 </dict>
298 </dict>
299 ```
300 #### policies.json
301 ```
302 {
303 "policies": {
304 "Authentication": {
305 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
306 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
307 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
308 "AllowNonFQDN": {
309 "SPNEGO": true | false,
310 "NTLM": true | false
311 },
312 "AllowProxies": {
313 "SPNEGO": true | false,
314 "NTLM": true | false
315 },
316 "Locked": true | false,
317 "PrivateBrowsing": true | false
318 }
319 }
320 }
321 ```
322 ### BlockAboutAddons
323
324 Block access to the Add-ons Manager (about:addons).
325
326 **Compatibility:** Firefox 60, Firefox ESR 60\
327 **CCK2 Equivalent:** `disableAddonsManager`\
328 **Preferences Affected:** N/A
329
330 #### Windows (GPO)
331 ```
332 Software\Policies\Mozilla\Firefox\BlockAboutAddons = 0x1 | 0x0
333 ```
334 #### Windows (Intune)
335 OMA-URI:
336 ```
337 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/BlockAboutAddons
338 ```
339 Value (string):
340 ```
341 <enabled/> or <disabled/>
342 ```
343 #### macOS
344 ```
345 <dict>
346 <key>BlockAboutAddons</key>
347 <true/> | <false/>
348 </dict>
349 ```
350 #### policies.json
351 ```
352 {
353 "policies": {
354 "BlockAboutAddons": true | false
355 }
356 }
357 ```
358 ### BlockAboutConfig
359
360 Block access to about:config.
361
362 **Compatibility:** Firefox 60, Firefox ESR 60\
363 **CCK2 Equivalent:** `disableAboutConfig`\
364 **Preferences Affected:** N/A
365
366 #### Windows (GPO)
367 ```
368 Software\Policies\Mozilla\Firefox\BlockAboutConfig = 0x1 | 0x0
369 ```
370 #### Windows (Intune)
371 OMA-URI:
372 ```
373 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/BlockAboutConfig
374 ```
375 Value (string):
376 ```
377 <enabled/> or <disabled/>
378 ```
379 #### macOS
380 ```
381 <dict>
382 <key>BlockAboutConfig</key>
383 <true/> | <false/>
384 </dict>
385 ```
386 #### policies.json
387 ```
388 {
389 "policies": {
390 "BlockAboutConfig": true | false
391 }
392 }
393 ```
394 ### BlockAboutProfiles
395
396 Block access to About Profiles (about:profiles).
397
398 **Compatibility:** Firefox 60, Firefox ESR 60\
399 **CCK2 Equivalent:** `disableAboutProfiles`\
400 **Preferences Affected:** N/A
401
402 #### Windows (GPO)
403 ```
404 Software\Policies\Mozilla\Firefox\BlockAboutProfiles = 0x1 | 0x0
405 ```
406 #### Windows (Intune)
407 OMA-URI:
408 ```
409 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/BlockAboutProfiles
410 ```
411 Value (string):
412 ```
413 <enabled/> or <disabled/>
414 ```
415 #### macOS
416 ```
417 <dict>
418 <key>BlockAboutProfiles</key>
419 <true/> | <false/>
420 </dict>
421 ```
422 #### policies.json
423 ```
424 {
425 "policies": {
426 "BlockAboutProfiles": true | false
427 }
428 }
429 ```
430 ### BlockAboutSupport
431
432 Block access to Troubleshooting Information (about:support).
433
434 **Compatibility:** Firefox 60, Firefox ESR 60\
435 **CCK2 Equivalent:** `disableAboutSupport`\
436 **Preferences Affected:** N/A
437
438 #### Windows (GPO)
439 ```
440 Software\Policies\Mozilla\Firefox\BlockAboutSupport = 0x1 | 0x0
441 ```
442 #### Windows (Intune)
443 OMA-URI:
444 ```
445 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/BlockAboutSupport
446 ```
447 Value (string):
448 ```
449 <enabled/> or <disabled/>
450 ```
451 #### macOS
452 ```
453 <dict>
454 <key>BlockAboutSupport</key>
455 <true/> | <false/>
456 </dict>
457 ```
458 #### policies.json
459 ```
460 {
461 "policies": {
462 "BlockAboutSupport": true | false
463 }
464 }
465 ```
466 ### Bookmarks
467
468 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.
469
470 **Compatibility:** Firefox 60, Firefox ESR 60\
471 **CCK2 Equivalent:** `bookmarks.toolbar`,`bookmarks.menu`\
472 **Preferences Affected:** N/A
473
474 #### Windows (GPO)
475 ```
476 Software\Policies\Mozilla\Firefox\Bookmarks\1\Title = "Example"
477 Software\Policies\Mozilla\Firefox\Bookmarks\1\URL = "https://example.com"
478 Software\Policies\Mozilla\Firefox\Bookmarks\1\Favicon = "https://example.com/favicon.ico"
479 Software\Policies\Mozilla\Firefox\Bookmarks\1\Placement = "toolbar" | "menu"
480 Software\Policies\Mozilla\Firefox\Bookmarks\1\Folder = "FolderName"
481 ```
482 #### Windows (Intune)
483 OMA-URI:
484 ```
485 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Bookmarks/Bookmark01
486 ```
487 Value (string):
488 ```
489 <enabled/>
490 <data id="BookmarkTitle" value="Example"/>
491 <data id="BookmarkURL" value="https://example.com"/>
492 <data id="BookmarkFavicon" value="https://example.com/favicon.ico"/>
493 <data id="BookmarkPlacement" value="toolbar | menu"/>
494 <data id="BookmarkFolder" value="FolderName"/>
495 ```
496 #### macOS
497 ```
498 <dict>
499 <key>Bookmarks</key>
500 <array>
501 <dict>
502 <key>Title</key>
503 <string>Example</string>
504 <key>URL</key>
505 <string>https://example.com</string>
506 <key>Favicon</key>
507 <string>https://example.com/favicon.ico</string>
508 <key>Placement</key>
509 <string>toolbar | menu</string>
510 <key>Folder</key>
511 <string>FolderName</string>
512 </dict>
513 </array>
514 </dict>
515 ```
516 #### policies.json
517 ```
518 {
519 "policies": {
520 "Bookmarks": [
521 {
522 "Title": "Example",
523 "URL": "https://example.com",
524 "Favicon": "https://example.com/favicon.ico",
525 "Placement": "toolbar" | "menu",
526 "Folder": "FolderName"
527 }
528 ]
529 }
530 }
531 ```
532 ### CaptivePortal
533 Enable or disable the detection of captive portals.
534
535 **Compatibility:** Firefox 67, Firefox ESR 60.7\
536 **CCK2 Equivalent:** N/A\
537 **Preferences Affected:** `network.captive-portal-service.enabled`
538
539 #### Windows (GPO)
540 ```
541 Software\Policies\Mozilla\Firefox\CaptivePortal = 0x1 | 0x0
542 ```
543 #### Windows (Intune)
544 OMA-URI:
545 ```
546 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/CaptivePortal
547 ```
548 Value (string):
549 ```
550 <enabled/> or <disabled/>
551 ```
552 #### macOS
553 ```
554 <dict>
555 <key>CaptivePortal</key>
556 <true/> | <false/>
557 </dict>
558 ```
559 #### policies.json
560 ```
561 {
562 "policies": {
563 "CaptivePortal": true | false
564 }
565 }
566 ```
567 ### Certificates
568
569 ### Certificates | ImportEnterpriseRoots
570
571 Trust certificates that have been added to the operating system certificate store by a user or administrator.
572
573 Note: This policy only works on Windows and macOS. For Linux discussion, see [bug 1600509](https://bugzilla.mozilla.org/show_bug.cgi?id=1600509).
574
575 See https://support.mozilla.org/kb/setting-certificate-authorities-firefox for more detail.
576
577 **Compatibility:** Firefox 60, Firefox ESR 60 (macOS support in Firefox 63, Firefox ESR 68)\
578 **CCK2 Equivalent:** N/A\
579 **Preferences Affected:** `security.enterprise_roots.enabled`
580
581 #### Windows (GPO)
582 ```
583 Software\Policies\Mozilla\Firefox\Certificates\ImportEnterpriseRoots = 0x1 | 0x0
584 ```
585 #### Windows (Intune)
586 OMA-URI:
587 ```
588 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Certificates/Certificates_ImportEnterpriseRoots
589 ```
590 Value (string):
591 ```
592 <enabled/> or <disabled/>
593 ```
594 #### macOS
595 ```
596 <dict>
597 <key>Certificates</key>
598 <dict>
599 <key>ImportEnterpriseRoots</key>
600 <true/> | <false/>
601 </dict>
602 </dict>
603 ```
604 #### policies.json
605 ```
606 {
607 "policies": {
608 "Certificates": {
609 "ImportEnterpriseRoots": true | false
610 }
611 }
612 }
613 ```
614 ### Certificates | Install
615
616 Install certificates into the Firefox certificate store. If only a filename is specified, Firefox searches for the file in the following locations:
617
618 - Windows
619 - %USERPROFILE%\AppData\Local\Mozilla\Certificates
620 - %USERPROFILE%\AppData\Roaming\Mozilla\Certificates
621 - macOS
622 - /Library/Application Support/Mozilla/Certificates
623 - ~/Library/Application Support/Mozilla/Certificates
624 - Linux
625 - /usr/lib/mozilla/certificates
626 - /usr/lib64/mozilla/certificates
627 - ~/.mozilla/certificates
628
629 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.
630
631 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.
632
633 Certificates are installed using the trust string `CT,CT,`.
634
635 Binary (DER) and ASCII (PEM) certificates are both supported.
636
637 **Compatibility:** Firefox 64, Firefox ESR 64\
638 **CCK2 Equivalent:** `certs.ca`\
639 **Preferences Affected:** N/A
640
641 #### Windows (GPO)
642 ```
643 Software\Policies\Mozilla\Firefox\Certificates\Install\1 = "cert1.der"
644 Software\Policies\Mozilla\Firefox\Certificates\Install\2 = "C:\Users\username\cert2.pem"
645 ```
646 #### Windows (Intune)
647 OMA-URI:
648 ```
649 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Certificates/Certificates_Install
650 ```
651 Value (string):
652 ```
653 <enabled/>
654 <data id="Certificates_Install" value="1&#xF000;cert1.der&#xF000;2&#xF000;C:\Users\username\cert2.pem"/>
655 ```
656 #### macOS
657 ```
658 <dict>
659 <key>Certificates</key>
660 <dict>
661 <key>Install</key>
662 <array>
663 <string>cert1.der</string>
664 <string>/Users/username/cert2.pem</string>
665 </array>
666 </dict>
667 </dict>
668 ```
669 #### policies.json
670 ```
671 {
672 "policies": {
673 "Certificates": {
674 "Install": ["cert1.der", "/home/username/cert2.pem"]
675 }
676 }
677 }
678 ```
679 ### Cookies
680 Configure cookie preferences.
681
682 `Allow` is a list of origins (not domains) where cookies are always allowed. You must include http or https.
683
684 `AllowSession` is a list of origins (not domains) where cookies are only allowed for the current session. You must include http or https.
685
686 `Block` is a list of origins (not domains) where cookies are always blocked. You must include http or https.
687
688 `Default` determines whether cookies are accepted at all.
689
690 `AcceptThirdParty` determines how third-party cookies are handled.
691
692 `ExpireAtSessionEnd` determines when cookies expire.
693
694 `RejectTracker` only rejects cookies for trackers.
695
696 `Locked` prevents the user from changing cookie preferences.
697
698 **Compatibility:** Firefox 60, Firefox ESR 60 (RejectTracker added in Firefox 63, AllowSession added in Firefox 79/78.1)\
699 **CCK2 Equivalent:** N/A\
700 **Preferences Affected:** `network.cookie.cookieBehavior`,`network.cookie.lifetimePolicy`
701
702 #### Windows (GPO)
703 ```
704 Software\Policies\Mozilla\Firefox\Cookies\Allow\1 = "https://example.com"
705 Software\Policies\Mozilla\Firefox\Cookies\AllowSession\1 = "https://example.edu"
706 Software\Policies\Mozilla\Firefox\Cookies\Block\1 = "https://example.org"
707 Software\Policies\Mozilla\Firefox\Cookies\Default = 0x1 | 0x0
708 Software\Policies\Mozilla\Firefox\Cookies\AcceptThirdParty = "always" | "never" | "from-visited"
709 Software\Policies\Mozilla\Firefox\Cookies\ExpireAtSessionEnd = 0x1 | 0x0
710 Software\Policies\Mozilla\Firefox\Cookies\RejectTracker = 0x1 | 0x0
711 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
712 ```
713 #### Windows (Intune)
714 OMA-URI:
715 ```
716 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_Allow
717 ```
718 Value (string):
719 ```
720 <enabled/>
721 <data id="Cookies_Allow" value="1&#xF000;https://example.com"/>
722 ```
723 OMA-URI:
724 ```
725 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_AllowSession
726 ```
727 Value (string):
728 ```
729 <enabled/>
730 <data id="Cookies_Allow" value="1&#xF000;https://example.edu"/>
731 ```
732 OMA-URI:
733 ```
734 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_Block
735 ```
736 Value (string):
737 ```
738 <enabled/>
739 <data id="Cookies_Block" value="1&#xF000;https://example.org"/>
740 ```
741 OMA-URI:
742 ```
743 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_Default
744 ```
745 Value (string):
746 ```
747 <enabled/> or <disabled/>
748 ```
749 OMA-URI:
750 ```
751 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_AcceptThirdParty
752 ```
753 Value (string):
754 ```
755 <enabled/>
756 <data id="Cookies_AcceptThirdParty" value="always | never | from-visited"/>
757 ```
758 OMA-URI:
759 ```
760 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_ExpireAtSessionEnd
761 ```
762 Value (string):
763 ```
764 <enabled/> or <disabled/>
765 ```
766 OMA-URI:
767 ```
768 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_RejectTracker
769 ```
770 Value (string):
771 ```
772 <enabled/> or <disabled/>
773 ```
774 OMA-URI:
775 ```
776 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Cookies/Cookies_Locked
777 ```
778 Value (string):
779 ```
780 <enabled/> or <disabled/>
781 ```
782 #### macOS
783 ```
784 <dict>
785 <key>Cookies</key>
786 <dict>
787 <key>Allow</key>
788 <array>
789 <string>http://example.com</string>
790 </array>
791 <key>AllowSession</key>
792 <array>
793 <string>http://example.edu</string>
794 </array>
795 <key>Block</key>
796 <array>
797 <string>http://example.org</string>
798 </array>
799 <key>Default</key>
800 <true/> | <false/>
801 <key>AcceptThirdParty</key>
802 <string>always | never | from-visited</string>
803 <key>ExpireAtSessionEnd</key>
804 <true/> | <false/>
805 <key>RejectTracker</key>
806 <true/> | <false/>
807 <key>Locked</key>
808 <true/> | <false/>
809 </dict>
810 </dict>
811 ```
812 #### policies.json
813 ```
814 {
815 "policies": {
816 "Cookies": {
817 "Allow": ["http://example.org/"],
818 "AllowSession": ["http://example.edu/"],
819 "Block": ["http://example.edu/"],
820 "Default": true | false,
821 "AcceptThirdParty": "always" | "never" | "from-visited",
822 "ExpireAtSessionEnd": true | false,
823 "RejectTracker": true | false,
824 "Locked": true | false
825 }
826 }
827 }
828 ```
829 ### DisableSetDesktopBackground
830 Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
831
832 **Compatibility:** Firefox 60, Firefox ESR 60\
833 **CCK2 Equivalent:** `removeSetDesktopBackground`\
834 **Preferences Affected:** N/A
835
836 #### Windows (GPO)
837 ```
838 Software\Policies\Mozilla\Firefox\DisableSetDesktopBackground = 0x1 | 0x0
839 ```
840 #### Windows (Intune)
841 OMA-URI:
842 ```
843 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableSetDesktopBackground
844 ```
845 Value (string):
846 ```
847 <enabled/> or <disabled/>
848 ```
849 #### macOS
850 ```
851 <dict>
852 <key>DisableSetDesktopBackground</key>
853 <true/> | <false/>
854 </dict>
855 ```
856 #### policies.json
857 ```
858 {
859 "policies": {
860 "DisableSetDesktopBackground": true | false
861 }
862 }
863 ```
864 ### DisableMasterPasswordCreation
865 Remove the master password functionality.
866
867 If this value is true, it works the same as setting [`PrimaryPassword`](#primarypassword) to false and removes the primary password functionality.
868
869 If both DisableMasterPasswordCreation and PrimaryPassword are used, DisableMasterPasswordCreation takes precedent.
870
871 **Compatibility:** Firefox 60, Firefox ESR 60\
872 **CCK2 Equivalent:** `noMasterPassword`\
873 **Preferences Affected:** N/A
874
875 #### Windows (GPO)
876 ```
877 Software\Policies\Mozilla\Firefox\DisableMasterPasswordCreation = 0x1 | 0x0
878 ```
879 #### Windows (Intune)
880 OMA-URI:
881 ```
882 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableMasterPasswordCreation
883 ```
884 Value (string):
885 ```
886 <enabled/> or <disabled/>
887 ```
888 #### macOS
889 ```
890 <dict>
891 <key>DisableMasterPasswordCreation</key>
892 <true/> | <false/>
893 </dict>
894 ```
895 #### policies.json
896 ```
897 {
898 "policies": {
899 "DisableMasterPasswordCreation": true | false
900 }
901 }
902 ```
903 ### DisableAppUpdate
904 Turn off application updates.
905
906 **Compatibility:** Firefox 60, Firefox ESR 60\
907 **CCK2 Equivalent:** `disableFirefoxUpdates`\
908 **Preferences Affected:** N/A
909
910 #### Windows (GPO)
911 ```
912 Software\Policies\Mozilla\Firefox\DisableAppUpdate = 0x1 | 0x0
913 ```
914 #### Windows (Intune)
915 OMA-URI:
916 ```
917 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableAppUpdate
918 ```
919 Value (string):
920 ```
921 <enabled/> or <disabled/>
922 ```
923 #### macOS
924 ```
925 <dict>
926 <key>DisableAppUpdate</key>
927 <true/> | <false/>
928 </dict>
929 ```
930 #### policies.json
931 ```
932 {
933 "policies": {
934 "DisableAppUpdate": true | false
935 }
936 }
937 ```
938 ### DisableBuiltinPDFViewer
939 Disable the built in PDF viewer. PDF files are downloaded and sent externally.
940
941 **Compatibility:** Firefox 60, Firefox ESR 60\
942 **CCK2 Equivalent:** `disablePDFjs`\
943 **Preferences Affected:** `pdfjs.disabled`
944
945 #### Windows (GPO)
946 ```
947 Software\Policies\Mozilla\Firefox\DisableBuiltinPDFViewer = 0x1 | 0x0
948 ```
949 #### Windows (Intune)
950 OMA-URI:
951 ```
952 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableBuiltinPDFViewer
953 ```
954 Value (string):
955 ```
956 <enabled/> or <disabled/>
957 ```
958 #### macOS
959 ```
960 <dict>
961 <key>DisableBuiltinPDFViewer</key>
962 <true/> | <false/>
963 </dict>
964 ```
965 #### policies.json
966 ```
967 {
968 "policies": {
969 "DisableBuiltinPDFViewer": true | false
970 }
971 }
972 ```
973 ### DisabledCiphers
974 Disable specific cryptographic ciphers.
975
976 ---
977 **Note:**
978
979 This policy was updated in Firefox 78 to allow enabling ciphers as well. Setting the value to true disables the cipher, setting the value to false enables the cipher. Previously setting the value to true or false disabled the cipher.
980
981 ---
982 **Compatibility:** Firefox 76, Firefox ESR 68.8 (TLS_RSA_WITH_AES_128_GCM_SHA256 and TLS_RSA_WITH_AES_256_GCM_SHA384 were added in Firefox 78)\
983 **CCK2 Equivalent:** N/A\
984 **Preferences Affected:** N/A
985
986 #### Windows (GPO)
987 ```
988 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x1 | 0x0
989 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x1 | 0x0
990 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 0x1 | 0x0
991 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 0x1 | 0x0
992 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 0x1 | 0x0
993 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 0x1 | 0x0
994 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_RSA_WITH_AES_128_CBC_SHA = 0x1 | 0x0
995 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_RSA_WITH_AES_256_CBC_SHA = 0x1 | 0x0
996 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_RSA_WITH_3DES_EDE_CBC_SHA = 0x1 | 0x0
997 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_RSA_WITH_AES_128_GCM_SHA256 = 0x1 | 0x0
998 Software\Policies\Mozilla\Firefox\DisabledCiphers\TLS_RSA_WITH_AES_256_GCM_SHA384 = 0x1 | 0x0
999 ```
1000 #### Windows (Intune)
1001 OMA-URI:
1002 ```
1003 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_DHE_RSA_WITH_AES_128_CBC_SHA
1004 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_DHE_RSA_WITH_AES_256_CBC_SHA
1005 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
1006 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
1007 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
1008 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
1009 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_RSA_WITH_AES_128_CBC_SHA
1010 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_RSA_WITH_AES_256_CBC_SHA
1011 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_RSA_WITH_3DES_EDE_CBC_SHA
1012 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_RSA_WITH_AES_128_GCM_SHA256
1013 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DisabledCiphers/DisabledCiphers_TLS_RSA_WITH_AES_256_GCM_SHA384
1014 ```
1015 Value (string):
1016 ```
1017 <enabled/> or <disabled/>
1018 ```
1019 #### macOS
1020 ```
1021 <dict>
1022 <key>DisabledCiphers</key>
1023 <dict>
1024 <key>TLS_DHE_RSA_WITH_AES_128_CBC_SHA</key>
1025 <true/> | <false/>
1026 <key>TLS_DHE_RSA_WITH_AES_256_CBC_SHA</key>
1027 <true/> | <false/>
1028 <key>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA</key>
1029 <true/> | <false/>
1030 <key>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA</key>
1031 <true/> | <false/>
1032 <key>TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256</key>
1033 <true/> | <false/>
1034 <key>TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256</key>
1035 <true/> | <false/>
1036 <key>TLS_RSA_WITH_AES_128_CBC_SHA</key>
1037 <true/> | <false/>
1038 <key>TLS_RSA_WITH_AES_256_CBC_SHA</key>
1039 <true/> | <false/>
1040 <key>TLS_RSA_WITH_3DES_EDE_CBC_SHA</key>
1041 <true/> | <false/>
1042 <key>TLS_RSA_WITH_AES_128_GCM_SHA256</key>
1043 <true/> | <false/>
1044 <key>TLS_RSA_WITH_AES_256_GCM_SHA384</key>
1045 <true/> | <false/>
1046 </dict>
1047 </dict>
1048 ```
1049 #### policies.json
1050 ```
1051 {
1052 "policies": {
1053 "DisabledCiphers" {
1054 "TLS_DHE_RSA_WITH_AES_128_CBC_SHA": true | false,
1055 "TLS_DHE_RSA_WITH_AES_256_CBC_SHA": true | false,
1056 "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": true | false,
1057 "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": true | false,
1058 "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": true | false,
1059 "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": true | false,
1060 "TLS_RSA_WITH_AES_128_CBC_SHA": true | false,
1061 "TLS_RSA_WITH_AES_256_CBC_SHA": true | false,
1062 "TLS_RSA_WITH_3DES_EDE_CBC_SHA": true | false
1063 "TLS_RSA_WITH_AES_128_GCM_SHA256": true | false
1064 "TLS_RSA_WITH_AES_256_GCM_SHA384": true | false
1065 }
1066 }
1067 }
1068 ```
1069 ### DisableDefaultBrowserAgent
1070 Prevent the default browser agent from taking any actions. Only applicable to Windows; other platforms don’t have the agent.
1071
1072 **Compatibility:** Firefox 75, Firefox ESR 68.7 (Windows only)\
1073 **CCK2 Equivalent:** N/A\
1074 **Preferences Affected:** N/A
1075
1076 #### Windows (GPO)
1077 ```
1078 Software\Policies\Mozilla\Firefox\DisableDefaultBrowserAgent = 0x1 | 0x0
1079 ```
1080 #### Windows (Intune)
1081 OMA-URI:
1082 ```
1083 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableDefaultBrowserAgent
1084 ```
1085 Value (string):
1086 ```
1087 <enabled/> or <disabled/>
1088 ```
1089 #### policies.json
1090 ```
1091 {
1092 "policies": {
1093 "DisableDefaultBrowserAgent": true | false
1094 }
1095 }
1096 ```
1097 ### DisableDeveloperTools
1098 Remove access to all developer tools.
1099
1100 **Compatibility:** Firefox 60, Firefox ESR 60\
1101 **CCK2 Equivalent:** `removeDeveloperTools`\
1102 **Preferences Affected:** `devtools.policy.disabled`
1103
1104 #### Windows (GPO)
1105 ```
1106 Software\Policies\Mozilla\Firefox\DisableDeveloperTools = 0x1 | 0x0`
1107 ```
1108 #### Windows (Intune)
1109 OMA-URI:
1110 ```
1111 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableDeveloperTools
1112 ```
1113 Value (string):
1114 ```
1115 <enabled/> or <disabled/>
1116 ```
1117 #### macOS
1118 ```
1119 <dict>
1120 <key>DisableDeveloperTools</key>
1121 <true/> | <false/>
1122 </dict>
1123 ```
1124 #### policies.json
1125 ```
1126 {
1127 "policies": {
1128 "DisableDeveloperTools": true | false
1129 }
1130 }
1131 ```
1132 ### DisableFeedbackCommands
1133 Disable the menus for reporting sites (Submit Feedback, Report Deceptive Site).
1134
1135 **Compatibility:** Firefox 60, Firefox ESR 60\
1136 **CCK2 Equivalent:** N/A\
1137 **Preferences Affected:** N/A
1138
1139 #### Windows (GPO)
1140 ```
1141 Software\Policies\Mozilla\Firefox\DisableFeedbackCommands = 0x1 | 0x0
1142 ```
1143 #### Windows (Intune)
1144 OMA-URI:
1145 ```
1146 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableFeedbackCommands
1147 ```
1148 Value (string):
1149 ```
1150 <enabled/> or <disabled/>
1151 ```
1152 #### macOS
1153 ```
1154 <dict>
1155 <key>DisableFeedbackCommands</key>
1156 <true/> | <false/>
1157 </dict>
1158 ```
1159 #### policies.json
1160 ```
1161 {
1162 "policies": {
1163 "DisableFeedbackCommands": true | false
1164 }
1165 }
1166 ```
1167 ### DisableFirefoxScreenshots
1168 Remove access to Firefox Screenshots.
1169
1170 **Compatibility:** Firefox 60, Firefox ESR 60\
1171 **CCK2 Equivalent:** N/A\
1172 **Preferences Affected:** `extensions.screenshots.disabled`
1173
1174 #### Windows (GPO)
1175 ```
1176 Software\Policies\Mozilla\Firefox\DisableFirefoxScreenshots = 0x1 | 0x0
1177 ```
1178 #### Windows (Intune)
1179 OMA-URI:
1180 ```
1181 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableFirefoxScreenshots
1182 ```
1183 Value (string):
1184 ```
1185 <enabled/> or <disabled/>
1186 ```
1187 #### macOS
1188 ```
1189 <dict>
1190 <key>DisableFirefoxScreenshots</key>
1191 <true/> | <false/>
1192 </dict>
1193 ```
1194 #### policies.json
1195 ```
1196 {
1197 "policies": {
1198 "DisableFirefoxScreenshots": true | false
1199 }
1200 }
1201 ```
1202 ### DisableFirefoxAccounts
1203 Disable Firefox Accounts integration (Sync).
1204
1205 **Compatibility:** Firefox 60, Firefox ESR 60\
1206 **CCK2 Equivalent:** `disableSync`\
1207 **Preferences Affected:** `identity.fxaccounts.enabled`
1208
1209 #### Windows (GPO)
1210 ```
1211 Software\Policies\Mozilla\Firefox\DisableFirefoxAccounts = 0x1 | 0x0
1212 ```
1213 #### Windows (Intune)
1214 OMA-URI:
1215 ```
1216 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableFirefoxAccounts
1217 ```
1218 Value (string):
1219 ```
1220 <enabled/> or <disabled/>
1221 ```
1222 #### macOS
1223 ```
1224 <dict>
1225 <key>DisableFirefoxAccounts</key>
1226 <true/> | <false/>
1227 </dict>
1228 ```
1229 #### policies.json
1230 ```
1231 {
1232 "policies": {
1233 "DisableFirefoxAccounts": true | false
1234 }
1235 }
1236 ```
1237 ### DisableFirefoxStudies
1238 Disable Firefox studies (Shield).
1239
1240 **Compatibility:** Firefox 60, Firefox ESR 60\
1241 **CCK2 Equivalent:** N/A\
1242 **Preferences Affected:** N/A
1243
1244 #### Windows (GPO)
1245 ```
1246 Software\Policies\Mozilla\Firefox\DisableFirefoxStudies = 0x1 | 0x0
1247 ```
1248 #### Windows (Intune)
1249 OMA-URI:
1250 ```
1251 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableFirefoxStudies
1252 ```
1253 Value (string):
1254 ```
1255 <enabled/> or <disabled/>
1256 ```
1257 #### macOS
1258 ```
1259 <dict>
1260 <key>DisableFirefoxStudies</key>
1261 <true/> | <false/>
1262 </dict>
1263 ```
1264 #### policies.json
1265 ```
1266 {
1267 "policies": {
1268 "DisableFirefoxStudies": true | false
1269 }
1270 }
1271 ```
1272 ### DisableForgetButton
1273 Disable the "Forget" button.
1274
1275 **Compatibility:** Firefox 60, Firefox ESR 60\
1276 **CCK2 Equivalent:** `disableForget`\
1277 **Preferences Affected:** N/A
1278
1279 #### Windows (GPO)
1280 ```
1281 Software\Policies\Mozilla\Firefox\DisableForgetButton = 0x1 | 0x0
1282 ```
1283 #### Windows (Intune)
1284 OMA-URI:
1285 ```
1286 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableForgetButton
1287 ```
1288 Value (string):
1289 ```
1290 <enabled/> or <disabled/>
1291 ```
1292 #### macOS
1293 ```
1294 <dict>
1295 <key>DisableForgetButton</key>
1296 <true/> | <false/>
1297 </dict>
1298 ```
1299 #### policies.json
1300 ```
1301 {
1302 "policies": {
1303 "DisableForgetButton": true | false
1304 }
1305 }
1306 ```
1307 ### DisableFormHistory
1308 Turn off saving information on web forms and the search bar.
1309
1310 **Compatibility:** Firefox 60, Firefox ESR 60\
1311 **CCK2 Equivalent:** `disableFormFill`\
1312 **Preferences Affected:** ` browser.formfill.enable`
1313
1314 #### Windows (GPO)
1315 ```
1316 Software\Policies\Mozilla\Firefox\DisableFormHistory = 0x1 | 0x0
1317 ```
1318 #### Windows (Intune)
1319 OMA-URI:
1320 ```
1321 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableFormHistory
1322 ```
1323 Value (string):
1324 ```
1325 <enabled/> or <disabled/>
1326 ```
1327 #### macOS
1328 ```
1329 <dict>
1330 <key>DisableFormHistory</key>
1331 <true/> | <false/>
1332 </dict>
1333 ```
1334 #### policies.json
1335 ```
1336 {
1337 "policies": {
1338 "DisableFormHistory": true | false
1339 }
1340 }
1341 ```
1342 ### DisablePasswordReveal
1343 Do not allow passwords to be shown in saved logins
1344
1345 **Compatibility:** Firefox 71, Firefox ESR 68.3\
1346 **CCK2 Equivalent:** N/A
1347 **Preferences Affected:** N/A
1348
1349 #### Windows (GPO)
1350 ```
1351 Software\Policies\Mozilla\Firefox\DisablePasswordReveal = 0x1 | 0x0
1352 ```
1353 #### Windows (Intune)
1354 OMA-URI:
1355 ```
1356 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisablePasswordReveal
1357 ```
1358 Value (string):
1359 ```
1360 <enabled/> or <disabled/>
1361 ```
1362 #### macOS
1363 ```
1364 <dict>
1365 <key>DisablePasswordReveal</key>
1366 <true/> | <false/>
1367 </dict>
1368 ```
1369 #### policies.json
1370 ```
1371 {
1372 "policies": {
1373 "DisablePasswordReveal": true | false
1374 }
1375 }
1376 ```
1377 ### DisablePocket
1378 Remove Pocket in the Firefox UI. It does not remove it from the new tab page.
1379
1380 **Compatibility:** Firefox 60, Firefox ESR 60\
1381 **CCK2 Equivalent:** `disablePocket`\
1382 **Preferences Affected:** `extensions.pocket.enabled`
1383
1384 #### Windows (GPO)
1385 ```
1386 Software\Policies\Mozilla\Firefox\DisablePocket = 0x1 | 0x0
1387 ```
1388 #### Windows (Intune)
1389 OMA-URI:
1390 ```
1391 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisablePocket
1392 ```
1393 Value (string):
1394 ```
1395 <enabled/> or <disabled/>
1396 ```
1397 #### macOS
1398 ```
1399 <dict>
1400 <key>DisablePocket</key>
1401 <true/> | <false/>
1402 </dict>
1403 ```
1404 #### policies.json
1405 ```
1406 {
1407 "policies": {
1408 "DisablePocket": true | false
1409 }
1410 }
1411 ```
1412 ### DisablePrivateBrowsing
1413 Remove access to private browsing.
1414
1415 **Compatibility:** Firefox 60, Firefox ESR 60\
1416 **CCK2 Equivalent:** `disablePrivateBrowsing`\
1417 **Preferences Affected:** N/A
1418
1419 #### Windows (GPO)
1420 ```
1421 Software\Policies\Mozilla\Firefox\DisablePrivateBrowsing = 0x1 | 0x0
1422 ```
1423 #### Windows (Intune)
1424 OMA-URI:
1425 ```
1426 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisablePrivateBrowsing
1427 ```
1428 Value (string):
1429 ```
1430 <enabled/> or <disabled/>
1431 ```
1432 #### macOS
1433 ```
1434 <dict>
1435 <key>DisablePrivateBrowsing</key>
1436 <true/> | <false/>
1437 </dict>
1438 ```
1439 #### policies.json
1440 ```
1441 {
1442 "policies": {
1443 "DisablePrivateBrowsing": true | false
1444 }
1445 }
1446 ```
1447 ### DisableProfileImport
1448 Disables the "Import data from another browser" option in the bookmarks window.
1449
1450 **Compatibility:** Firefox 60, Firefox ESR 60\
1451 **CCK2 Equivalent:** N/A\
1452 **Preferences Affected:** N/A
1453
1454 #### Windows (GPO)
1455 ```
1456 Software\Policies\Mozilla\Firefox\DisableProfileImport = 0x1 | 0x0
1457 ```
1458 #### Windows (Intune)
1459 OMA-URI:
1460 ```
1461 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableProfileImport
1462 ```
1463 Value (string):
1464 ```
1465 <enabled/> or <disabled/>
1466 ```
1467 #### macOS
1468 ```
1469 <dict>
1470 <key>DisableProfileImport</key>
1471 <true/> | <false/>
1472 </dict>
1473 ```
1474 #### policies.json
1475 ```
1476 {
1477 "policies": {
1478 "DisableProfileImport": true | false
1479 }
1480 }
1481 ```
1482 ### DisableProfileRefresh
1483 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.
1484
1485 **Compatibility:** Firefox 60, Firefox ESR 60\
1486 **CCK2 Equivalent:** `disableResetFirefox`\
1487 **Preferences Affected:** `browser.disableResetPrompt`
1488
1489 #### Windows (GPO)
1490 ```
1491 Software\Policies\Mozilla\Firefox\DisableProfileRefresh = 0x1 | 0x0
1492 ```
1493 #### Windows (Intune)
1494 OMA-URI:
1495 ```
1496 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableProfileRefresh
1497 ```
1498 Value (string):
1499 ```
1500 <enabled/> or <disabled/>
1501 ```
1502 #### macOS
1503 ```
1504 <dict>
1505 <key>DisableProfileRefresh</key>
1506 <true/> | <false/>
1507 </dict>
1508 ```
1509 #### policies.json
1510 ```
1511 {
1512 "policies": {
1513 "DisableProfileRefresh": true | false
1514 }
1515 }
1516 ```
1517 ### DisableSafeMode
1518 Disable safe mode within the browser.
1519
1520 On Windows, this disables safe mode via the command line as well.
1521
1522 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, macOS)\
1523 **CCK2 Equivalent:** `disableSafeMode`\
1524 **Preferences Affected:** N/A
1525
1526 #### Windows (GPO)
1527 ```
1528 Software\Policies\Mozilla\Firefox\DisableSafeMode = 0x1 | 0x0
1529 ```
1530 #### Windows (Intune)
1531 OMA-URI:
1532 ```
1533 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableSafeMode
1534 ```
1535 Value (string):
1536 ```
1537 <enabled/> or <disabled/>
1538 ```
1539 #### macOS
1540 ```
1541 <dict>
1542 <key>DisableSafeMode</key>
1543 <true/> | <false/>
1544 </dict>
1545 ```
1546 #### policies.json
1547 ```
1548 {
1549 "policies": {
1550 "DisableSafeMode": true | false
1551 }
1552 }
1553 ```
1554 ### DisableSecurityBypass
1555 Prevent the user from bypassing security in certain cases.
1556
1557 `InvalidCertificate` prevents adding an exception when an invalid certificate is shown.
1558
1559 `SafeBrowsing` prevents selecting "ignore the risk" and visiting a harmful site anyway.
1560
1561 **Compatibility:** Firefox 60, Firefox ESR 60\
1562 **CCK2 Equivalent:** N/A\
1563 **Preferences Affected:** `security.certerror.hideAddException`,`browser.safebrowsing.allowOverride`
1564
1565 #### Windows (GPO)
1566 ```
1567 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\InvalidCertificate = 0x1 | 0x0
1568 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\SafeBrowsing = 0x1 | 0x0
1569 ```
1570 #### Windows (Intune)
1571 OMA-URI:
1572 ```
1573 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/P_DisableSecurityBypass_InvalidCertificate
1574 ```
1575 Value (string):
1576 ```
1577 <enabled/> or <disabled/>
1578 ```
1579 OMA-URI:
1580 ```
1581 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/P_DisableSecurityBypass_SafeBrowsing
1582 ```
1583 Value (string):
1584 ```
1585 <enabled/> or <disabled/>
1586 ```
1587
1588 #### macOS
1589 ```
1590 <dict>
1591 <key>DisableSecurityBypass</key>
1592 <dict>
1593 <key>InvalidCertificate</key>
1594 <true/> | <false/>
1595 <key>SafeBrowsing</key>
1596 <true/> | <false/>
1597 </dict>
1598 </dict>
1599 ```
1600 #### policies.json
1601 ```
1602 {
1603 "policies": {
1604 "DisableSecurityBypass": {
1605 "InvalidCertificate": true | false,
1606 "SafeBrowsing": true | false
1607 }
1608 }
1609 }
1610 ```
1611 ### DisableSystemAddonUpdate
1612 Prevent system add-ons from being installed or update.
1613
1614 **Compatibility:** Firefox 60, Firefox ESR 60\
1615 **CCK2 Equivalent:** N/A\
1616 **Preferences Affected:** N/A
1617
1618 #### Windows (GPO)
1619 ```
1620 Software\Policies\Mozilla\Firefox\DisableSystemAddonUpdate = 0x1 | 0x0
1621 ```
1622 #### Windows (Intune)
1623 OMA-URI:
1624 ```
1625 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableSystemAddonUpdate
1626 ```
1627 Value (string):
1628 ```
1629 <enabled/> or <disabled/>
1630 ```
1631 #### macOS
1632 ```
1633 <dict>
1634 <key>DisableSystemAddonUpdate</key>
1635 <true/> | <false/>
1636 </dict>
1637 ```
1638 #### policies.json
1639 ```
1640 {
1641 "policies": {
1642 "DisableSystemAddonUpdate": true | false
1643 }
1644 }
1645 ```
1646 ### DisableTelemetry
1647 Prevent the upload of telemetry data.
1648
1649 As of Firefox 83 and Firefox ESR 78.5, local storage of telemetry data is disabled as well.
1650
1651 Mozilla recommends that you do not disable telemetry. Information collected through telemetry helps us build a better product for businesses like yours.
1652
1653 **Compatibility:** Firefox 60, Firefox ESR 60\
1654 **CCK2 Equivalent:** `disableTelemetry`\
1655 **Preferences Affected:** `datareporting.healthreport.uploadEnabled,datareporting.policy.dataSubmissionEnabled,toolkit.telemetry.archive.enabled`
1656
1657 #### Windows (GPO)
1658 ```
1659 Software\Policies\Mozilla\Firefox\DisableTelemetry = 0x1 | 0x0
1660 ```
1661 #### Windows (Intune)
1662 OMA-URI:
1663 ```
1664 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisableTelemetry
1665 ```
1666 Value (string):
1667 ```
1668 <enabled/> or <disabled/>
1669 ```
1670 #### macOS
1671 ```
1672 <dict>
1673 <key>DisableTelemetry</key>
1674 <true/> | <false/>
1675 </dict>
1676 ```
1677 #### policies.json
1678 ```
1679 {
1680 "policies": {
1681 "DisableTelemetry": true | false
1682 }
1683 }
1684 ```
1685 ### DisplayBookmarksToolbar
1686 Set the initial state of the bookmarks toolbar. A user can still hide it and it will stay hidden.
1687
1688 **Compatibility:** Firefox 60, Firefox ESR 60\
1689 **CCK2 Equivalent:** `displayBookmarksToolbar`\
1690 **Preferences Affected:** N/A
1691
1692 #### Windows (GPO)
1693 ```
1694 Software\Policies\Mozilla\Firefox\DisplayBookmarksToolbar = 0x1 | 0x0
1695 ```
1696 #### Windows (Intune)
1697 OMA-URI:
1698 ```
1699 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisplayBookmarksToolbar
1700 ```
1701 Value (string):
1702 ```
1703 <enabled/> or <disabled/>
1704 ```
1705 #### macOS
1706 ```
1707 <dict>
1708 <key>DisplayBookmarksToolbar</key>
1709 <true/> | <false/>
1710 </dict>
1711 ```
1712 #### policies.json
1713 ```
1714 {
1715 "policies": {
1716 "DisplayBookmarksToolbar": true | false
1717 }
1718 }
1719 ```
1720 ### DisplayMenuBar (Deprecated)
1721 Set the initial state of the menubar. A user can still hide it and it will stay hidden.
1722
1723 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, some Linux)\
1724 **CCK2 Equivalent:** `displayMenuBar`\
1725 **Preferences Affected:** N/A
1726
1727 #### Windows (GPO)
1728 ```
1729 Software\Policies\Mozilla\Firefox\DisplayMenuBar = 0x1 | 0x0
1730 ```
1731 #### macOS
1732 ```
1733 <dict>
1734 <key>DisplayMenuBar</key>
1735 <true/> | <false/>
1736 </dict>
1737 ```
1738 #### policies.json
1739 ```
1740 {
1741 "policies": {
1742 "DisplayMenuBar": true | false
1743 }
1744 }
1745 ```
1746 ### DisplayMenuBar
1747 Set the state of the menubar.
1748
1749 `always` means the menubar is shown and cannot be hidden.
1750
1751 `never` means the menubar is hidden and cannot be shown.
1752
1753 `default-on` means the menubar is on by default but can be hidden.
1754
1755 `default-off` means the menubar is off by default but can be shown.
1756
1757 **Compatibility:** Firefox 73, Firefox ESR 68.5 (Windows, some Linux)\
1758 **CCK2 Equivalent:** `displayMenuBar`\
1759 **Preferences Affected:** N/A
1760
1761 #### Windows (GPO)
1762 ```
1763 Software\Policies\Mozilla\Firefox\DisplayMenuBar = "always", "never", "default-on", "default-off"
1764 ```
1765 #### Windows (Intune)
1766 OMA-URI:
1767 ```
1768 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DisplayMenuBar_Enum
1769 ```
1770 Value (string):
1771 ```
1772 <enabled/>
1773 <data id="DisplayMenuBar" value="always | never | default-on | default-off"/>
1774 ```
1775 #### macOS
1776 ```
1777 <dict>
1778 <key>DisplayMenuBar</key>
1779 <string>always | never | default-on | default-off</string>
1780 </dict>
1781 ```
1782 #### policies.json
1783 ```
1784 {
1785 "policies": {
1786 "DisplayMenuBar": "always", "never", "default-on", "default-off"
1787 }
1788 }
1789 ```
1790 ### DNSOverHTTPS
1791 Configure DNS over HTTPS.
1792
1793 `Enabled` determines whether DNS over HTTPS is enabled
1794
1795 `ProviderURL` is a URL to another provider.
1796
1797 `Locked` prevents the user from changing DNS over HTTPS preferences.
1798
1799 `ExcludedDomains` excludes domains from DNS over HTTPS.
1800
1801 **Compatibility:** Firefox 63, Firefox ESR 68 (ExcludedDomains added in 75/68.7)\
1802 **CCK2 Equivalent:** N/A\
1803 **Preferences Affected:** `network.trr.mode`,`network.trr.uri`
1804
1805 #### Windows (GPO)
1806 ```
1807 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\Enabled = 0x1 | 0x0
1808 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\ProviderURL = "URL_TO_ALTERNATE_PROVIDER"
1809 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\Locked = 0x1 | 0x0
1810 Software\Policies\Mozilla\Firefox\DNSOverHTTPS\ExcludedDomains\1 = "example.com"
1811 ```
1812 #### Windows (Intune)
1813 OMA-URI:
1814 ```
1815 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DNSOverHTTPS/DNSOverHTTPS_Enabled
1816 ```
1817 Value (string):
1818 ```
1819 <enabled/> or <disabled/>
1820 ```
1821 OMA-URI:
1822 ```
1823 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DNSOverHTTPS/DNSOverHTTPS_ProviderURL
1824 ```
1825 Value (string):
1826 ```
1827 <enabled/>
1828 <data id="String" value="URL_TO_ALTERNATE_PROVIDER"/>
1829 ```
1830 OMA-URI:
1831 ```
1832 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DNSOverHTTPS/DNSOverHTTPS_Locked
1833 ```
1834 Value (string):
1835 ```
1836 <enabled/> or <disabled/>
1837 ```
1838 OMA-URI:
1839 ```
1840 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~DNSOverHTTPS/DNSOverHTTPS_ExcludedDomains
1841 ```
1842 Value (string):
1843 ```
1844 <enabled/>
1845 <data id="List" value="1&#xF000;example.com"/>
1846 ```
1847 #### macOS
1848 ```
1849 <dict>
1850 <key>DNSOverHTTPS</key>
1851 <dict>
1852 <key>Enabled</key>
1853 <true/> | <false/>
1854 <key>ProviderURL</key>
1855 <string>URL_TO_ALTERNATE_PROVIDER</string>
1856 <key>Locked</key>
1857 <true/> | <false/>
1858 <key>ExcludedDomains</key>
1859 <array>
1860 <string>example.com</string>
1861 </array>
1862 </dict>
1863 </dict>
1864 ```
1865 #### policies.json
1866 ```
1867 {
1868 "policies": {
1869 "DNSOverHTTPS": {
1870 "Enabled": true | false,
1871 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
1872 "Locked": true | false,
1873 "ExcludedDomains": ["example.com"]
1874 }
1875 }
1876 }
1877 ```
1878 ### DontCheckDefaultBrowser
1879 Don't check if Firefox is the default browser at startup.
1880
1881 **Compatibility:** Firefox 60, Firefox ESR 60\
1882 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1883 **Preferences Affected:** `browser.shell.checkDefaultBrowser`
1884
1885 #### Windows (GPO)
1886 ```
1887 Software\Policies\Mozilla\Firefox\DontCheckDefaultBrowser = 0x1 | 0x0
1888 ```
1889 #### Windows (Intune)
1890 OMA-URI:
1891 ```
1892 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DontCheckDefaultBrowser
1893 ```
1894 Value (string):
1895 ```
1896 <enabled/> or <disabled/>
1897 ```
1898 #### macOS
1899 ```
1900 <dict>
1901 <key>DontCheckDefaultBrowser</key>
1902 <true/> | <false/>
1903 </dict>
1904 ```
1905 #### policies.json
1906 ```
1907 {
1908 "policies": {
1909 "DontCheckDefaultBrowser": true | false
1910 }
1911 }
1912 ```
1913 ### DefaultDownloadDirectory
1914 Set the default download directory.
1915
1916 You can use ${home} for the native home directory.
1917
1918 **Compatibility:** Firefox 68, Firefox ESR 68\
1919 **CCK2 Equivalent:** N/A\
1920 **Preferences Affected:** `browser.download.dir`,`browser.download.folderList`
1921
1922 #### Windows (GPO)
1923 ```
1924 Software\Policies\Mozilla\Firefox\DefaultDownloadDirectory = "${home}\Downloads"
1925 ```
1926 #### Windows (Intune)
1927 OMA-URI:
1928 ```
1929 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DefaultDownloadDirectory
1930 ```
1931 Value (string):
1932 ```
1933 <enabled/>
1934 <data id="Preferences_String" value="${home}\Downloads"/>
1935 ```
1936 #### macOS
1937 ```
1938 <dict>
1939 <key>DefaultDownloadDirectory</key>
1940 <string>${home}/Downloads</string>
1941 </dict>
1942 ```
1943 #### policies.json (macOS and Linux)
1944 ```
1945 {
1946 "policies": {
1947 "DefaultDownloadDirectory": "${home}/Downloads"
1948 }
1949 ```
1950 #### policies.json (Windows)
1951 ```
1952 {
1953 "policies": {
1954 "DefaultDownloadDirectory": "${home}\\Downloads"
1955 }
1956 ```
1957 ### DownloadDirectory
1958 Set and lock the download directory.
1959
1960 You can use ${home} for the native home directory.
1961
1962 **Compatibility:** Firefox 68, Firefox ESR 68\
1963 **CCK2 Equivalent:** N/A\
1964 **Preferences Affected:** `browser.download.dir`,`browser.download.folderList`,`browser.download.useDownloadDir`
1965
1966 #### Windows (GPO)
1967 ```
1968 Software\Policies\Mozilla\Firefox\DownloadDirectory = "${home}\Downloads"
1969 ```
1970 #### Windows (Intune)
1971 OMA-URI:
1972 ```
1973 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/DownloadDirectory
1974 ```
1975 Value (string):
1976 ```
1977 <enabled/>
1978 <data id="Preferences_String" value="${home}\Downloads"/>
1979 ```
1980 #### macOS
1981 ```
1982 <dict>
1983 <key>DownloadDirectory</key>
1984 <string>${home}/Downloads</string>
1985 </dict>
1986 ```
1987 #### policies.json (macOS and Linux)
1988 ```
1989 {
1990 "policies": {
1991 "DownloadDirectory": "${home}/Downloads"
1992 }
1993 ```
1994 #### policies.json (Windows)
1995 ```
1996 {
1997 "policies": {
1998 "DownloadDirectory": "${home}\\Downloads"
1999 }
2000 ```
2001 ### EnableTrackingProtection
2002 Configure tracking protection.
2003
2004 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.
2005
2006 If `Value` is set to false, tracking protection is disabled and locked in both the regular browser and private browsing.
2007
2008 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.
2009
2010 If `Cryptomining` is set to true, cryptomining scripts on websites are blocked.
2011
2012 If `Fingerprinting` is set to true, fingerprinting scripts on websites are blocked.
2013
2014 `Exceptions` are origins for which tracking protection is not enabled.
2015
2016 **Compatibility:** Firefox 60, Firefox ESR 60 (Cryptomining and Fingerprinting added in 70/68.2, Exceptions added in 73/68.5)\
2017 **CCK2 Equivalent:** N/A\
2018 **Preferences Affected:** `privacy.trackingprotection.enabled`,`privacy.trackingprotection.pbmode.enabled`,`privacy.trackingprotection.cryptomining.enabled`,`privacy.trackingprotection.fingerprinting.enabled`
2019
2020 #### Windows (GPO)
2021 ```
2022 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Value = 0x1 | 0x0
2023 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Locked = 0x1 | 0x0
2024 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Cryptomining = 0x1 | 0x0
2025 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Fingerprinting = 0x1 | 0x0
2026 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Exceptions\1 = "https://example.com"
2027 ```
2028 #### Windows (Intune)
2029 OMA-URI:
2030 ```
2031 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/A_TrackingProtection_Value
2032 ```
2033 Value (string):
2034 ```
2035 <enabled/> or <disabled/>
2036 ```
2037 OMA-URI:
2038 ```
2039 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/B_TrackingProtection_Cryptomining
2040 ```
2041 Value (string):
2042 ```
2043 <enabled/> or <disabled/>
2044 ```
2045 OMA-URI:
2046 ```
2047 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/C_TrackingProtection_Fingerprinting
2048 ```
2049 Value (string):
2050 ```
2051 <enabled/> or <disabled/>
2052 ```
2053 OMA-URI:
2054 ```
2055 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/D_TrackingProtection_Exceptions
2056 ```
2057 Value (string):
2058 ```
2059 <data id="TrackingProtection_Exceptions" value="1&#xF000;https://example.com"/>
2060 ```
2061 OMA-URI:
2062 ```
2063 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~TrackingProtection/E_TrackingProtection_Locked
2064 ```
2065 Value (string):
2066 ```
2067 <enabled/> or <disabled/>
2068 ```
2069 #### macOS
2070 ```
2071 <dict>
2072 <key>EnableTrackingProtection</key>
2073 <dict>
2074 <key>Value</key>
2075 <true/> | <false/>
2076 <key>Locked</key>
2077 <true/> | <false/>
2078 <key>Cryptomining</key>
2079 <true/> | <false/>
2080 <key>Fingerprinting</key>
2081 <true/> | <false/>
2082 <key>Exceptions</key>
2083 <array>
2084 <string>https://example.com</string>
2085 </array>
2086 </dict>
2087 </dict>
2088 ```
2089 #### policies.json
2090 ```
2091 {
2092 "policies": {
2093 "EnableTrackingProtection": {
2094 "Value": true | false,
2095 "Locked": true | false,
2096 "Cryptomining": true | false,
2097 "Fingerprinting": true | false,
2098 "Exceptions": ["https://example.com"]
2099 }
2100 }
2101 ```
2102 ### EncryptedMediaExtensions
2103 Enable or disable Encrypted Media Extensions and optionally lock it.
2104
2105 If `Enabled` is set to false, encrypted media extensions (like Widevine) are not downloaded by Firefox unless the user consents to installing them.
2106
2107 If `Locked` is set to true and `Enabled` is set to false, Firefox will not download encrypted media extensions (like Widevine) or ask the user to install them.
2108
2109 **Compatibility:** Firefox 77, Firefox ESR 68.9\
2110 **CCK2 Equivalent:** N/A\
2111 **Preferences Affected:** `media.eme.enabled`
2112
2113 #### Windows (GPO)
2114 ```
2115 Software\Policies\Mozilla\Firefox\EncryptedMediaExtensions\Enabled = 0x1 | 0x0
2116 Software\Policies\Mozilla\Firefox\EncryptedMediaExtensions\Locked = 0x1 | 0x0
2117 ```
2118 #### Windows (Intune)
2119 OMA-URI:
2120 ```
2121 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~EncryptedMediaExtensions/EncryptedMediaExtensions_Enabled
2122 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~EncryptedMediaExtensions/EncryptedMediaExtensions_Locked
2123 ```
2124 Value (string):
2125 ```
2126 <enabled/>or <disabled/>
2127 ```
2128 #### macOS
2129 ```
2130 <dict>
2131 <key>EncryptedMediaExtensions</key>
2132 <dict>
2133 <key>Enabled</key>
2134 <true/> | <false/>
2135 <key>Locked</key>
2136 <true/> | <false/>
2137 </dict>
2138 </dict>
2139 ```
2140 #### policies.json
2141 ```
2142 {
2143 "policies": {
2144 "EncryptedMediaExtensions": {
2145 "Enabled": true | false,
2146 "Locked": true | false
2147 }
2148 }
2149 ```
2150 ### EnterprisePoliciesEnabled
2151 Enable policy support on macOS.
2152
2153 **Compatibility:** Firefox 63, Firefox ESR 60.3 (macOS only)\
2154 **CCK2 Equivalent:** N/A\
2155 **Preferences Affected:** N/A
2156
2157 #### macOS
2158 ```
2159 <dict>
2160 <key>EnterprisePoliciesEnabled</key>
2161 <true/>
2162 </dict>
2163 ```
2164 ### Extensions
2165 Control the installation, uninstallation and locking of extensions.
2166
2167 `Install` is a list of URLs or native paths for extensions to be installed.
2168
2169 `Uninstall` is a list of extension IDs that should be uninstalled if found.
2170
2171 `Locked` is a list of extension IDs that the user cannot disable or uninstall.
2172
2173 **Compatibility:** Firefox 60, Firefox ESR 60\
2174 **CCK2 Equivalent:** `addons`\
2175 **Preferences Affected:** N/A
2176
2177 #### Windows (GPO)
2178 ```
2179 Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi"
2180 Software\Policies\Mozilla\Firefox\Extensions\Install\2 = "//path/to/xpi"
2181 Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "bad_addon_id@mozilla.org"
2182 Software\Policies\Mozilla\Firefox\Extensions\Locked\1 = "addon_id@mozilla.org"
2183 ```
2184 #### Windows (Intune)
2185 OMA-URI:
2186 ```
2187 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/Extensions_Install
2188 ```
2189 Value (string):
2190 ```
2191 <enabled/>
2192 <data id="Extensions" value="1&#xF000;https://addons.mozilla.org/firefox/downloads/somefile.xpi&#xF000;2&#xF000;//path/to/xpi"/>
2193 ```
2194 OMA-URI:
2195 ```
2196 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/Extensions_Uninstall
2197 ```
2198 Value (string):
2199 ```
2200 <enabled/>
2201 <data id="Extensions" value="1&#xF000;bad_addon_id@mozilla.org"/>
2202 ```
2203 OMA-URI:
2204 ```
2205 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/Extensions_Locked
2206 ```
2207 Value (string):
2208 ```
2209 <enabled/>
2210 <data id="Extensions" value="1&#xF000;addon_id@mozilla.org"/>
2211 ```
2212 #### macOS
2213 ```
2214 <dict>
2215 <key>Extensions</key>
2216 <dict>
2217 <key>Install</key>
2218 <array>
2219 <string>https://addons.mozilla.org/firefox/downloads/somefile.xpi</string>
2220 <string>//path/to/xpi</string>
2221 </array>
2222 <key>Uninstall</key>
2223 <array>
2224 <string>bad_addon_id@mozilla.org</string>
2225 </array>
2226 <key>Locked</key>
2227 <array>
2228 <string>addon_id@mozilla.org</string>
2229 </array>
2230 </dict>
2231 </dict>
2232 ```
2233 #### policies.json
2234 ```
2235 {
2236 "policies": {
2237 "Extensions": {
2238 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
2239 "Uninstall": ["bad_addon_id@mozilla.org"],
2240 "Locked": ["addon_id@mozilla.org"]
2241 }
2242 }
2243 }
2244 ```
2245 ### ExtensionSettings
2246 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.
2247
2248 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.
2249
2250 To obtain an extension ID, install the extension and go to about:support. You will see the ID in the Extensions section. I've also created an extension that makes it easy to find the ID of extensions on AMO. You can download it [here](https://github.com/mkaply/queryamoid/releases/tag/v0.1).
2251
2252 The configuration for each extension is another dictionary that can contain the fields documented below.
2253
2254 | Name | Description |
2255 | --- | --- |
2256 | `installation_mode` | Maps to a string indicating the installation mode for the extension. The valid strings are `allowed`,`blocked`,`force_installed`, and `normal_installed`.
2257 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`allowed` | Allows the extension to be installed by the user. This is the default behavior. There is no need for an install_url; it will automatically be allowed based on the ID.
2258 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`blocked`| Blocks installation of the extension and removes it from the device if already installed.
2259 | &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.
2260 | &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.
2261 | `install_url`| Maps to a URL indicating where Firefox can download a force_installed or normal_installed extension. If installing from the addons.mozilla.org, use the following URL (substituting SHORT_NAME from the URL on AMO), https://addons.mozilla.org/firefox/downloads/latest/SHORT_NAME/latest.xpi. If installing from the local file system, use a file:/// URL. Languages packs are available from https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi. If you need to update the extension, you can change the name of the extension and it will be automatically updated. Extensions installed from file URLs will additional be updated when their internal version changes.
2262 | `install_sources` | A list of sources from which installing extensions is allowed. **This is unnecessary if you are only allowing the installation of certain extensions by ID.** 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.
2263 | `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", "locale" This setting can be used only for the default configuration.
2264 | `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. This setting can be used only for the default configuration.
2265 | `restricted_domains` | An array of domains on which content scripts can't be run. This setting can be used only for the default configuration.
2266
2267 **Compatibility:** Firefox 69, Firefox ESR 68.1\
2268 **CCK2 Equivalent:** N/A\
2269 **Preferences Affected:** N/A
2270
2271 #### Windows (GPO)
2272 ```
2273 Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
2274 {
2275 "*": {
2276 "blocked_install_message": "Custom error message.",
2277 "install_sources": ["about:addons","https://addons.mozilla.org/"],
2278 "installation_mode": "blocked",
2279 "allowed_types": ["extension"]
2280 },
2281 "uBlock0@raymondhill.net": {
2282 "installation_mode": "force_installed",
2283 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
2284 },
2285 "https-everywhere@eff.org": {
2286 "installation_mode": "allowed",
2287 }
2288 }
2289 ```
2290 #### Windows (Intune)
2291 OMA-URI:
2292 ```
2293 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/ExtensionSettings
2294 ```
2295 Value (string):
2296 ```
2297 <enabled/>
2298 <data id="ExtensionSettings" value='
2299 {
2300 "*": {
2301 "blocked_install_message": "Custom error message.",
2302 "install_sources": ["about:addons","https://addons.mozilla.org/"],
2303 "installation_mode": "blocked",
2304 "allowed_types": ["extension"]
2305 },
2306 "uBlock0@raymondhill.net": {
2307 "installation_mode": "force_installed",
2308 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
2309 },
2310 "https-everywhere@eff.org": {
2311 "installation_mode": "allowed",
2312 }
2313 }'/>
2314 ```
2315 #### macOS
2316 ```
2317 <dict>
2318 <key>ExtensionSettings</key>
2319 <dict>
2320 <key>*</key>
2321 <dict>
2322 <key>blocked_install_message</key>
2323 <string>Custom error message.</string>
2324 <key>install_sources</key>
2325 <array>
2326 <string>about:addons</string>
2327 <string>https://addons.mozilla.org/</string>
2328 </array>
2329 <key>installation_mode</key>
2330 <string>blocked</string>
2331 <key>allowed_types</key>
2332 <array>
2333 <string>extension</string>
2334 </array>
2335 </dict>
2336 <key>uBlock0@raymondhill.net</key>
2337 <dict>
2338 <key>installation_mode</key>
2339 <string>force_installed</string>
2340 <key>install_url</key>
2341 <string>https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi</string>
2342 </dict>
2343 <key>https-everywhere@eff.org</key>
2344 <dict>
2345 <key>installation_mode</key>
2346 <string>allowed</string>
2347 </dict>
2348 </dict>
2349 </dict>
2350 ```
2351 #### policies.json
2352 ```
2353 {
2354 "policies": {
2355 "ExtensionSettings": {
2356 "*": {
2357 "blocked_install_message": "Custom error message.",
2358 "install_sources": ["about:addons","https://addons.mozilla.org/"],
2359 "installation_mode": "blocked",
2360 "allowed_types": ["extension"]
2361 },
2362 "uBlock0@raymondhill.net": {
2363 "installation_mode": "force_installed",
2364 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
2365 },
2366 "https-everywhere@eff.org": {
2367 "installation_mode": "allowed"
2368 }
2369 }
2370 }
2371 }
2372 ```
2373 ### ExtensionUpdate
2374 Control extension updates.
2375
2376 **Compatibility:** Firefox 67, Firefox ESR 60.7\
2377 **CCK2 Equivalent:** N/A\
2378 **Preferences Affected:** `extensions.update.enabled`
2379
2380 #### Windows (GPO)
2381 ```
2382 Software\Policies\Mozilla\Firefox\ExtensionUpdate = 0x1 | 0x0
2383 ```
2384 #### Windows (Intune)
2385 OMA-URI:
2386 ```
2387 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Extensions/ExtensionUpdate
2388 ```
2389 Value (string):
2390 ```
2391 <enabled/> or <disabled/>
2392 ```
2393 #### macOS
2394 ```
2395 <dict>
2396 <key>ExtensionUpdate</key>
2397 <true/> | <false/>
2398 </dict>
2399 ```
2400 #### policies.json
2401 ```
2402 {
2403 "policies": {
2404 "ExtensionUpdate": true | false
2405 }
2406 }
2407 ```
2408 ### FlashPlugin
2409 Configure the default Flash plugin policy as well as origins for which Flash is allowed.
2410
2411 `Allow` is a list of origins where Flash are allowed.
2412
2413 `Block` is a list of origins where Flash is not allowed.
2414
2415 `Default` determines whether or not Flash is allowed by default.
2416
2417 `Locked` prevents the user from changing Flash preferences.
2418
2419 **Compatibility:** Firefox 60, Firefox ESR 60\
2420 **CCK2 Equivalent:** `permissions.plugin`\
2421 **Preferences Affected:** `plugin.state.flash`
2422
2423 #### Windows (GPO)
2424 ```
2425 Software\Policies\Mozilla\Firefox\FlashPlugin\Allow\1 = "https://example.org"
2426 Software\Policies\Mozilla\Firefox\FlashPlugin\Block\1 = "https://example.edu"
2427 Software\Policies\Mozilla\Firefox\FlashPlugin\Default = 0x1 | 0x0
2428 Software\Policies\Mozilla\Firefox\FlashPlugin\Locked = 0x1 | 0x0
2429 ```
2430 #### Windows (Intune)
2431 OMA-URI:
2432 ```
2433 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Flash/FlashPlugin_Allow
2434 ```
2435 Value (string):
2436 ```
2437 <enabled/>
2438 <data id="Permissions" value="1&#xF000;https://example.org&#xF000;2&#xF000;https://example.edu"/>
2439 ```
2440 OMA-URI:
2441 ```
2442 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Flash/FlashPlugin_Locked
2443 ```
2444 Value (string):
2445 ```
2446 <enabled/> or <disabled/>
2447 ```
2448 OMA-URI:
2449 ```
2450 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Flash/FlashPlugin_Default
2451 ```
2452 Value (string):
2453 ```
2454 <enabled/> or <disabled/>
2455 ```
2456 #### macOS
2457 ```
2458 <dict>
2459 <key>FlashPlugin</key>
2460 <dict>
2461 <key>Allow</key>
2462 <array>
2463 <string>http://example.org</string>
2464 </array>
2465 <key>Block</key>
2466 <array>
2467 <string>http://example.edu</string>
2468 </array>
2469 <key>Default</key>
2470 <true/> | <false/>
2471 <key>Locked</key>
2472 <true/> | <false/>
2473 </dict>
2474 </dict>
2475 ```
2476 #### policies.json
2477 ```
2478 {
2479 "policies": {
2480 "FlashPlugin": {
2481 "Allow": ["http://example.org/"],
2482 "Block": ["http://example.edu/"],
2483 "Default": true | false,
2484 "Locked": true | false
2485 }
2486 }
2487 }
2488 ```
2489
2490
2491
2492 ### Handlers
2493 Configure default application handlers. This policy is based on the internal format of `handlers.json`.
2494
2495 You can configure handlers based on a mime type (`mimeTypes`), a file's extension (`extensions`), or a protocol (`schemes`).
2496
2497 Within each handler type, you specify the given mimeType/extension/scheme as a key and use the following subkeys to describe how it is handled.
2498
2499 | Name | Description |
2500 | --- | --- |
2501 | `action`| Can be either `saveToDisk`, `useHelperApp`, `useSystemDefault`.
2502 | `ask` | If `true`, the user is asked if what they want to do with the file. If `false`, the action is taken without user intervention.
2503 | `handlers` | An array of handlers with the first one being the default. If you don't want to have a default handler, use an empty object for the first handler. Choose between path or uriTemplate.
2504 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`name` | The display name of the handler (might not be used).
2505 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`path`| The native path to the executable to be used.
2506 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`uriTemplate`| A url to a web based application handler. The URL must be https and contain a %s to be used for substitution.
2507
2508 **Compatibility:** Firefox 78, Firefox ESR 78\
2509 **CCK2 Equivalent:** N/A\
2510 **Preferences Affected:** N/A
2511
2512 #### Windows (GPO)
2513 ```
2514 Software\Policies\Mozilla\Firefox\Handlers (REG_MULTI_SZ) =
2515 {
2516 "mimeTypes": {
2517 "application/msword": {
2518 "action": "useSystemDefault",
2519 "ask": true | false
2520 }
2521 },
2522 "schemes": {
2523 "mailto": {
2524 "action": "useHelperApp",
2525 "ask": true | false,
2526 "handlers": [{
2527 "name": "Gmail",
2528 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
2529 }]
2530 }
2531 },
2532 "extensions": {
2533 "pdf": {
2534 "action": "useHelperApp",
2535 "ask": true | false,
2536 "handlers": [{
2537 "name": "Adobe Acrobat",
2538 "path": "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe"
2539 }]
2540 }
2541 }
2542 }
2543 ```
2544 #### Windows (Intune)
2545 OMA-URI:
2546 ```
2547 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Handlers
2548 ```
2549 Value (string):
2550 ```
2551 <enabled/>
2552 <data id="Handlers" value='
2553 {
2554 "mimeTypes": {
2555 "application/msword": {
2556 "action": "useSystemDefault",
2557 "ask": true | false
2558 }
2559 },
2560 "schemes": {
2561 "mailto": {
2562 "action": "useHelperApp",
2563 "ask": true | false,
2564 "handlers": [{
2565 "name": "Gmail",
2566 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&amp;url=%s"
2567 }]
2568 }
2569 },
2570 "extensions": {
2571 "pdf": {
2572 "action": "useHelperApp",
2573 "ask": true | false,
2574 "handlers": [{
2575 "name": "Adobe Acrobat",
2576 "path": "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe"
2577 }]
2578 }
2579 }
2580 }
2581 '/>
2582 ```
2583 #### macOS
2584 ```
2585 <dict>
2586 <key>Handlers</key>
2587 <dict>
2588 <key>mimeTypes</key>
2589 <dict>
2590 <key>application/msword</key>
2591 <dict>
2592 <key>action</key>
2593 <string>useSystemDefault</string>
2594 <key>ask</key>
2595 <true/> | <false/>
2596 </dict>
2597 </dict>
2598 <key>schemes</key>
2599 <dict>
2600 <key>mailto</key>
2601 <dict>
2602 <key>action</key>
2603 <string>useHelperApp</string>
2604 <key>ask</key>
2605 <true/> | <false/>
2606 <key>handlers</key>
2607 <array>
2608 <dict>
2609 <key>name</key>
2610 <string>Gmail</string>
2611 <key>uriTemplate</key>
2612 <string>https://mail.google.com/mail/?extsrc=mailto&url=%s</string>
2613 </dict>
2614 </array>
2615 </dict>
2616 </dict>
2617 <key>extensions</key>
2618 <dict>
2619 <key>pdf</key>
2620 <dict>
2621 <key>action</key>
2622 <string>useHelperApp</string>
2623 <key>ask</key>
2624 <true/> | <false/>
2625 <key>handlers</key>
2626 <array>
2627 <dict>
2628 <key>name</key>
2629 <string>Adobe Acrobat</string>
2630 <key>path</key>
2631 <string>/System/Applications/Preview.app</string>
2632 </dict>
2633 </array>
2634 </dict>
2635 </dict>
2636 </dict>
2637 </dict>
2638 ```
2639 #### policies.json
2640 ```
2641 {
2642 "policies": {
2643 "Handlers": {
2644 "mimeTypes": {
2645 "application/msword": {
2646 "action": "useSystemDefault",
2647 "ask": false
2648 }
2649 },
2650 "schemes": {
2651 "mailto": {
2652 "action": "useHelperApp",
2653 "ask": true | false,
2654 "handlers": [{
2655 "name": "Gmail",
2656 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
2657 }]
2658 }
2659 },
2660 "extensions": {
2661 "pdf": {
2662 "action": "useHelperApp",
2663 "ask": true | false,
2664 "handlers": [{
2665 "name": "Adobe Acrobat",
2666 "path": "/usr/bin/acroread"
2667 }]
2668 }
2669 }
2670 }
2671 }
2672 }
2673 ```
2674 ### FirefoxHome
2675 Customize the Firefox Home page.
2676
2677 **Compatibility:** Firefox 68, Firefox ESR 68\
2678 **CCK2 Equivalent:** N/A\
2679 **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`
2680
2681 #### Windows (GPO)
2682 ```
2683 Software\Policies\Mozilla\Firefox\FirefoxHome\Search = 0x1 | 0x0
2684 Software\Policies\Mozilla\Firefox\FirefoxHome\TopSites = 0x1 | 0x0
2685 Software\Policies\Mozilla\Firefox\FirefoxHome\Highlights = 0x1 | 0x0
2686 Software\Policies\Mozilla\Firefox\FirefoxHome\Pocket = 0x1 | 0x0
2687 Software\Policies\Mozilla\Firefox\FirefoxHome\Snippets = 0x1 | 0x0
2688 Software\Policies\Mozilla\Firefox\FirefoxHome\Locked = 0x1 | 0x0
2689 ```
2690 #### Windows (Intune)
2691 OMA-URI:
2692 ```
2693 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/CustomizeFirefoxHome
2694 ```
2695 Value (string):
2696 ```
2697 <enabled/>
2698 <data id="FirefoxHome_Search" value="true | false"/>
2699 <data id="FirefoxHome_TopSites" value="true | false"/>
2700 <data id="FirefoxHome_Highlights" value="true | false"/>
2701 <data id="FirefoxHome_Pocket" value="true | false"/>
2702 <data id="FirefoxHome_Snippets" value="true | false"/>
2703 <data id="FirefoxHome_Locked" value="true | false"/>
2704 ```
2705 #### macOS
2706 ```
2707 <dict>
2708 <key>FirefoxHome</key>
2709 <dict>
2710 <key>Search</key>
2711 <true/> | <false/>
2712 <key>TopSites</key>
2713 <true/> | <false/>
2714 <key>Highlights</key>
2715 <true/> | <false/>
2716 <key>Pocket</key>
2717 <true/> | <false/>
2718 <key>Snippets</key>
2719 <true/> | <false/>
2720 <key>Locked</key>
2721 <true/> | <false/>
2722 </dict>
2723 </dict>
2724 ```
2725 #### policies.json
2726 ```
2727 {
2728 "policies": {
2729 "FirefoxHome": {
2730 "Search": true | false,
2731 "TopSites": true | false,
2732 "Highlights": true | false,
2733 "Pocket": true | false,
2734 "Snippets": true | false,
2735 "Locked": true | false
2736 }
2737 }
2738 }
2739 ```
2740 ### HardwareAcceleration
2741 Control hardware acceleration.
2742
2743 **Compatibility:** Firefox 60, Firefox ESR 60\
2744 **CCK2 Equivalent:** N/A\
2745 **Preferences Affected:** `layers.acceleration.disabled`
2746
2747 #### Windows (GPO)
2748 ```
2749 Software\Policies\Mozilla\Firefox\HardwareAcceleration = 0x1 | 0x0
2750 ```
2751 #### Windows (Intune)
2752 OMA-URI:
2753 ```
2754 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/HardwareAcceleration
2755 ```
2756 Value (string):
2757 ```
2758 <enabled/> or <disabled/>
2759 ```
2760 #### macOS
2761 ```
2762 <dict>
2763 <key>HardwareAcceleration</key>
2764 <true/> | <false/>
2765 </dict>
2766 ```
2767 #### policies.json
2768 ```
2769 {
2770 "policies": {
2771 "HardwareAcceleration": true | false
2772 }
2773 }
2774 ```
2775 ### Homepage
2776 Configure the default homepage and how Firefox starts.
2777
2778 `URL` is the default homepage.
2779
2780 `Locked` prevents the user from changing homepage preferences.
2781
2782 `Additional` allows for more than one homepage.
2783
2784 `StartPage` is how Firefox starts. The choices are no homepage, the default homepage or the previous session.
2785
2786 With Firefox 78, an additional option as added for `Startpage`, `homepage-locked`. This allows for locking the homepage, but still allowing the user to choose whether or not they want to restore their session.
2787
2788 **Compatibility:** Firefox 60, Firefox ESR 60 (StartPage was added in Firefox 60, Firefox ESR 60.4, homepage-locked added in Firefox 78)\
2789 **CCK2 Equivalent:** `homePage`,`lockHomePage`\
2790 **Preferences Affected:** `browser.startup.homepage`,`browser.startup.page`
2791
2792 #### Windows (GPO)
2793 ```
2794 Software\Policies\Mozilla\Firefox\Homepage\URL = "https://example.com"
2795 Software\Policies\Mozilla\Firefox\Homepage\Locked = 0x1 | 0x0
2796 Software\Policies\Mozilla\Firefox\Homepage\Additional\1 = "https://example.org"
2797 Software\Policies\Mozilla\Firefox\Homepage\Additional\2 = "https://example.edu"
2798 Software\Policies\Mozilla\Firefox\Homepage\StartPage = "none" | "homepage" | "previous-session" | "homepage-locked"
2799 ```
2800 #### Windows (Intune)
2801 OMA-URI:
2802 ```
2803 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Homepage/HomepageURL
2804 ```
2805 Value (string):
2806 ```
2807 <enabled/>
2808
2809 <data id="HomepageURL" value="https://example.com"/>
2810 <data id="HomepageLocked" value="true | false"/>
2811 ```
2812 OMA-URI:
2813 ```
2814 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Homepage/HomepageAdditional
2815 ```
2816 Value (string):
2817 ```
2818 <enabled/>
2819
2820 <data id="HomepageAdditional" value="1&#xF000;http://example.org&#xF000;2&#xF000;http://example.edu"/>
2821 ```
2822 OMA-URI:
2823 ```
2824 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Homepage/HomepageStartPage
2825 ```
2826 Value (string):
2827 ```
2828 <enabled/>
2829
2830 <data id="StartPage" value="none | homepage | previous-session"/>
2831 ```
2832 #### macOS
2833 ```
2834 <dict>
2835 <key>Homepage</key>
2836 <dict>
2837 <key>URL</key>
2838 <string>http://example.com</string>
2839 <key>Locked</key>
2840 <true/> | <false/>
2841 <key>Additional</key>
2842 <array>
2843 <string>http://example.org</string>
2844 <string>http://example.edu</string>
2845 </array>
2846 <key>StartPage</key>
2847 <string>none | homepage | previous-session | homepage-locked</string>
2848 </dict>
2849 </dict>
2850 ```
2851 #### policies.json
2852 ```
2853 {
2854 "policies": {
2855 "Homepage": {
2856 "URL": "http://example.com/",
2857 "Locked": true | false,
2858 "Additional": ["http://example.org/",
2859 "http://example.edu/"],
2860 "StartPage": "none" | "homepage" | "previous-session" | "homepage-locked"
2861 }
2862 }
2863 }
2864 ```
2865 ### InstallAddonsPermission
2866 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.
2867
2868 `Allow` is a list of origins where extension installs are allowed.
2869
2870 `Default` determines whether or not extension installs are allowed by default.
2871
2872 **Compatibility:** Firefox 60, Firefox ESR 60\
2873 **CCK2 Equivalent:** `permissions.install`\
2874 **Preferences Affected:** `xpinstall.enabled`
2875
2876 #### Windows (GPO)
2877 ```
2878 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
2879 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
2880 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0
2881 ```
2882 #### Windows (Intune)
2883 OMA-URI:
2884 ```
2885 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Addons/InstallAddonsPermission_Allow
2886 ```
2887 Value (string):
2888 ```
2889 <enabled/>
2890 <data id="Permissions" value="1&#xF000;https://example.org&#xF000;2&#xF000;https://example.edu"/>
2891 ```
2892 OMA-URI:
2893 ```
2894 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Addons/InstallAddonsPermission_Default
2895 ```
2896 Value (string):
2897 ```
2898 <enabled/>
2899 ```
2900 #### macOS
2901 ```
2902 <dict>
2903 <key>InstallAddonsPermission</key>
2904 <dict>
2905 <key>Allow</key>
2906 <array>
2907 <string>http://example.org</string>
2908 <string>http://example.edu</string>
2909 </array>
2910 <key>Default</key>
2911 <true/> | <false/>
2912 </dict>
2913 </dict>
2914 ```
2915 #### policies.json
2916 ```
2917 {
2918 "policies": {
2919 "InstallAddonsPermission": {
2920 "Allow": ["http://example.org/",
2921 "http://example.edu/"],
2922 "Default": true | false
2923 }
2924 }
2925 }
2926 ```
2927 ### LegacyProfiles
2928 Disable the feature enforcing a separate profile for each installation.
2929
2930 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.
2931
2932 If this policy set to false, Firefox will create a new profile for each unique installation of Firefox.
2933
2934 This policy only work on Windows via GPO (not policies.json).
2935
2936 **Compatibility:** Firefox 70, Firefox ESR 68.2 (Windows only, GPO only)\
2937 **CCK2 Equivalent:** N/A\
2938 **Preferences Affected:** N/A
2939
2940 #### Windows (GPO)
2941 ```
2942 Software\Policies\Mozilla\Firefox\LegacyProfiles = = 0x1 | 0x0
2943 ```
2944 #### Windows (Intune)
2945 OMA-URI:
2946 ```
2947 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/LegacyProfiles
2948 ```
2949 Value (string):
2950 ```
2951 <enabled/> or <disabled/>
2952 ```
2953 ### LocalFileLinks
2954 Enable linking to local files by origin.
2955
2956 **Compatibility:** Firefox 68, Firefox ESR 68\
2957 **CCK2 Equivalent:** N/A\
2958 **Preferences Affected:** `capability.policy.localfilelinks.*`
2959
2960 #### Windows (GPO)
2961 ```
2962 Software\Policies\Mozilla\Firefox\LocalFileLinks\1 = "https://example.org"
2963 Software\Policies\Mozilla\Firefox\LocalFileLinks\2 = "https://example.edu"
2964 ```
2965 #### Windows (Intune)
2966 OMA-URI:
2967 ```
2968 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/LocalFileLinks
2969 ```
2970 Value (string):
2971 ```
2972 <enabled/>
2973 <data id="LocalFileLinks" value="1&#xF000;https://example.org&#xF000;2&#xF000;https://example.edu"/>
2974 ```
2975 #### macOS
2976 ```
2977 <dict>
2978 <key>LocalFileLinks</key>
2979 <array>
2980 <string>http://example.org</string>
2981 <string>http://example.edu</string>
2982 </array>
2983 </dict>
2984 ```
2985 #### policies.json
2986 ```
2987 {
2988 "policies": {
2989 "LocalFileLinks": ["http://example.org/",
2990 "http://example.edu/"]
2991 }
2992 }
2993 ```
2994 ### PrimaryPassword
2995 Require or prevent using a primary (formerly master) password.
2996
2997 If this value is true, a primary password is required. If this value is false, it works the same as if [`DisableMasterPasswordCreation`](#disablemasterpasswordcreation) was true and removes the primary password functionality.
2998
2999 If both DisableMasterPasswordCreation and PrimaryPassword are used, DisableMasterPasswordCreation takes precedent.
3000
3001 **Compatibility:** Firefox 79, Firefox ESR 78.1\
3002 **CCK2 Equivalent:** `noMasterPassword`\
3003 **Preferences Affected:** N/A
3004
3005 #### Windows (GPO)
3006 ```
3007 Software\Policies\Mozilla\Firefox\PrimaryPassword = 0x1 | 0x0
3008 ```
3009 #### Windows (Intune)
3010 OMA-URI:
3011 ```
3012 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PrimaryPassword
3013 ```
3014 Value (string):
3015 ```
3016 <enabled/> or <disabled/>
3017 ```
3018 #### macOS
3019 ```
3020 <dict>
3021 <key>PrimaryPassword</key>
3022 <true/> | <false/>
3023 </dict>
3024 ```
3025 #### policies.json
3026 ```
3027 {
3028 "policies": {
3029 "PrimaryPassword": true | false
3030 }
3031 }
3032 ```
3033 ### NetworkPrediction
3034 Enable or disable network prediction (DNS prefetching).
3035
3036 **Compatibility:** Firefox 67, Firefox ESR 60.7\
3037 **CCK2 Equivalent:** N/A\
3038 **Preferences Affected:** `network.dns.disablePrefetch`,`network.dns.disablePrefetchFromHTTPS`
3039
3040 #### Windows (GPO)
3041 ```
3042 Software\Policies\Mozilla\Firefox\NetworkPrediction = 0x1 | 0x0
3043 ```
3044 #### Windows (Intune)
3045 OMA-URI:
3046 ```
3047 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/NetworkPrediction
3048 ```
3049 Value (string):
3050 ```
3051 <enabled/> or <disabled/>
3052 ```
3053 #### macOS
3054 ```
3055 <dict>
3056 <key>NetworkPrediction</key>
3057 <true/> | <false/>
3058 </dict>
3059 ```
3060 #### policies.json
3061 ```
3062 {
3063 "policies": {
3064 "NetworkPrediction": true | false
3065 }
3066 ```
3067 ### NewTabPage
3068 Enable or disable the New Tab page.
3069
3070 **Compatibility:** Firefox 68, Firefox ESR 68\
3071 **CCK2 Equivalent:** N/A\
3072 **Preferences Affected:** `browser.newtabpage.enabled`
3073
3074 #### Windows (GPO)
3075 ```
3076 Software\Policies\Mozilla\Firefox\NewTabPage = 0x1 | 0x0
3077 ```
3078 #### Windows (Intune)
3079 OMA-URI:
3080 ```
3081 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/NewTabPage
3082 ```
3083 Value (string):
3084 ```
3085 <enabled/> or <disabled/>
3086 ```
3087 #### macOS
3088 ```
3089 <dict>
3090 <key>NewTabPage</key>
3091 <true/> | <false/>
3092 </dict>
3093 ```
3094 #### policies.json
3095 ```
3096 {
3097 "policies": {
3098 "NewTabPage": true | false
3099 }
3100 ```
3101 ### NoDefaultBookmarks
3102 Disable the creation of default bookmarks.
3103
3104 This policy is only effective if the user profile has not been created yet.
3105
3106 **Compatibility:** Firefox 60, Firefox ESR 60\
3107 **CCK2 Equivalent:** `removeDefaultBookmarks`\
3108 **Preferences Affected:** N/A
3109
3110 #### Windows (GPO)
3111 ```
3112 Software\Policies\Mozilla\Firefox\NoDefaultBookmarks = 0x1 | 0x0
3113 ```
3114 #### Windows (Intune)
3115 OMA-URI:
3116 ```
3117 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/NoDefaultBookmarks
3118 ```
3119 Value (string):
3120 ```
3121 <enabled/> or <disabled/>
3122 ```
3123 #### macOS
3124 ```
3125 <dict>
3126 <key>NoDefaultBookmarks</key>
3127 <true/> | <false/>
3128 </dict>
3129 ```
3130 #### policies.json
3131 ```
3132 {
3133 "policies": {
3134 "NoDefaultBookmarks": true | false
3135 }
3136 }
3137 ```
3138 ### OfferToSaveLogins
3139 Control whether or not Firefox offers to save passwords.
3140
3141 **Compatibility:** Firefox 60, Firefox ESR 60\
3142 **CCK2 Equivalent:** `dontRememberPasswords`\
3143 **Preferences Affected:** `signon.rememberSignons`
3144
3145 #### Windows (GPO)
3146 ```
3147 Software\Policies\Mozilla\Firefox\OfferToSaveLogins = 0x1 | 0x0
3148 ```
3149 #### Windows (Intune)
3150 OMA-URI:
3151 ```
3152 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/OfferToSaveLogins
3153 ```
3154 Value (string):
3155 ```
3156 <enabled/> or <disabled/>
3157 ```
3158 #### macOS
3159 ```
3160 <dict>
3161 <key>OfferToSaveLogins</key>
3162 <true/> | <false/>
3163 </dict>
3164 ```
3165 #### policies.json
3166 ```
3167 {
3168 "policies": {
3169 "OfferToSaveLogins": true | false
3170 }
3171 }
3172 ```
3173 ### OfferToSaveLoginsDefault
3174 Sets the default value of signon.rememberSignons without locking it.
3175
3176 **Compatibility:** Firefox 70, Firefox ESR 60.2\
3177 **CCK2 Equivalent:** `dontRememberPasswords`\
3178 **Preferences Affected:** `signon.rememberSignons`
3179
3180 #### Windows (GPO)
3181 ```
3182 Software\Policies\Mozilla\Firefox\OfferToSaveLoginsDefault = 0x1 | 0x0
3183 ```
3184 #### Windows (Intune)
3185 OMA-URI:
3186 ```
3187 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/OfferToSaveLoginsDefault
3188 ```
3189 Value (string):
3190 ```
3191 <enabled/> or <disabled/>
3192 ```
3193 #### macOS
3194 ```
3195 <dict>
3196 <key>OfferToSaveLoginsDefault</key>
3197 <true/> | <false/>
3198 </dict>
3199 ```
3200 #### policies.json
3201 ```
3202 {
3203 "policies": {
3204 "OfferToSaveLoginsDefault": true | false
3205 }
3206 }
3207 ```
3208 ### OverrideFirstRunPage
3209 Override the first run page. If the value is an empty string (""), the first run page is not displayed.
3210
3211 Starting with Firefox 83, Firefox ESR 78.5, you can also specify multiple URLS separated by a vertical bar (|).
3212
3213 **Compatibility:** Firefox 60, Firefox ESR 60\
3214 **CCK2 Equivalent:** `welcomePage`,`noWelcomePage`\
3215 **Preferences Affected:** `startup.homepage_welcome_url`
3216
3217 #### Windows (GPO)
3218 ```
3219 Software\Policies\Mozilla\Firefox\OverrideFirstRunPage = "http://example.org"
3220 ```
3221 #### Windows (Intune)
3222 OMA-URI:
3223 ```
3224 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/OverrideFirstRunPage
3225 ```
3226 Value (string):
3227 ```
3228 <enabled/>
3229 <data id="OverridePage" value="https://example.com"/>
3230 ```
3231 #### macOS
3232 ```
3233 <dict>
3234 <key>OverrideFirstRunPage</key>
3235 <string>http://example.org</string>
3236 </dict>
3237 ```
3238 #### policies.json
3239 ```
3240 {
3241 "policies": {
3242 "OverrideFirstRunPage": "http://example.org"
3243 }
3244 ```
3245 ### OverridePostUpdatePage
3246 Override the upgrade page. If the value is an empty string (""), no extra pages are displayed when Firefox is upgraded.
3247
3248 **Compatibility:** Firefox 60, Firefox ESR 60\
3249 **CCK2 Equivalent:** `upgradePage`,`noUpgradePage`\
3250 **Preferences Affected:** `startup.homepage_override_url`
3251
3252 #### Windows (GPO)
3253 ```
3254 Software\Policies\Mozilla\Firefox\OverridePostUpdatePage = "http://example.org"
3255 ```
3256 #### Windows (Intune)
3257 OMA-URI:
3258 ```
3259 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/OverridePostUpdatePage
3260 ```
3261 Value (string):
3262 ```
3263 <enabled/>
3264 <data id="OverridePage" value="https://example.com"/>
3265 ```
3266 #### macOS
3267 ```
3268 <dict>
3269 <key>OverridePostUpdatePage</key>
3270 <string>http://example.org</string>
3271 </dict>
3272 ```
3273 #### policies.json
3274 ```
3275 {
3276 "policies": {
3277 "OverridePostUpdatePage": "http://example.org"
3278 }
3279 ```
3280 ### PasswordManagerEnabled
3281 Remove access to the password manager via preferences and blocks about:logins on Firefox 70.
3282
3283 **Compatibility:** Firefox 70, Firefox ESR 60.2\
3284 **CCK2 Equivalent:** N/A\
3285 **Preferences Affected:** `pref.privacy.disable_button.view_passwords`
3286
3287 #### Windows (GPO)
3288 ```
3289 Software\Policies\Mozilla\Firefox\PasswordManagerEnabled = 0x1 | 0x0
3290 ```
3291 #### Windows (Intune)
3292 OMA-URI:
3293 ```
3294 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PasswordManagerEnabled
3295 ```
3296 Value (string):
3297 ```
3298 <enabled/> or <disabled/>
3299 ```
3300 #### macOS
3301 ```
3302 <dict>
3303 <key>PasswordManagerEnabled</key>
3304 <true/> | <false/>
3305 </dict>
3306 ```
3307 #### policies.json
3308 ```
3309 {
3310 "policies": {
3311 "PasswordManagerEnabled": true | false
3312 }
3313 }
3314 ```
3315 ### PDFjs
3316 Disable or configure PDF.js, the built-in PDF viewer.
3317
3318 If `Enabled` is set to false, the built-in PDF viewer is disabled.
3319
3320 If `EnablePermissions` is set to true, the built-in PDF viewer will honor document permissions like preventing the copying of text.
3321
3322 Note: DisableBuiltinPDFViewer has not been deprecated. You can either continue to use it, or switch to using PDFjs->Enabled to disable the built-in PDF viewer. This new permission was added because we needed a place for PDFjs->EnabledPermissions.
3323
3324 **Compatibility:** Firefox 77, Firefox ESR 68.9\
3325 **CCK2 Equivalent:** N/A\
3326 **Preferences Affected:** `pdfjs.diabled`,`pdfjs.enablePermissions`
3327
3328 #### Windows (GPO)
3329 ```
3330 Software\Policies\Mozilla\Firefox\PDFjs\Enabled = 0x1 | 0x0
3331 Software\Policies\Mozilla\Firefox\PDFjs\EnablePermissions = 0x1 | 0x0
3332 ```
3333 #### Windows (Intune)
3334 OMA-URI:
3335 ```
3336 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~PDFjs/PDFjs_Enabled
3337 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~PDFjs/PDFjs_EnablePermissions
3338 ```
3339 Value (string):
3340 ```
3341 <enabled/>or <disabled/>
3342 ```
3343 #### macOS
3344 ```
3345 <dict>
3346 <key>PDFjs</key>
3347 <dict>
3348 <key>Enabled</key>
3349 <true/> | <false/>
3350 <key>EnablePermissions</key>
3351 <true/> | <false/>
3352 </dict>
3353 </dict>
3354 ```
3355 #### policies.json
3356 ```
3357 {
3358 "policies": {
3359 "PSFjs": {
3360 "Enabled": true | false,
3361 "EnablePermissions": true | false
3362 }
3363 }
3364 ```
3365 ### Permissions
3366 Set permissions associated with camera, microphone, location, notifications, autoplay, and virtual reality. Because these are origins, not domains, entries with unique ports must be specified separately. This explicitly means that it is not possible to add wildcards. See examples below.
3367
3368 `Allow` is a list of origins where the feature is allowed.
3369
3370 `Block` is a list of origins where the feature is not allowed.
3371
3372 `BlockNewRequests` determines whether or not new requests can be made for the feature.
3373
3374 `Locked` prevents the user from changing preferences for the feature.
3375
3376 `Default` specifies the default value for Autoplay. block-audio-video is not supported on Firefox ESR 68.
3377
3378 **Compatibility:** Firefox 62, Firefox ESR 60.2 (Autoplay added in Firefox 74, Firefox ESR 68.6, Autoplay Default/Locked added in Firefox 76, Firefox ESR 68.8, VirtualReality added in Firefox 80, Firefox ESR 78.2)\
3379 **CCK2 Equivalent:** N/A\
3380 **Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`,`media.autoplay.default`.`permissions.default.xr`
3381
3382 #### Windows (GPO)
3383 ```
3384 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\1 = "https://example.org"
3385 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\2 = "https://example.org:1234"
3386 Software\Policies\Mozilla\Firefox\Permissions\Camera\Block\1 = "https://example.edu"
3387 Software\Policies\Mozilla\Firefox\Permissions\Camera\BlockNewRequests = 0x1 | 0x0
3388 Software\Policies\Mozilla\Firefox\Permissions\Camera\Locked = 0x1 | 0x0
3389 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Allow\1 = "https://example.org"
3390 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Block\1 = "https://example.edu"
3391 Software\Policies\Mozilla\Firefox\Permissions\Microphone\BlockNewRequests = 0x1 | 0x0
3392 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Locked = 0x1 | 0x0
3393 Software\Policies\Mozilla\Firefox\Permissions\Location\Allow\1 = "https://example.org"
3394 Software\Policies\Mozilla\Firefox\Permissions\Location\Block\1 = "https://example.edu"
3395 Software\Policies\Mozilla\Firefox\Permissions\Location\BlockNewRequests = 0x1 | 0x0
3396 Software\Policies\Mozilla\Firefox\Permissions\Location\Locked = 0x1 | 0x0
3397 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Allow\1 = "https://example.org"
3398 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Block\1 = "https://example.edu"
3399 Software\Policies\Mozilla\Firefox\Permissions\Notifications\BlockNewRequests = 0x1 | 0x0
3400 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
3401 Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Allow\1 = "https://example.org"
3402 Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Block\1 = "https://example.edu"
3403 Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Default = "allow-audio-video" | "block-audio" | "block-audio-video"
3404 Software\Policies\Mozilla\Firefox\Permissions\Autoplay\Locked = 0x1 | 0x0
3405 Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Allow\1 = "https://example.org"
3406 Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Block\1 = "https://example.edu"
3407 Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\BlockNewRequests = 0x1 | 0x0
3408 Software\Policies\Mozilla\Firefox\Permissions\VirtualReality\Locked = 0x1 | 0x0
3409 ```
3410 #### Windows (Intune)
3411 OMA-URI:
3412 ```
3413 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Location/Location_BlockNewRequests
3414 ```
3415 Value (string):
3416 ```
3417 <enabled/> or <disabled/>
3418 ```
3419 OMA-URI:
3420 ```
3421 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Location/Location_Locked
3422 ```
3423 Value (string):
3424 ```
3425 <enabled/> or <disabled/>
3426 ```
3427 OMA-URI:
3428 ```
3429 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/Notifications_Allow
3430 ```
3431 Value (string):
3432 ```
3433 <enabled/>
3434 <data id="Permissions" value="1&#xF000;https://example.org"/>
3435 ```
3436 OMA-URI:
3437 ```
3438 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/Notifications_BlockNewRequests
3439 ```
3440 Value (string):
3441 ```
3442 <enabled/> or <disabled/>
3443 ```
3444 OMA-URI:
3445 ```
3446 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/Notifications_Locked
3447 ```
3448 Value (string):
3449 ```
3450 <enabled/> or <disabled/>
3451 ```
3452 OMA-URI:
3453 ```
3454 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Autoplay/Autoplay_Allow
3455 ```
3456 Value (string):
3457 ```
3458 <enabled/>
3459 <data id="Permissions" value="1&#xF000;https://example.org"/>
3460 ```
3461 OMA-URI:
3462 ```
3463 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Autoplay/Autoplay_Block
3464 ```
3465 Value (string):
3466 ```
3467 <enabled/>
3468 <data id="Permissions" value="1&#xF000;https://example.edu"/>
3469 ```
3470 OMA-URI:
3471 ```
3472 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Autoplay/Autoplay_Default
3473 ```
3474 Value (string):
3475 ```
3476 <enabled/>
3477 <data id="Autoplay_Default" value="allow-audio-video | block-audio | block-audio-video"/>
3478 ```
3479 OMA-URI:
3480 ```
3481 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Autoplay/Autoplay_Locked
3482 ```
3483 Value (string):
3484 ```
3485 <enabled/> or <disabled/>
3486 ```
3487 OMA-URI:
3488 ```
3489 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Allow
3490 ```
3491 Value (string):
3492 ```
3493 <enabled/>
3494 <data id="Permissions" value="1&#xF000;https://example.org"/>
3495 ```
3496 OMA-URI:
3497 ```
3498 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Block
3499 ```
3500 Value (string):
3501 ```
3502 <enabled/>
3503 <data id="Permissions" value="1&#xF000;https://example.edu"/>
3504 ```
3505 OMA-URI:
3506 ```
3507 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_BlockNewRequests
3508 ```
3509 Value (string):
3510 ```
3511 <enabled/> or <disabled/>
3512 ```
3513 OMA-URI:
3514 ```
3515 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Permissions~Notifications/VirtualReality_Locked
3516 ```
3517 Value (string):
3518 ```
3519 <enabled/> or <disabled/>
3520 ```
3521 #### macOS
3522 ```
3523 <dict>
3524 <key>Permissions</key>
3525 <dict>
3526 <key>Camera</key>
3527 <dict>
3528 <key>Allow</key>
3529 <array>
3530 <string>https://example.org</string>
3531 <string>https://example.org:1234</string>
3532 </array>
3533 <key>Block</key>
3534 <array>
3535 <string>https://example.edu</string>
3536 </array>
3537 <key>BlockNewRequests</key>
3538 <true/> | <false/>
3539 <key>Locked</key>
3540 <true/> | <false/>
3541 </dict>
3542 <key>Microphone</key>
3543 <dict>
3544 <key>Allow</key>
3545 <array>
3546 <string>https://example.org</string>
3547 </array>
3548 <key>Block</key>
3549 <array>
3550 <string>https://example.edu</string>
3551 </array>
3552 <key>BlockNewRequests</key>
3553 <true/> | <false/>
3554 <key>Locked</key>
3555 <true/> | <false/>
3556 </dict>
3557 <key>Location</key>
3558 <dict>
3559 <key>Allow</key>
3560 <array>
3561 <string>https://example.org</string>
3562 </array>
3563 <key>Block</key>
3564 <array>
3565 <string>https://example.edu</string>
3566 </array>
3567 <key>BlockNewRequests</key>
3568 <true/> | <false/>
3569 <key>Locked</key>
3570 <true/> | <false/>
3571 </dict>
3572 <key>Notifications</key>
3573 <dict>
3574 <key>Allow</key>
3575 <array>
3576 <string>https://example.org</string>
3577 </array>
3578 <key>Block</key>
3579 <array>
3580 <string>https://example.edu</string>
3581 </array>
3582 <key>BlockNewRequests</key>
3583 <true/>
3584 <key>Locked</key>
3585 <true/>
3586 </dict>
3587 <key>Autoplay</key>
3588 <dict>
3589 <key>Allow</key>
3590 <array>
3591 <string>https://example.org</string>
3592 </array>
3593 <key>Block</key>
3594 <array>
3595 <string>https://example.edu</string>
3596 </array>
3597 <key>Default</key>
3598 <string>allow-audio-video | block-audio | block-audio-video</string>
3599 <key>Locked</key>
3600 <true/> | <false/>
3601 </dict>
3602 </dict>
3603 </dict>
3604 ```
3605 #### policies.json
3606 ```
3607 {
3608 "policies": {
3609 "Permissions": {
3610 "Camera": {
3611 "Allow": ["https://example.org","https://example.org:1234"],
3612 "Block": ["https://example.edu"],
3613 "BlockNewRequests": true | false,
3614 "Locked": true | false
3615 },
3616 "Microphone": {
3617 "Allow": ["https://example.org"],
3618 "Block": ["https://example.edu"],
3619 "BlockNewRequests": true | false,
3620 "Locked": true | false
3621 },
3622 "Location": {
3623 "Allow": ["https://example.org"],
3624 "Block": ["https://example.edu"],
3625 "BlockNewRequests": true | false,
3626 "Locked": true | false
3627 },
3628 "Notifications": {
3629 "Allow": ["https://example.org"],
3630 "Block": ["https://example.edu"],
3631 "BlockNewRequests": true | false,
3632 "Locked": true | false
3633 },
3634 "Autoplay": {
3635 "Allow": ["https://example.org"],
3636 "Block": ["https://example.edu"],
3637 "Default": "allow-audio-video" | "block-audio" | "block-audio-video",
3638 "Locked": true | false
3639 }
3640 }
3641 }
3642 }
3643 ```
3644 ### PictureInPicture
3645
3646 Enable or disable Picture-in-Picture.
3647
3648 **Compatibility:** Firefox 78, Firefox ESR 78\
3649 **CCK2 Equivalent:** N/A\
3650 **Preferences Affected:** `media.videocontrols.picture-in-picture.video-toggle.enabled`
3651
3652 #### Windows (GPO)
3653 ```
3654 Software\Policies\Mozilla\Firefox\PictureInPicture = 0x1 | 0x0
3655 ```
3656 #### Windows (Intune)
3657 OMA-URI:
3658 ```
3659 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PictureInPicture
3660 ```
3661 Value (string):
3662 ```
3663 <enabled/> or <disabled/>
3664 ```
3665 #### macOS
3666 ```
3667 <dict>
3668 <key>PictureInPicture</key>
3669 <true/> | <false/>
3670 </dict>
3671 ```
3672 #### policies.json
3673 ```
3674 {
3675 "policies": {
3676 "PictureInPicture": true | false
3677 }
3678 }
3679 ```
3680 ### PopupBlocking
3681 Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
3682
3683 `Allow` is a list of origins where popup-windows are allowed.
3684
3685 `Default` determines whether or not pop-up windows are allowed by default.
3686
3687 `Locked` prevents the user from changing pop-up preferences.
3688
3689 **Compatibility:** Firefox 60, Firefox ESR 60\
3690 **CCK2 Equivalent:** `permissions.popup`\
3691 **Preferences Affected:** `dom.disable_open_during_load`
3692
3693 #### Windows (GPO)
3694 ```
3695 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\1 = "https://example.org"
3696 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\2 = "https://example.edu"
3697 Software\Policies\Mozilla\Firefox\PopupBlocking\Default = 0x1 | 0x0
3698 Software\Policies\Mozilla\Firefox\PopupBlocking\Locked = 0x1 | 0x0
3699 ```
3700 #### Windows (Intune)
3701 OMA-URI:
3702 ```
3703 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Popups/PopupBlocking_Allow
3704 ```
3705 Value (string):
3706 ```
3707 <enabled/>
3708 <data id="Permissions" value="1&#xF000;https://example.org&#xF000;2&#xF000;https://example.edu"/>
3709 ```
3710 OMA-URI:
3711 ```
3712 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Popups/PopupBlocking_Default
3713 ```
3714 Value (string):
3715 ```
3716 <enabled/> or <disabled/>
3717 ```
3718 OMA-URI:
3719 ```
3720 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Popups/PopupBlocking_Locked
3721 ```
3722 Value (string):
3723 ```
3724 <enabled/> or <disabled/>
3725 ```
3726 #### macOS
3727 ```
3728 <dict>
3729 <key>PopupBlocking</key>
3730 <dict>
3731 <key>Allow</key>
3732 <array>
3733 <string>http://example.org</string>
3734 <string>http://example.edu</string>
3735 </array>
3736 <key>Default</key>
3737 <true/> | <false/>
3738 <key>Locked</key>
3739 <true/> | <false/>
3740 </dict>
3741 </dict>
3742 ```
3743 #### policies.json
3744 ```
3745 {
3746 "policies": {
3747 "PopupBlocking": {
3748 "Allow": ["http://example.org/",
3749 "http://example.edu/"],
3750 "Default": true | false,
3751 "Locked": true | false
3752 }
3753 }
3754 }
3755 ```
3756 ### Preferences
3757 Set and lock preferences.
3758
3759 **NOTE** On Windows, in order to use this policy, you must clear all settings in the old **Preferences (Deprecated)** section.
3760
3761 Previously you could only set and lock a subset of preferences. Starting with Firefox 81 and Firefox ESR 78.3 you can set many more preferences. You can also set default preferences, user preferences and you can clear preferences.
3762
3763 Preferences that start with the following prefixes are supported:
3764 ```
3765 accessibility.
3766 browser.
3767 datareporting.policy.
3768 dom.
3769 extensions.
3770 general.autoScroll (Firefox 83, Firefox ESR 78.5)
3771 general.smoothScroll (Firefox 83, Firefox ESR 78.5)
3772 geo.
3773 intl.
3774 layout.
3775 media.
3776 network.
3777 places.
3778 print.
3779 signon. (Firefox 83, Firefox ESR 78.5)
3780 ui.
3781 widget.
3782 ```
3783 as well as the following security preferences:
3784 | Preference | Type | Default
3785 | --- | --- | ---
3786 | security.default_personal_cert | string | Ask Every Time
3787 | &nbsp;&nbsp;&nbsp;&nbsp;If set to Select Automatically, Firefox automatically chooses the default personal certificate.
3788 | security.insecure_connection_text.enabled | bool | false
3789 | &nbsp;&nbsp;&nbsp;&nbsp;If set to true, adds the words "Not Secure" for insecure sites.
3790 | security.insecure_connection_text.pbmode.enabled | bool | false
3791 | &nbsp;&nbsp;&nbsp;&nbsp;If set to true, adds the words "Not Secure" for insecure sites in private browsing.
3792 | security.insecure_field_warning.contextual.enabled | bool | true
3793 | &nbsp;&nbsp;&nbsp;&nbsp;If set to false, remove the warning for inscure login fields.
3794 | security.mixed_content.block_active_content | boolean | true
3795 | &nbsp;&nbsp;&nbsp;&nbsp;If false, mixed active content (HTTP and HTTPS) is not blocked.
3796 | security.osclientcerts.autoload | boolean | false
3797 | &nbsp;&nbsp;&nbsp;&nbsp;If true, client certificates are loaded from the operating system certificate store.
3798 | security.ssl.errorReporting.enabled | boolean | true
3799 | &nbsp;&nbsp;&nbsp;&nbsp;If false, SSL errors cannot be sent to Mozilla.
3800 | security.tls.hello_downgrade_check | boolean | true
3801 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the TLS 1.3 downgrade check is disabled.
3802 | security.warn_submit_secure_to_insecure | boolean | true
3803 | &nbsp;&nbsp;&nbsp;&nbsp;If false, no warning is shown when submitting s form from https to http.
3804 &nbsp;
3805
3806 Using the preference as the key, set the `Value` to the corresponding preference value.
3807
3808 `Status` can be "default", "locked", "user" or "clear"
3809
3810 Default preferences can be modified by the user.
3811
3812 If a value is locked, it is also set as the default.
3813
3814 User preferences persist across invocations of Firefox. It is the equivalent of a user setting the preference. They are most useful when a preference is needed very early in startup so it can't be set as default by policy.
3815
3816 User preferences persist even if the policy is removed, so if you need to remove them, you should use the clear policy.
3817
3818 See the examples below for more detail.
3819
3820 IMPORTANT: Make sure you're only setting a particular preference using this mechanism and not some other way.
3821
3822 Status
3823 **Compatibility:** Firefox 81, Firefox ESR 78.3\
3824 **CCK2 Equivalent:** `preferences`\
3825 **Preferences Affected:** Many
3826
3827 #### Windows (GPO)
3828 ```
3829 Software\Policies\Mozilla\Firefox\Preferences (REG_MULTI_SZ) =
3830 {
3831 "accessibility.force_disabled": {
3832 "Value": 1,
3833 "Status": "default"
3834 },
3835 "browser.cache.disk.parent_directory": {
3836 "Value": "SOME_NATIVE_PATH",
3837 "Status": "user"
3838 },
3839 "browser.tabs.warnOnClose": {
3840 "Value": false,
3841 "Status": "locked"
3842 }
3843 }
3844 ```
3845 #### Windows (Intune)
3846 OMA-URI:
3847 ```
3848 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Preferences
3849 ```
3850 Value (string):
3851 ```
3852 <enabled/>
3853 <data id="Preferences" value='
3854 {
3855 "accessibility.force_disabled": {
3856 "Value": 1,
3857 "Status": "default"
3858 },
3859 "browser.cache.disk.parent_directory": {
3860 "Value": "SOME_NATIVE_PATH",
3861 "Status": "user"
3862 },
3863 "browser.tabs.warnOnClose": {
3864 "Value": false,
3865 "Status": "locked"
3866 }
3867 }'/>
3868 ```
3869 #### macOS
3870 ```
3871 <dict>
3872 <key>Preferences</key>
3873 <dict>
3874 <key>accessibility.force_disabled</key>
3875 <dict>
3876 <key>Value</key>
3877 <integer>1</integer>
3878 <key>Status</key>
3879 <string>default</string>
3880 </dict>
3881 <key>browser.cache.disk.parent_directory</key>
3882 <dict>
3883 <key>Value</key>
3884 <string>SOME_NATIVE_PATH</string>
3885 <key>Status</key>
3886 <string>user</string>
3887 </dict>
3888 <key>browser.tabs.warnOnClose</key>
3889 <dict>
3890 <key>Value</key>
3891 <false/>
3892 <key>Status</key>
3893 <string>locked</string>
3894 </dict>
3895 </dict>
3896 </dict>
3897 ```
3898 #### policies.json
3899 ```
3900 {
3901 "policies": {
3902 "Preferences": {
3903 "accessibility.force_disabled": {
3904 "Value": 1,
3905 "Status": "default"
3906 },
3907 "browser.cache.disk.parent_directory": {
3908 "Value": "SOME_NATIVE_PATH",
3909 "Status": "user"
3910 },
3911 "browser.tabs.warnOnClose": {
3912 "Value": false,
3913 "Status": "locked"
3914 }
3915 }
3916 }
3917 }
3918 ```
3919 ### Preferences (Deprecated)
3920 Set and lock certain preferences.
3921
3922 **Compatibility:** See below\
3923 **CCK2 Equivalent:** `preferences`\
3924 **Preferences Affected:** See below
3925
3926 | Preference | Type | Compatibility | Default
3927 | --- | --- | --- | ---
3928 | accessibility.force_disabled | integer | Firefox 70, Firefox ESR 68.2 | 0
3929 | &nbsp;&nbsp;&nbsp;&nbsp;If set to 1, platform accessibility is disabled.
3930 | app.update.auto (Deprecated - Switch to AppAutoUpdate policy) | boolean | Firefox 68, Firefox ESR 68 | true
3931 | &nbsp;&nbsp;&nbsp;&nbsp;If false, Firefox doesn't automatically install update.
3932 | browser.bookmarks.autoExportHTML | boolean | Firefox 70, Firefox ESR 68.2 | false
3933 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are exported on shutdown.
3934 | browser.bookmarks.file | string | Firefox 70, Firefox ESR 68.2 | N/A
3935 | &nbsp;&nbsp;&nbsp;&nbsp;If set, the name of the file where bookmarks are exported and imported.
3936 | browser.bookmarks.restore_default_bookmarks | boolean | Firefox 70, Firefox ESR 68.2 | N/A
3937 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are restored to their defaults.
3938 | browser.cache.disk.enable | boolean | Firefox 68, Firefox ESR 68 | true
3939 | &nbsp;&nbsp;&nbsp;&nbsp;If false, don't store cache on the hard drive.
3940 | ~browser.cache.disk.parent_directory~ | string | Firefox 68, Firefox ESR 68 | Profile temporary directory
3941 | &nbsp;&nbsp;&nbsp;&nbsp;~If set, changes the location of the disk cache.~ This policy doesn't work. It's being worked on.
3942 | browser.fixup.dns_first_for_single_words | boolean | Firefox 68, Firefox ESR 68 | false
3943 | &nbsp;&nbsp;&nbsp;&nbsp;If true, single words are sent to DNS, not directly to search.
3944 | browser.newtabpage.activity-stream.default.sites | string | Firefox 72, ESR 68.4 | Locale dependent
3945 | &nbsp;&nbsp;&nbsp;&nbsp;If set, a list of URLs to use as the default top sites on the new tab page. Due to Firefox limitations, search sites can't be added. In addition, sites with the same name but different TLDs (example.org/example.com) will not display properly.
3946 | browser.places.importBookmarksHTML | boolean | Firefox 70, Firefox ESR 68.2
3947 | &nbsp;&nbsp;&nbsp;&nbsp;If true, bookmarks are always imported on startup.
3948 | browser.safebrowsing.phishing.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
3949 | &nbsp;&nbsp;&nbsp;&nbsp;If false, phishing protection is not enabled (Not recommended)
3950 | browser.safebrowsing.malware.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
3951 | &nbsp;&nbsp;&nbsp;&nbsp;If false, malware protection is not enabled (Not recommended)
3952 | browser.search.update | boolean | Firefox 68, Firefox ESR 68 | true
3953 | &nbsp;&nbsp;&nbsp;&nbsp;If false, updates for search engines are not checked.
3954 | browser.slowStartup.notificationDisabled | boolean | Firefox 70, Firefox ESR 68.2 | false
3955 | &nbsp;&nbsp;&nbsp;&nbsp;If true, a notification isn't shown if startup is slow.
3956 | browser.tabs.warnOnClose | boolean | Firefox 68, Firefox ESR 68 | true
3957 | &nbsp;&nbsp;&nbsp;&nbsp;If false, there is no warning when the browser is closed.
3958 | browser.taskbar.previews.enable | boolean | Firefox 70, Firefox ESR 68.2 (Windows only) | false
3959 | &nbsp;&nbsp;&nbsp;&nbsp;If true, tab previews are shown in the Windows taskbar.
3960 | browser.urlbar.suggest.bookmark | boolean | Firefox 68, Firefox ESR 68 | true
3961 | &nbsp;&nbsp;&nbsp;&nbsp;If false, bookmarks aren't suggested when typing in the URL bar.
3962 | browser.urlbar.suggest.history | boolean | Firefox 68, Firefox ESR 68 | true
3963 | &nbsp;&nbsp;&nbsp;&nbsp;If false, history isn't suggested when typing in the URL bar.
3964 | browser.urlbar.suggest.openpage | boolean | Firefox 68, Firefox ESR 68 | true
3965 | &nbsp;&nbsp;&nbsp;&nbsp;If false, open tabs aren't suggested when typing in the URL bar.
3966 | datareporting.policy.dataSubmissionPolicyBypassNotification | boolean | Firefox 68, Firefox ESR 68 | false
3967 | &nbsp;&nbsp;&nbsp;&nbsp;If true, don't show the privacy policy tab on first run.
3968 | dom.allow_scripts_to_close_windows | boolean | Firefox 70, Firefox ESR 68.2 | false
3969 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web page can close windows.
3970 | dom.disable_window_flip | boolean | Firefox 68, Firefox ESR 68 | true
3971 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web pages can focus and activate windows.
3972 | dom.disable_window_move_resize | boolean | Firefox 68, Firefox ESR 68 | false
3973 | &nbsp;&nbsp;&nbsp;&nbsp;If true, web pages can't move or resize windows.
3974 | dom.event.contextmenu.enabled | boolean | Firefox 68, Firefox ESR 68 | true
3975 | &nbsp;&nbsp;&nbsp;&nbsp;If false, web pages can't override context menus.
3976 | dom.keyboardevent.keypress.hack.dispatch_non_printable_keys.addl | string | Firefox 68, Firefox ESR 68 | N/A
3977 | &nbsp;&nbsp;&nbsp;&nbsp;See https://support.mozilla.org/en-US/kb/dom-events-changes-introduced-firefox-66
3978 | dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode.addl | string | Firefox 68, Firefox ESR 68 | N/A
3979 | &nbsp;&nbsp;&nbsp;&nbsp;See https://support.mozilla.org/en-US/kb/dom-events-changes-introduced-firefox-66
3980 | dom.xmldocument.load.enabled | boolean | Firefox ESR 68.5 | true.
3981 | &nbsp;&nbsp;&nbsp;&nbsp;If false, XMLDocument.load is not available.
3982 | dom.xmldocument.async.enabled | boolean | Firefox ESR 68.5 | true
3983 | &nbsp;&nbsp;&nbsp;&nbsp;If false, XMLDocument.async is not available.
3984 | extensions.blocklist.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
3985 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the extensions blocklist is not used (Not recommended)
3986 | extensions.getAddons.showPane | boolean | Firefox 68, Firefox ESR 68 | N/A
3987 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Recommendations tab is not displayed in the Add-ons Manager.
3988 | extensions.htmlaboutaddons.recommendations.enabled | boolean | Firefox 72, Firefox ESR 68.4 | true
3989 | &nbsp;&nbsp;&nbsp;&nbsp;If false, recommendations are not shown on the Extensions tab in the Add-ons Manager.
3990 | geo.enabled | boolean | Firefox 70, Firefox ESR 68.2 | true
3991 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the geolocation API is disabled. | Language dependent
3992 | intl.accept_languages | string | Firefox 70, Firefox ESR 68.2
3993 | &nbsp;&nbsp;&nbsp;&nbsp;If set, preferred language for web pages.
3994 | media.eme.enabled (Deprecated - Switch to EncryptedMediaExtensions policy) | boolean | Firefox 70, Firefox ESR 68.2 | true
3995 | &nbsp;&nbsp;&nbsp;&nbsp;If false, Encrypted Media Extensions are not enabled.
3996 | media.gmp-gmpopenh264.enabled | boolean | Firefox 68, Firefox ESR 68 | true
3997 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the OpenH264 plugin is not downloaded.
3998 | media.gmp-widevinecdm.enabled | boolean | Firefox 68, Firefox ESR 68 | true
3999 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Widevine plugin is not downloaded.
4000 | media.peerconnection.enabled | boolean | Firefox 72, Firefox ESR 68.4 | true
4001 | &nbsp;&nbsp;&nbsp;&nbsp;If false, WebRTC is disabled
4002 | media.peerconnection.ice.obfuscate_host_addresses.whitelist (Deprecated) | string | Firefox 72, Firefox ESR 68.4 | N/A
4003 | &nbsp;&nbsp;&nbsp;&nbsp;If set, a list of domains for which mDNS hostname obfuscation is
4004 disabled
4005 | media.peerconnection.ice.obfuscate_host_addresses.blocklist | string | Firefox 79, Firefox ESR 78.1 | N/A
4006 | &nbsp;&nbsp;&nbsp;&nbsp;If set, a list of domains for which mDNS hostname obfuscation is
4007 disabled
4008 | network.dns.disableIPv6 | boolean | Firefox 68, Firefox ESR 68 | false
4009 | &nbsp;&nbsp;&nbsp;&nbsp;If true, IPv6 DNS lokoups are disabled.
4010 | network.IDN_show_punycode | boolean | Firefox 68, Firefox ESR 68 | false
4011 | &nbsp;&nbsp;&nbsp;&nbsp;If true, display the punycode version of internationalized domain names.
4012 | places.history.enabled | boolean | Firefox 68, Firefox ESR 68 | true
4013 | &nbsp;&nbsp;&nbsp;&nbsp;If false, history is not enabled.
4014 | print.save_print_settings | boolean | Firefox 70, Firefox ESR 68.2 | true
4015 | &nbsp;&nbsp;&nbsp;&nbsp;If false, print settings are not saved between jobs.
4016 | security.default_personal_cert | string | Firefox 68, Firefox ESR 68 | Ask Every Time
4017 | &nbsp;&nbsp;&nbsp;&nbsp;If set to Select Automatically, Firefox automatically chooses the default personal certificate.
4018 | security.mixed_content.block_active_content | boolean | Firefox 70, Firefox ESR 68.2 | true
4019 | &nbsp;&nbsp;&nbsp;&nbsp;If false, mixed active content (HTTP and HTTPS) is not blocked.
4020 | security.osclientcerts.autoload | boolean | Firefox 72 (Windows), Firefox 75 (macOS) | false
4021 | &nbsp;&nbsp;&nbsp;&nbsp;If true, client certificates are loaded from the operating system certificate store.
4022 | security.ssl.errorReporting.enabled | boolean | Firefox 68, Firefox ESR 68 | true
4023 | &nbsp;&nbsp;&nbsp;&nbsp;If false, SSL errors cannot be sent to Mozilla.
4024 | security.tls.hello_downgrade_check | boolean | Firefox 72, Firefox ESR 68.4 | true
4025 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the TLS 1.3 downgrade check is disabled.
4026 | ui.key.menuAccessKeyFocuses | boolean | Firefox 68, Firefox ESR 68 | true
4027 | &nbsp;&nbsp;&nbsp;&nbsp;If false, the Alt key doesn't show the menubar on Windows.
4028 | widget.content.gtk-theme-override | string | Firefox 72, Firefox ESR 68.4 (Linux only) | N/A
4029 | &nbsp;&nbsp;&nbsp;&nbsp;If set, overrides the GTK theme for widgets.
4030 #### Windows (GPO)
4031 ```
4032 Software\Policies\Mozilla\Firefox\Preferences\boolean_preference_name = 0x1 | 0x0
4033 Software\Policies\Mozilla\Firefox\Preferences\string_preference_name = "string_value"
4034 ```
4035 #### Windows (Intune)
4036 OMA-URI: (periods are replaced by underscores)
4037 ```
4038 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Preferences/boolean_preference_name
4039 ```
4040 Value (string):
4041 ```
4042 <enabled/> or <disabled/>
4043 ```
4044 OMA-URI: (periods are replaced by underscores)
4045 ```
4046 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Preferences/string_preference_name
4047 ```
4048 Value (string):
4049 ```
4050 <enabled/>
4051 <data id="Preferences_String" value="string_value"/>
4052 ```
4053 #### macOS
4054 ```
4055 <dict>
4056 <key>Preferences</key>
4057 <dict>
4058 <key>boolean_preference_name</key>
4059 <true/> | <false/>
4060 <key>string_preference_name</key>
4061 <string>string_value</string>
4062 </dict>
4063 </dict>
4064 ```
4065 #### policies.json
4066 ```
4067 {
4068 "policies": {
4069 "Preferences": {
4070 "boolean_preference_name": true | false,
4071 "string_preference_name": "string_value"
4072 }
4073 }
4074 }
4075 ```
4076 ### PromptForDownloadLocation
4077 Ask where to save each file before downloading.
4078
4079 **Compatibility:** Firefox 68, Firefox ESR 68\
4080 **CCK2 Equivalent:** N/A\
4081 **Preferences Affected:** `browser.download.useDownloadDir`
4082
4083 #### Windows (GPO)
4084 ```
4085 Software\Policies\Mozilla\Firefox\PromptForDownloadLocation = 0x1 | 0x0
4086 ```
4087 #### Windows (Intune)
4088 OMA-URI:
4089 ```
4090 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PromptForDownloadLocation
4091 ```
4092 Value (string):
4093 ```
4094 <enabled/> or <disabled/>
4095 ```
4096 #### macOS
4097 ```
4098 <dict>
4099 <key>PromptForDownloadLocation</key>
4100 <true/> | <false/>
4101 </dict>
4102 ```
4103 #### policies.json
4104 ```
4105 {
4106 "policies": {
4107 "PromptForDownloadLocation": true | false
4108 }
4109 }
4110 ```
4111 ### Proxy
4112 Configure proxy settings. These settings correspond to the connection settings in Firefox preferences.
4113 To specify ports, append them to the hostnames with a colon (:).
4114
4115 `Mode` is the proxy method being used.
4116
4117 `Locked` is whether or not proxy settings can be changed.
4118
4119 `HTTPProxy` is the HTTP proxy server.
4120
4121 `UseHTTPProxyForAllProtocols` is whether or not the HTTP proxy should be used for all other proxies.
4122
4123 `SSLProxy` is the SSL proxy server.
4124
4125 `FTPProxy` is the FTP proxy server.
4126
4127 `SOCKSProxy` is the SOCKS proxy server
4128
4129 `SOCKSVersion` is the SOCKS version (4 or 5)
4130
4131 `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.
4132
4133 `AutoConfigURL` is a URL for proxy configuration (only used if Mode is autoConfig).
4134
4135 `AutoLogin` means do not prompt for authentication if password is saved.
4136
4137 `UseProxyForDNS` to use proxy DNS when using SOCKS v5.
4138
4139 **Compatibility:** Firefox 60, Firefox ESR 60\
4140 **CCK2 Equivalent:** `networkProxy*`\
4141 **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`
4142
4143 #### Windows (GPO)
4144 ```
4145 Software\Policies\Mozilla\Firefox\Proxy\Mode = "none" | "system" | "manual" | "autoDetect" | "autoConfig"
4146 Software\Policies\Mozilla\Firefox\Proxy\Locked = 0x1 | 0x0
4147 Software\Policies\Mozilla\Firefox\=Proxy\HTTPProxy = https://httpproxy.example.com
4148 Software\Policies\Mozilla\Firefox\Proxy\UseHTTPProxyForAllProtocols = 0x1 | 0x0
4149 Software\Policies\Mozilla\Firefox\Proxy\SSLProxy = https://sslproxy.example.com
4150 Software\Policies\Mozilla\Firefox\Proxy\FTPProxy = https://ftpproxy.example.com
4151 Software\Policies\Mozilla\Firefox\Proxy\SOCKSProxy = https://socksproxy.example.com
4152 Software\Policies\Mozilla\Firefox\Proxy\SOCKSVersion = 0x4 | 0x5
4153 Software\Policies\Mozilla\Firefox\Proxy\Passthrough = <local>
4154 Software\Policies\Mozilla\Firefox\Proxy\AutoConfigURL = URL_TO_AUTOCONFIG
4155 Software\Policies\Mozilla\Firefox\Proxy\AutoLogin = 0x1 | 0x0
4156 Software\Policies\Mozilla\Firefox\Proxy\UseProxyForDNS = 0x1 | 0x0
4157 ```
4158 #### Windows (Intune)
4159 OMA-URI:
4160 ```
4161 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/Proxy
4162 ```
4163 Value (string):
4164 ```
4165 <enabled/>
4166 <data id="ProxyLocked" value="true | false"/>
4167 <data id="ConnectionType" value="none | system | manual | autoDetect | autoConfig"/>
4168 <data id="HTTPProxy" value="https://httpproxy.example.com"/>
4169 <data id="UseHTTPProxyForAllProtocols" value="true | false"/>
4170 <data id="SSLProxy" value="https://sslproxy.example.com"/>
4171 <data id="FTPProxy" value="https://ftpproxy.example.com"/>
4172 <data id="SOCKSProxy" value="https://socksproxy.example.com"/>
4173 <data id="SOCKSVersion" value="4 | 5"/>
4174 <data id="AutoConfigURL" value="URL_TO_AUTOCONFIG"/>
4175 <data id="Passthrough" value="<local>"/>
4176 <data id="AutoLogin" value="true | false"/>
4177 <data id="UseProxyForDNS" value="true | false"/>
4178 ```
4179 #### macOS
4180 ```
4181 <dict>
4182 <key>Proxy</key>
4183 <dict>
4184 <key>Mode</key>
4185 <string>none | system | manual | autoDetect | autoConfig</string>
4186 <key>Locked</key>
4187 <true> | </false>
4188 <key>HTTPProxy</key>
4189 <string>https://httpproxy.example.com</string>
4190 <key>UseHTTPProxyForAllProtocols</key>
4191 <true> | </false>
4192 <key>SSLProxy</key>
4193 <string>https://sslproxy.example.com</string>
4194 <key>FTPProxy</key>
4195 <string>https://ftpproxy.example.com</string>
4196 <key>SOCKSProxy</key>
4197 <string>https://socksproxy.example.com</string>
4198 <key>SOCKSVersion</key>
4199 <string>4 | 5</string>
4200 <key>Passthrough</key>
4201 <string>&lt;local>&gt;</string>
4202 <key>AutoConfigURL</key>
4203 <string>URL_TO_AUTOCONFIG</string>
4204 <key>AutoLogin</key>
4205 <true> | </false>
4206 <key>UseProxyForDNS</key>
4207 <true> | </false>
4208 </dict>
4209 </dict>
4210 ```
4211 #### policies.json
4212 ```
4213 {
4214 "policies": {
4215 "Proxy": {
4216 "Mode": "none" | "system" | "manual" | "autoDetect" | "autoConfig",
4217 "Locked": true | false,
4218 "HTTPProxy": "hostname",
4219 "UseHTTPProxyForAllProtocols": true | false,
4220 "SSLProxy": "hostname",
4221 "FTPProxy": "hostname",
4222 "SOCKSProxy": "hostname",
4223 "SOCKSVersion": 4 | 5
4224 "Passthrough": "<local>",
4225 "AutoConfigURL": "URL_TO_AUTOCONFIG",
4226 "AutoLogin": true | false,
4227 "UseProxyForDNS": true | false
4228 }
4229 }
4230 }
4231 ```
4232 ### RequestedLocales
4233 Set the the list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.
4234
4235 Note: For Firefox 68, this can now be a string so that you can specify an empty value.
4236
4237 **Compatibility:** Firefox 64, Firefox ESR 60.4, Updated in Firefox 68, Firefox ESR 68\
4238 **CCK2 Equivalent:** N/A\
4239 **Preferences Affected:** N/A
4240 #### Windows (GPO)
4241 ```
4242 Software\Policies\Mozilla\Firefox\RequestedLocales\1 = "de"
4243 Software\Policies\Mozilla\Firefox\RequestedLocales\2 = "en-US"
4244
4245 or
4246
4247 Software\Policies\Mozilla\Firefox\RequestedLocales = "de,en-US"
4248 ```
4249 #### Windows (Intune)
4250 OMA-URI:
4251 ```
4252 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/RequestedLocalesString
4253 ```
4254 Value (string):
4255 ```
4256 <enabled/>
4257 <data id="Preferences_String" value="de,en-US"/>
4258 ```
4259 #### macOS
4260 ```
4261 <dict>
4262 <key>RequestedLocales</key>
4263 <array>
4264 <string>de</string>
4265 <string>en-US</string>
4266 </array>
4267 </dict>
4268
4269 or
4270
4271 <dict>
4272 <key>RequestedLocales</key>
4273 <string>de,en-US</string>
4274 </dict>
4275
4276 ```
4277 #### policies.json
4278 ```
4279 {
4280 "policies": {
4281 "RequestedLocales": ["de", "en-US"]
4282 }
4283 }
4284
4285 or
4286
4287 {
4288 "policies": {
4289 "RequestedLocales": "de,en-US"
4290 }
4291 }
4292 ```
4293 <a name="SanitizeOnShutdown"></a>
4294
4295 ### SanitizeOnShutdown (Selective)
4296 Clear data on shutdown. Choose from Cache, Cookies, Download History, Form & Search History, Browsing History, Active Logins, Site Preferences and Offline Website Data.
4297
4298 Previously, these values were always locked. Starting with Firefox 74 and Firefox ESR 68.6, you can use the `Locked` option to either keep the values unlocked (set it to false), or lock only the values you set (set it to true). If you want the old behavior of locking everything, do not set `Locked` at all.
4299
4300 **Compatibility:** Firefox 68, Firefox ESR 68 (Locked added in 74/68.6)\
4301 **CCK2 Equivalent:** N/A\
4302 **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`
4303 #### Windows (GPO)
4304 ```
4305 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cache = 0x1 | 0x0
4306 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cookies = 0x1 | 0x0
4307 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Downloads = 0x1 | 0x0
4308 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\FormData = 0x1 | 0x0
4309 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\History = 0x1 | 0x0
4310 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Sessions = 0x1 | 0x0
4311 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\SiteSettings = 0x1 | 0x0
4312 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\OfflineApps = 0x1 | 0x0
4313 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Locked = 0x1 | 0x0
4314 ```
4315 #### Windows (Intune)
4316 OMA-URI:
4317 ```
4318 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/I_SanitizeOnShutdown_Locked
4319 ```
4320 Value (string):
4321 ```
4322 <enabled/> or <disabled/>
4323 ```
4324 #### macOS
4325 ```
4326 <dict>
4327 <key>SanitizeOnShutdown</key>
4328 <dict>
4329 <key>Cache</key>
4330 <true/> | <false/>
4331 <key>Cookies</key>
4332 <true/> | <false/>
4333 <key>Downloads</key>
4334 <true/> | <false/>
4335 <key>FormData</key>
4336 <true/> | <false/>
4337 <key>History</key>
4338 <true/> | <false/>
4339 <key>Sessions</key>
4340 <true/> | <false/>
4341 <key>SiteSettings</key>
4342 <true/> | <false/>
4343 <key>OfflineApps</key>
4344 <true/> | <false/>
4345 <key>Locked</key>
4346 <true/> | <false/>
4347 </dict>
4348 </dict>
4349 ```
4350 #### policies.json
4351 ```
4352 {
4353 "policies": {
4354 "SanitizeOnShutdown": {
4355 "Cache": true | false,
4356 "Cookies": true | false,
4357 "Downloads": true | false,
4358 "FormData": true | false,
4359 "History": true | false,
4360 "Sessions": true | false,
4361 "SiteSettings": true | false,
4362 "OfflineApps": true | false,
4363 "Locked": true | false
4364 }
4365 }
4366 }
4367 ```
4368 ### SanitizeOnShutdown (All)
4369 Clear all data on shutdown, including Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
4370
4371 **Compatibility:** Firefox 60, Firefox ESR 60\
4372 **CCK2 Equivalent:** N/A\
4373 **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`
4374 #### Windows (GPO)
4375 ```
4376 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown = 0x1 | 0x0
4377 ```
4378 #### Windows (Intune)
4379 OMA-URI:
4380 ```
4381 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/C_SanitizeOnShutdown
4382 ```
4383 Value (string):
4384 ```
4385 <enabled/> or <disabled/>
4386 ```
4387 #### macOS
4388 ```
4389 <dict>
4390 <key>SanitizeOnShutdown</key>
4391 <true/> | <false/>
4392 </dict>
4393 ```
4394 #### policies.json
4395 ```
4396 {
4397 "policies": {
4398 "SanitizeOnShutdown": true | false
4399 }
4400 }
4401 ```
4402 ### SearchBar
4403 Set whether or not search bar is displayed.
4404
4405 **Compatibility:** Firefox 60, Firefox ESR 60\
4406 **CCK2 Equivalent:** `showSearchBar`\
4407 **Preferences Affected:** N/A
4408
4409 #### Windows (GPO)
4410 ```
4411 Software\Policies\Mozilla\Firefox\SearchBar = "unified" | "separate"
4412 ```
4413
4414 #### Windows (Intune)
4415 OMA-URI:
4416 ```
4417 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SearchBar
4418 ```
4419 Value (string):
4420 ```
4421 <enabled/>
4422 <data id="Permissions" value="unified | separate"/>
4423 ```
4424 #### macOS
4425 ```
4426 <dict>
4427 <key>SearchBar</key>
4428 <string>unified | separate</string>
4429 </dict>
4430 ```
4431 #### policies.json
4432 ```
4433 {
4434 "policies": {
4435 "SearchBar": "unified" | "separate"
4436 }
4437 }
4438 ```
4439 <a name="SearchEngines"></a>
4440
4441 ### SearchEngines (This policy is only available on the ESR.)
4442
4443 ### SearchEngines | Default
4444
4445 Set the default search engine. This policy is only available on the ESR.
4446
4447 **Compatibility:** Firefox ESR 60\
4448 **CCK2 Equivalent:** `defaultSearchEngine`\
4449 **Preferences Affected:** N/A
4450
4451 #### Windows (GPO)
4452 ```
4453 Software\Policies\Mozilla\Firefox\SearchEngines\Default = NAME_OF_SEARCH_ENGINE
4454 ```
4455 #### Windows (Intune)
4456 OMA-URI:
4457 ```
4458 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_Default
4459 ```
4460 Value (string):
4461 ```
4462 <enabled/>
4463 <data id="SearchEngines_Default" value="NAME_OF_SEARCH_ENGINE"/>
4464 ```
4465 #### macOS
4466 ```
4467 <dict>
4468 <key>SearchEngines</key>
4469 <dict>
4470 <key>Default</key>
4471 <string>NAME_OF_SEARCH_ENGINE</string>
4472 </dict>
4473 </dict>
4474 ```
4475 #### policies.json
4476 ```
4477 {
4478 "policies": {
4479 "SearchEngines": {
4480 "Default": "NAME_OF_SEARCH_ENGINE"
4481 }
4482 }
4483 }
4484 ```
4485 ### SearchEngines | PreventInstalls
4486
4487 Prevent installing search engines from webpages.
4488
4489 **Compatibility:** Firefox ESR 60\
4490 **CCK2 Equivalent:** `disableSearchEngineInstall`\
4491 **Preferences Affected:** N/A
4492
4493 #### Windows (GPO)
4494 ```
4495 Software\Policies\Mozilla\Firefox\SearchEngines\PreventInstalls = 0x1 | 0x0
4496 ```
4497 #### Windows (Intune)
4498 OMA-URI:
4499 ```
4500 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_PreventInstalls
4501 ```
4502 Value (string):
4503 ```
4504 <enabled/> or <disabled/>
4505 ```
4506 #### macOS
4507 ```
4508 <dict>
4509 <key>SearchEngines</key>
4510 <dict>
4511 <key>PreventInstalls</key>
4512 <true/> | <false/>
4513 </dict>
4514 </dict>
4515 ```
4516 #### policies.json
4517 ```
4518 {
4519 "policies": {
4520 "SearchEngines": {
4521 "PreventInstalls": true | false
4522 }
4523 }
4524 }
4525 ```
4526 ### SearchEngines | Remove
4527
4528 Hide built-in search engines. This policy is only available on the ESR.
4529
4530 **Compatibility:** Firefox ESR 60.2\
4531 **CCK2 Equivalent:** `removeDefaultSearchEngines` (removed all built-in engines)\
4532 **Preferences Affected:** N/A
4533
4534 #### Windows (GPO)
4535 ```
4536 Software\Policies\Mozilla\Firefox\SearchEngines\Remove\1 = NAME_OF_SEARCH_ENGINE
4537 ```
4538 #### Windows (Intune)
4539 OMA-URI:
4540 ```
4541 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_Remove
4542 ```
4543 Value (string):
4544 ```
4545 <enabled/>
4546 <data id="SearchEngines_Remove" value="1&#xF000;NAME_OF_SEARCH_ENGINE"/>
4547 ```
4548 #### macOS
4549 ```
4550 <dict>
4551 <key>SearchEngines</key>
4552 <dict>
4553 <key>Remove</key>
4554 <array>
4555 <string>NAME_OF_SEARCH_ENGINE</string>
4556 </array>
4557 </dict>
4558 </dict>
4559 ```
4560 #### policies.json
4561 ```
4562 {
4563 "policies": {
4564 "SearchEngines": {
4565 "Remove": ["NAME_OF_SEARCH_ENGINE"]
4566 }
4567 }
4568 }
4569 ```
4570 ### SearchEngines | Add
4571
4572 Add new search engines (up to five). This policy is only available on the ESR. `Name` and `URLTemplate` are required.
4573
4574 `Name` is the name of the search engine.
4575
4576 `URLTemplate` is the search URL with {searchTerms} to substitute for the search term.
4577
4578 `Method` is either GET or POST
4579
4580 `IconURL` is a URL for the icon to use.
4581
4582 `Alias` is a keyword to use for the engine.
4583
4584 `Description` is a description of the search engine.
4585
4586 `PostData` is the POST data as name value pairs separated by &.
4587
4588 `SuggestURLTemplate` is a search suggestions URL with {searchTerms} to substitute for the search term.
4589
4590 **Compatibility:** Firefox ESR 60 (POST support in Firefox ESR 68)\
4591 **CCK2 Equivalent:** `searchplugins`\
4592 **Preferences Affected:** N/A
4593
4594 #### Windows (GPO)
4595 ```
4596 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Name = "Example1"
4597 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\URLTemplate = "https://www.example.org/q={searchTerms}"
4598 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Method = "GET" | "POST"
4599 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\IconURL = "https://www.example.org/favicon.ico"
4600 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Alias = "example"
4601 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Description = "Example Description"
4602 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\SuggestURLTemplate = "https://www.example.org/suggestions/q={searchTerms}"
4603 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\PostData = "name=value&q={searchTerms}"
4604 ```
4605 #### Windows (Intune)
4606 OMA-URI:
4607 ```
4608 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_1
4609 ```
4610 Value (string):
4611 ```
4612 <enabled/>
4613 <data id="SearchEngine_Name" value="Example1"/>
4614 <data id="SearchEngine_URLTemplate" value="https://www.example.org/q={searchTerms"/>
4615 <data id="SearchEngine_Method" value="GET | POST"/>
4616 <data id="SearchEngine_IconURL" value="https://www.example.org/favicon.ico"/>
4617 <data id="SearchEngine_Alias" value="example"/>
4618 <data id="SearchEngine_Description" value="Example Description"/>
4619 <data id="SearchEngine_SuggestURLTemplate" value="https://www.example.org/suggestions/q={searchTerms}"/>
4620 <data id="SearchEngine_PostData" value="name=value&amp;q={searchTerms}"/>
4621 ```
4622 #### macOS
4623 ```
4624 <dict>
4625 <key>SearchEngines</key>
4626 <dict>
4627 <key>Add</key>
4628 <array>
4629 <dict>
4630 <key>Name</key>
4631 <string>Example1</string>
4632 <key>URLTemplate</key>
4633 <string>https://www.example.org/q={searchTerms}</string>
4634 <key>Method</key>
4635 <string>GET | POST </string>
4636 <key>IconURL</key>
4637 <string>https://www.example.org/favicon.ico</string>
4638 <key>Alias</key>
4639 <string>example</string>
4640 <key>Description</key>
4641 <string>Example Description</string>
4642 <key>SuggestURLTemplate</key>
4643 <string>https://www.example.org/suggestions/q={searchTerms}</string>
4644 <key>PostData</key>
4645 <string>name=value&q={searchTerms}</string>
4646 </dict>
4647 <array>
4648 </dict>
4649 </dict>
4650 ```
4651 #### policies.json
4652 ```
4653 {
4654 "policies": {
4655 "SearchEngines": {
4656 "Add": [
4657 {
4658 "Name": "Example1",
4659 "URLTemplate": "https://www.example.org/q={searchTerms}",
4660 "Method": "GET" | "POST",
4661 "IconURL": "https://www.example.org/favicon.ico",
4662 "Alias": "example",
4663 "Description": "Description",
4664 "PostData": "name=value&q={searchTerms}",
4665 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
4666 }
4667 ]
4668 }
4669 }
4670 }
4671 ```
4672 ### SearchSuggestEnabled
4673
4674 Enable search suggestions.
4675
4676 **Compatibility:** Firefox 68, Firefox ESR 68\
4677 **CCK2 Equivalent:** N/A\
4678 **Preferences Affected:** `browser.urlbar.suggest.searches`,`browser.search.suggest.enabled`
4679
4680 #### Windows (GPO)
4681 ```
4682 Software\Policies\Mozilla\Firefox\SearchSuggestEnabled = 0x1 | 0x0
4683 ```
4684 #### Windows (Intune)
4685 OMA-URI:
4686 ```
4687 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchSuggestEnabled
4688 ```
4689 Value (string):
4690 ```
4691 <enabled/> or <disabled/>
4692 ```
4693 #### macOS
4694 ```
4695 <dict>
4696 <key>SearchSuggestEnabled</key>
4697 <true/> | <false/>
4698 </dict>
4699 ```
4700 #### policies.json
4701 ```
4702 {
4703 "policies": {
4704 "SearchSuggestEnabled": true | false
4705 }
4706 }
4707 ```
4708 ### SecurityDevices
4709
4710 Install PKCS #11 modules.
4711
4712 **Compatibility:** Firefox 64, Firefox ESR 60.4\
4713 **CCK2 Equivalent:** `certs.devices`\
4714 **Preferences Affected:** N/A
4715
4716 #### Windows (GPO)
4717 ```
4718 Software\Policies\Mozilla\Firefox\SecurityDevices\NAME_OF_DEVICE = PATH_TO_LIBRARY_FOR_DEVICE
4719 ```
4720 #### Windows (Intune)
4721 OMA-URI:
4722 ```
4723 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SecurityDevices
4724 ```
4725 Value (string):
4726 ```
4727 <enabled/>
4728 <data id="SecurityDevices" value="NAME_OF_DEVICE&#xF000;PATH_TO_LIBRARY_FOR_DEVICE"/>
4729 ```
4730 #### macOS
4731 ```
4732 <dict>
4733 <key>SecurityDevices</key>
4734 <dict>
4735 <key>NAME_OF_DEVICE</key>
4736 <string>PATH_TO_LIBRARY_FOR_DEVICE</string>
4737 </dict>
4738 </dict>
4739 ```
4740
4741 #### policies.json
4742 ```
4743 {
4744 "policies": {
4745 "SecurityDevices": {
4746 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
4747 }
4748 }
4749 }
4750 ```
4751 ### SSLVersionMax
4752
4753 Set and lock the maximum version of TLS.
4754
4755 **Compatibility:** Firefox 66, Firefox ESR 60.6\
4756 **CCK2 Equivalent:** N/A\
4757 **Preferences Affected:** `security.tls.version.max`
4758
4759 #### Windows (GPO)
4760 ```
4761 Software\Policies\Mozilla\Firefox\SSLVersionMax = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
4762 ```
4763 #### Windows (Intune)
4764 OMA-URI:
4765 ```
4766 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SSLVersionMax
4767 ```
4768 Value (string):
4769 ```
4770 <enabled/>
4771 <data id="SSLVersion" value="tls1 | tls1.2 | tls1.3"/>
4772 ```
4773 #### macOS
4774 ```
4775 <dict>
4776 <key>SSLVersionMax</key>
4777 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
4778 </dict>
4779 ```
4780
4781 #### policies.json
4782 ```
4783 {
4784 "policies": {
4785 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
4786 }
4787 }
4788 ```
4789 ### SSLVersionMin
4790
4791 Set and lock the minimum version of TLS.
4792
4793 **Compatibility:** Firefox 66, Firefox ESR 60.6\
4794 **CCK2 Equivalent:** N/A\
4795 **Preferences Affected:** `security.tls.version.min`
4796
4797 #### Windows (GPO)
4798 ```
4799 Software\Policies\Mozilla\Firefox\SSLVersionMin = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
4800 ```
4801 #### Windows (Intune)
4802 OMA-URI:
4803 ```
4804 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SSLVersionMin
4805 ```
4806 Value (string):
4807 ```
4808 <enabled/>
4809 <data id="SSLVersion" value="tls1 | tls1.2 | tls1.3"/>
4810 ```
4811 #### macOS
4812 ```
4813 <dict>
4814 <key>SSLVersionMin</key>
4815 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
4816 </dict>
4817 ```
4818
4819 #### policies.json
4820 ```
4821 {
4822 "policies": {
4823 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
4824 }
4825 }
4826 ```
4827 ### SupportMenu
4828 Add a menuitem to the help menu for specifying support information.
4829
4830 **Compatibility:** Firefox 68.0.1, Firefox ESR 68.0.1\
4831 **CCK2 Equivalent:** helpMenu\
4832 **Preferences Affected:** N/A
4833
4834 #### Windows (GPO)
4835 ```
4836 Software\Policies\Mozilla\Firefox\SupportMenu\Title = "Support Menu"
4837 Software\Policies\Mozilla\Firefox\SupportMenu\URL = "http://example.com/support"
4838 Software\Policies\Mozilla\Firefox\SupportMenu\AccessKey = "S"
4839 ```
4840 #### Windows (Intune)
4841 OMA-URI:
4842 ```
4843 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SupportMenu
4844 ```
4845 Value (string):
4846 ```
4847 <enabled/>
4848 <data id="SupportMenuTitle" value="Support Menu"/>
4849 <data id="SupportMenuURL" value="http://example.com/support"/>
4850 <data id="SupportMenuAccessKey" value="S">
4851 ```
4852 #### macOS
4853 ```
4854 <dict>
4855 <key>SupportMenu</key>
4856 <dict>
4857 <key>Title</key>
4858 <string>SupportMenu</string>
4859 <key>URL</key>
4860 <string>http://example.com/support</string>
4861 <key>AccessKey</key>
4862 <string>S</string>
4863 </dict>
4864 </dict>
4865 ```
4866 #### policies.json
4867 ```
4868 {
4869 "policies": {
4870 "SupportMenu": {
4871 "Title": "Support Menu",
4872 "URL": "http://example.com/support",
4873 "AccessKey": "S"
4874 }
4875 }
4876 }
4877 ```
4878 ### UserMessaging
4879
4880 Prevent Firefox from messaging the user in certain situations.
4881
4882 `WhatsNew` Remove the "What's New" icon and menuitem. (Firefox 75 only)
4883
4884 `ExtensionRecommendations` Don't recommend extensions while the user is visiting web pages.
4885
4886 `FeatureRecommendations` Don't recommend browser features.
4887
4888 `UrlbarInterventions` Don't offer Firefox specific suggestions in the URL bar. (Firefox 75 only)
4889
4890 **Compatibility:** Firefox 75, Firefox ESR 68.7\
4891 **CCK2 Equivalent:** N/A\
4892 **Preferences Affected:** `browser.messaging-system.whatsNewPanel.enabled`,`browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons`,`browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features`
4893
4894 #### Windows (GPO)
4895 ```
4896 Software\Policies\Mozilla\Firefox\UserMessaging\WhatsNew = 0x1 | 0x0
4897 Software\Policies\Mozilla\Firefox\UserMessaging\ExtensionRecommendations = 0x1 | 0x0
4898 Software\Policies\Mozilla\Firefox\UserMessaging\FeatureRecommendations = 0x1 | 0x0
4899 Software\Policies\Mozilla\Firefox\UserMessaging\UrlbarInterventions = 0x1 | 0x0
4900 ```
4901 #### Windows (Intune)
4902 OMA-URI:
4903 ```
4904 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/UserMessaging_WhatsNew
4905 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/UserMessaging_ExtensionRecommendations
4906 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/UserMessaging_FeatureRecommendations
4907 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/UserMessaging_UrlbarInterventions
4908 ```
4909 Value (string):
4910 ```
4911 <enabled/> or <disabled/>
4912 ```
4913 #### macOS
4914 ```
4915 <dict>
4916 <key>UserMessaging</key>
4917 <dict>
4918 <key>WhatsNew</key>
4919 <true/> | <false/>
4920 <key>ExtensionRecommendations</key>
4921 <true/> | <false/>
4922 <key>FeatureRecommendations</key>
4923 <true/> | <false/>
4924 <key>UrlbarInterventions</key>
4925 <true/> | <false/>
4926 </dict>
4927 </dict>
4928 ```
4929 #### policies.json
4930 ```
4931 {
4932 "policies": {
4933 "UserMessaging": {
4934 "WhatsNew": true | false,
4935 "ExtensionRecommendations": true | false,
4936 "FeatureRecommendations": true | false,
4937 "UrlbarInterventions": true | false
4938 }
4939 }
4940 }
4941 ```
4942 ### WebsiteFilter
4943 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.
4944 The arrays are limited to 1000 entries each.
4945
4946 As of Firefox 83 and Firefox ESR 78.5, file URLs are supported.
4947
4948 **Compatibility:** Firefox 60, Firefox ESR 60\
4949 **CCK2 Equivalent:** N/A\
4950 **Preferences Affected:** N/A
4951
4952 #### Windows (GPO)
4953 ```
4954 Software\Policies\Mozilla\Firefox\WebsiteFilter\Block\1 = "<all_urls>"
4955 Software\Policies\Mozilla\Firefox\WebsiteFilter\Exceptions\1 = "http://example.org/*"
4956 ```
4957 #### Windows (Intune)
4958 OMA-URI:
4959 ```
4960 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/B_WebsiteFilter_Block
4961 ```
4962 Value (string):
4963 ```
4964 <enabled/>
4965 <data id="WebsiteFilter" value="1&#xF000;<all_urls>"/>
4966 ```
4967 OMA-URI:
4968 ```
4969 ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/B_WebsiteFilter_Exceptions
4970 ```
4971 Value (string):
4972 ```
4973 <enabled/>
4974 <data id="WebsiteFilter" value="1&#xF000;http://example.org/*"/>
4975 ```
4976 #### macOS
4977 ```
4978 <dict>
4979 <key>WebsiteFilter</key>
4980 <dict>
4981 <key>Block</key>
4982 <array>
4983 <string><all_urls></string>
4984 </array>
4985 <key>Exceptions</key>
4986 <array>
4987 <string>http://example.org/*</string>
4988 </array>
4989 </dict>
4990
4991 </dict>
4992 ```
4993 #### policies.json
4994 ```
4995 {
4996 "policies": {
4997 "WebsiteFilter": {
4998 "Block": ["<all_urls>"],
4999 "Exceptions": ["http://example.org/*"]
5000 }
5001 }
5002 }
5003 ```

patrick-canterino.de