Skip to content

Extension Manifest V3 support is now available #38

@samuelmaddock

Description

@samuelmaddock

Features required for Manifest V3 support have been proposed in Electron upstream. Once other maintainers have reviewed and accepted the changes, it will be ready to use.
electron/electron#44411


Manifest V3 (MV3) is that latest versions of the Chrome extensions API which is now stable in Chrome.

It's partially supported in Electron at the moment since electron/electron#27562 was introduced.

Known affected extensions

I don't know of any widely used extensions shipping with MV3 yet, but there will be as MV2 begins to be phased out.

Possible solutions

electron-chrome-extensions provides new extension APIs by injecting them with JavaScript. This is done in Electron preload scripts. Instead of background hosts using a WebContents instance, MV3 uses service workers.

Electron doesn't have support for injecting JS into a service worker context yet. The API will need to be expanded to support new contexts. Work on specing out changes has started in electron/governance#366

Metadata

Metadata

Assignees

No one assigned

    Labels

    electron-contrib-requiredRequires contributing changes upstream to the Electron repository.enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions