Register-FirefoxExtension
Description
Adds an extension to the Firefox browser.
Requirements
The name of the extension must be provided.
Usage
- Gets the provided extension name information.
- Parses it to JSON.
- Applies the values to the Firefox extensions file.
.\Register-FirefoxExtension.ps1 -ExtensionName "ublock-origin" -Mandate
This command installs the uBlock Origin extension to Firefox and removes the rights to remove it.
Parameters
| Parameter | Alias | Required | Default | Type | Description |
|---|---|---|---|---|---|
ExtensionName | True | String | The name of the extension you wish to install. | ||
Mandate | False | Bool | Removes the right to remove the extension. |
Output
The output log can be found at:
.\Register-FirefoxExtension-log.txt