DownloadDirectory
Set and lock the download directory.
You can use ${home} for the native home directory.
Values
Section titled “Values”DownloadDirectory expects a path to the directory downloads are saved to, such as /Users/username/Documents.
The path is locked, and the user cannot choose where each file is saved.
${home}expands to the user's home directory, so${home}/Downloadsworks across profiles and platforms.
Examples
Section titled “Examples”{ "policies": { "DownloadDirectory": "${home}/Downloads" }}JSON schema
{ "type": "string"}Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\DownloadDirectory = "${home}\Downloads"<dict> <key>DownloadDirectory</key> <string>${home}/Downloads</string></dict>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Available since 68 | Available since 68 | Available since 149 |
CCK2 Equivalent: N/A
OMA-URI: DownloadDirectory
Preferences Affected: browser.download.dir, browser.download.folderList, browser.download.useDownloadDir