Muokkaa

Jaa


Port a Chrome extension to Microsoft Edge

Microsoft Edge allows you to port your Chrome extension to Microsoft Edge with minimal changes. The Extension APIs and manifest keys supported by Chrome are code-compatible with Microsoft Edge. For a list of APIs supported by Microsoft Edge, see API support.

To port your Chrome extension:

  1. Review the Chrome extension APIs used in your extensions with the Microsoft Edge extensions supported APIs list.

    Note

    If your extension uses APIs that aren't supported by Microsoft Edge, it might not port directly.

  2. Remove the update_url field from the manifest file.

  3. If Chrome is used in either the name or the description of your extension, rebrand your extension using Microsoft Edge. To pass the certification process, the changes are required.

  4. Test your extension to check if it works in Microsoft Edge by sideloading your extension.

  5. If you face any issues, you can debug your extensions in Microsoft Edge by using the DevTools, or contact us.

  6. Follow the publishing guidelines to publish your extension on Microsoft Edge Add-ons website.

Setting allowed_origins for a native app

If your extension exchanges messages with a native app by using chrome.runtime.connectNative, make sure that you set allowed_origins to chrome-extension://[Microsoft-Catalog-extensionID] in your native messaging host manifest file. The setting allows the app to identify your extension.

Next steps

After your extension package is ready to publish in the Microsoft Edge Add-ons website, create a developer account and publish your extension.