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.
Since Chrome 111, Chrome supports a new key
world
incontent_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
inbrowser.scripting
API, and they are supportive of theworld
key in manifest.