Skip to content

Commit 59dfed6

Browse files
committed
Fix typo in install_url description
1 parent 023450c commit 59dfed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3276,7 +3276,7 @@ The configuration for each extension is another dictionary that can contain the
32763276
|         `blocked`| Blocks installation of the extension and removes it from the device if already installed.
32773277
|         `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.
32783278
|         `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.
3279-
| `install_url`| The URL from which Firefox can download a `force_installed` or `normal_installed` extension. Extensions are be automatically updated or re-installed when the XPI file's internal [version](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version) changes.<ul><li>If installing from the `addons.mozilla.org`, use `https://addons.mozilla.org/firefox/downloads/latest/ADDON_ID/latest.xpi` and substitue **ADDON_ID** with the extension's ID (for example `[email protected]` or `{446900e4-71c2-419f-a6a7-df9c091e268b}`).</li><li>If installing from the local file system, use a [```file:///``` URL](https://en.wikipedia.org/wiki/File_URI_scheme). You can mantually trigger an update or re-installation by changing the XPI's file name.</li><li>Languages packs are available from `https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi` (for example, `https://releases.mozilla.org/pub/firefox/releases/111.0.1/win64/xpi/en-US.xpi`)/</li></ul>
3279+
| `install_url`| The URL from which Firefox can download a `force_installed` or `normal_installed` extension. Extensions are be automatically updated or re-installed when the XPI file's internal [version](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/version) changes.<ul><li>If installing from the `addons.mozilla.org`, use `https://addons.mozilla.org/firefox/downloads/latest/ADDON_ID/latest.xpi` and substitue **ADDON_ID** with the extension's ID (for example `[email protected]` or `{446900e4-71c2-419f-a6a7-df9c091e268b}`).</li><li>If installing from the local file system, use a [```file:///``` URL](https://en.wikipedia.org/wiki/File_URI_scheme). You can mantually trigger an update or re-installation by changing the XPI's file name.</li><li>Languages packs are available from `https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi` (for example, `https://releases.mozilla.org/pub/firefox/releases/111.0.1/win64/xpi/en-US.xpi`).</li></ul>
32803280
| `install_sources` | A list of sources from which installing extensions is allowed using URL match patterns. **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.
32813281
| `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.
32823282
| `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 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.

0 commit comments

Comments
 (0)