Overview of Microsoft Edge (Chromium) Extensions
An extension is a small program that you (a developer) use to add or modify features for Microsoft Edge (Chromium). An extension is intended to improve a user's day-to-day browsing experience. It provides niche functionality that is important to a target audience.
You may create an extension if you have an idea or product that is based upon either of the following conditions.
- A specific web browser.
- Improvements to features of specific webpages.
Examples of companion experiences include ad blockers and password managers.
An extension is structured similar to a regular web app. At a minimum, it should include the following features.
- An app manifest JSON file that contains basic platform information.
- HTML and CSS files that define the user interface.
To work directly with part of the browser, such as a window or tab, you must send API requests and often reference the browser by name.
Some of the most popular browsers to build extensions for include Safari, Firefox, Chrome, Opera, Brave, and Microsoft Edge. Great places to begin your extension development tutorials and documentation research are sites hosted by the browser organizations. The following table isn't definitive, and may be used as a starting point.
|Web browser||Chromium-based?||Extension development webpage|
|Brave||Yes||Uses Chrome Web Store|
|new Microsoft Edge||Yes||developer.microsoft.com/microsoft-edge/extensions|
Many of the tutorials of the sites use browser-specific APIs that may not match the browser for which you develop. In most cases, a Chromium extension works as-is in different Chromium browsers and the APIs work as expected. Only some less common APIs may be strictly browser-specific. For links to the tutorials, navigate to See also.
If your goal is to publish your extension in the extensions store for each browser, it must be modified for each version to target and run in each distinct browser environment. For example, Safari extensions may use both web and native code to communicate with counterpart native applications. The last four browsers in the previous table use the same code package, and minimizes the requirement to maintain parallel versions. These browsers are based on the Chromium open-source project.
Create a Chromium extension to write the least amount of code. It also targets the maximum number of extension stores and ultimately the maximum number of users who find and acquire your extension.
The following content focuses mostly on Chromium extensions.
Browser compatibility and extension testing
Occasionally, API parity doesn't exist between Chromium browsers. For example, there are differences in the identity and payment APIs. To ensure your extension meets customer expectations, review API status through the following official browser docs.
The APIs you require define the changes you must make to address the differences between each browser. It may mean that you must create slightly different code packages with small differences for each store.
To test your extension in different environments before you submit it to a browser store, sideload it into your browser while you develop it.
Publish your extension to browser stores
You may submit and seek browser extensions in the following browser stores.
Some stores allow you to download listed extensions from other browsers. However, cross-browser access is not guaranteed by browser stores. To ensure your users find your extension in different browsers, you should maintain a listing on each browser extension store.
Users may need to install your extension in different browsers. In this scenario, you may migrate existing Chromium extensions from one browser to another.
Migrate an existing extension to Microsoft Edge
If you've already developed an extension for another Chromium browser, you may submit it to the Microsoft Edge Add-ons store. You don't need to rewrite your extension, and must verify it works in Microsoft Edge. When you migrate an existing Chromium extension to other Chromium browsers, ensure the same APIs or alternatives are available for your target browser.
For more information on porting your Chrome extension to Microsoft Edge, navigate to Port Chrome extensions to Microsoft Edge (Chromium). After you port your extension to the target browser, the next step is to publish it.
Publish to the Microsoft Edge add-ons website
To start publishing your extension to Microsoft Edge, you must register for a developer account with an MSA email account to submit your extension listing to the store. An MSA email account includes
@live.com, and so on. When you choose an email address to register, consider if you must transfer or share ownership of the extension with others in your organization. After registration is complete, you may create a new extension submission to the store.
To submit your extension to the store, ensure you provide the following items.
- An archive (
.zip) file that contains your code files.
- All required visual assets, which include a logo and small promotional tile.
- Optional promotional media, such as screenshots, promotional tiles, and a video URL.
Different stores may have different submission requirements. The above list summarizes the requirements to publish an extension for Microsoft Edge.
After you've successfully submitted your extension, your extension undergoes a review process and either passes or fails the certification process. Owners are notified of the outcome and given next steps as required. If you submit an extension update to the store, a new review process is started.