{"id":21342480,"url":"https://github.com/asheroto/manage-browser-extensions","last_synced_at":"2025-07-30T03:36:01.396Z","repository":{"id":262404160,"uuid":"887128669","full_name":"asheroto/Manage-Browser-Extensions","owner":"asheroto","description":"PowerShell functions to manage browser extensions in Chrome and Edge.","archived":false,"fork":false,"pushed_at":"2024-11-12T08:42:41.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T20:17:07.727Z","etag":null,"topics":["add","block","chrome","edge","extension","force","forceinstall","forcelist","install","management","remove","unblock","uninstall"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asheroto.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"asheroto","ko_fi":"asheroto","patreon":"asheroto","custom":"https://www.buymeacoffee.com/asheroto"}},"created_at":"2024-11-12T08:08:09.000Z","updated_at":"2025-03-09T03:15:12.000Z","dependencies_parsed_at":"2024-11-12T09:32:46.430Z","dependency_job_id":null,"html_url":"https://github.com/asheroto/Manage-Browser-Extensions","commit_stats":null,"previous_names":["asheroto/manage-browser-extensions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FManage-Browser-Extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FManage-Browser-Extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FManage-Browser-Extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asheroto%2FManage-Browser-Extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asheroto","download_url":"https://codeload.github.com/asheroto/Manage-Browser-Extensions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818199,"owners_count":20352629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["add","block","chrome","edge","extension","force","forceinstall","forcelist","install","management","remove","unblock","uninstall"],"created_at":"2024-11-22T01:08:41.112Z","updated_at":"2025-03-16T03:11:43.608Z","avatar_url":"https://github.com/asheroto.png","language":"PowerShell","funding_links":["https://github.com/sponsors/asheroto","https://ko-fi.com/asheroto","https://patreon.com/asheroto","https://www.buymeacoffee.com/asheroto","https://github.com/sponsors/asheroto?frequency=one-time\u0026sponsor=asheroto","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"[![GitHub Sponsor](https://img.shields.io/github/sponsors/asheroto?label=Sponsor\u0026logo=GitHub)](https://github.com/sponsors/asheroto?frequency=one-time\u0026sponsor=asheroto)\n\u003ca href=\"https://ko-fi.com/asheroto\"\u003e\u003cimg src=\"https://ko-fi.com/img/githubbutton_sm.svg\" alt=\"Ko-Fi Button\" height=\"20px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.buymeacoffee.com/asheroto\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=Manage-Browser-Extensions\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Lato\u0026outline_colour=000000\u0026coffee_colour=ffffff)\" height=\"40px\"\u003e\u003c/a\u003e\n\n# Extension Management for Chrome and Edge\n\nThis script provides administrators with PowerShell functions to manage browser extensions in Chrome and Edge. Several other Chromium-based browsers honor the Chrome registry keys for extensions.\n\n\u003e [!NOTE]\n\u003e Firefox is not supported.\n\n# Features\n\n- **Install Extensions**: Adds specified extensions to the registry with an optional update URL, allowing installation in the browser.\n- **Remove Specified Extensions**: Deletes a specified extension from the browser by removing associated registry entries.\n- **Force-Install Extensions**: Enforces installation of specified extensions by adding them to the ForceInstall policy list in the registry.\n- **Remove Force-Installed Extensions**: Removes specified extensions from the ForceInstall policy list, undoing enforced installations.\n- **Block Extensions**: Prevents installation of specified extensions by adding them to the registry blocklist.\n- **Unblock Extensions**: Allows installation of specified extensions if previously blocked by removing them from the blocklist.\n\n# How it Works\n\nThese functions make use of Windows registry keys for extension management. No files are modified.\n\n# Requirements\n\n- **Administrator Privileges**: This script modifies registry entries under `HKLM` (HKEY_LOCAL_MACHINE), which requires administrative rights.\n\n# Installation\n\nClone or download this repository to your local machine:\n\n```bash\ngit clone https://github.com/asheroto/Manage-Browser-Extensions\ncd Manage-Browser-Extensions\n```\n\nor save the raw script file.\n\n# Usage\n\nDot-source the functions:\n\n```powershell\n. .\\Manage-Browser-Extensions.ps1\n```\n\nThis command loads the script and makes all functions available for use in the current session.\n\nYou can then call the functions provided in the script as needed.\n\n## Commands\n\n| Command                  | Description                                                                           | Parameters                               |\n| ------------------------ | ------------------------------------------------------------------------------------- | ---------------------------------------- |\n| `Install-Extension`      | Installs an extension with an optional update URL.                                    | `-Browser`, `-ExtensionID`, `-UpdateUrl` |\n| `Remove-Extension`       | Removes a specified extension from the browser.                                       | `-Browser`, `-ExtensionID`               |\n| `Force-InstallExtension` | Forces the installation of an extension. Requires a browser restart to apply changes. | `-Browser`, `-ExtensionID`               |\n| `Force-RemoveExtension`  | Removes a force-installed extension. Requires a browser restart to apply changes..    | `-Browser`, `-ExtensionID`               |\n| `Block-Extension`        | Blocks a specified extension to prevent installation.                                 | `-Browser`, `-ExtensionID`               |\n| `Unblock-Extension`      | Unblocks a specified extension to allow installation.                                 | `-Browser`, `-ExtensionID`               |\n\n## Parameters\n\n| Parameter      | Required | Description                                                                    |\n| -------------- | -------- | ------------------------------------------------------------------------------ |\n| `-Browser`     | Yes      | Specifies the browser to apply the action to (e.g., \"Chrome\" or \"Edge\").       |\n| `-ExtensionID` | Yes      | The unique ID of the extension to manage (install, block, unblock, or remove). |\n| `-UpdateUrl`   | No       | `Install-Extension` **only**: URL for the extension's update manifest.         |\n\n## Examples\n\n**Install an extension in Chrome with a default update URL**:\n\n```powershell\nInstall-Extension -Browser \"Chrome\" -ExtensionID \"efaidnbmnnnibpcajpcglclefindmkaj\"\n```\n\n---\n\n**Remove an extension from Edge**:\n\n```powershell\nRemove-Extension -Browser \"Edge\" -ExtensionID \"elhekieabhbkpmcefcoobjddigjcaadp\"\n```\n\n---\n\n**Force-install an extension in Chrome**:\n\n```powershell\nForce-InstallExtension -Browser \"Chrome\" -ExtensionID \"efaidnbmnnnibpcajpcglclefindmkaj\"\n```\n\n---\n\n**Remove a force-installed extension from Edge**:\n\n```powershell\nForce-RemoveExtension -Browser \"Edge\" -ExtensionID \"elhekieabhbkpmcefcoobjddigjcaadp\"\n```\n\n---\n\n**Block an extension in Chrome**:\n\n```powershell\nBlock-Extension -Browser \"Chrome\" -ExtensionID \"efaidnbmnnnibpcajpcglclefindmkaj\"\n```\n\n---\n\n**Unblock an extension in Edge**:\n\n```powershell\nUnblock-Extension -Browser \"Edge\" -ExtensionID \"elhekieabhbkpmcefcoobjddigjcaadp\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Fmanage-browser-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasheroto%2Fmanage-browser-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasheroto%2Fmanage-browser-extensions/lists"}