w3c / webextensions

Charter and administrivia for the WebExtensions Community Group (WECG)
Other
579 stars 50 forks source link

`world` in content_scripts declaration #485

Open hanguokai opened 7 months ago

hanguokai commented 7 months ago

Since Chrome 111, Chrome supports a new key world in content_scripts in manifest, which value is "ISOLATED"(default) or "MAIN". Thus developers can declare content scripts to run in the main world directly.

In the meeting Nov 9, 2023, we also discussed this issue when we were discussing #482 . At the moment, Firefox and Safari support (or will support) world in browser.scripting API, and they are supportive of the world key in manifest.