Will scripting.ExecutionWorld.MAIN be supported?

Hi! This is Mengdi from React Developer Tooling team.
Firefox is the only browser that does not support it

This is a major issue blocking us from migration the Firefox add-on to MV3.
Is there any plan to support this?


I am in the same situation. I want to support FF with our extension, but this is a hold up.

Are you sure about that @cmonday ? https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/scripting/RegisteredContentScript clearly shows that Safari doesn’t support support world: MAIN either.

Safari obviously just released their RegisteredContentScript support, so maybe it will come at a later date (and the fact that it is usable on executeScript makes that seem at least possible) but from what I can tell (including testing), it definitely isn’t supported on registerContentScripts on Safari yet either.

Yes I believe we plan to add support for MAIN, though not sure about priority.

Can you please explain your use case, and what can’t be achieved using window.eval or other techniques available in mv2?