CSUI main world on Firefox MV2 (Unexpected property "world" for scripting.registerContentScripts)
i'm trying to inject my content script UI to the main world - it's working as intended with
the error in devtools is:
possibly relevant project information:
- the project is bootstrapped with
- the
- the relevant code is:
plasmo dev --target=chrome-mv3, but it's not working for plasmo dev --target=firefox-mv2 (no CSUI shows up on the page). is injecting to the main world supported for mv2? if not, are there any alternative ways to execute a pre-existing function from the main world and return the data to the CSUI? thanks!the error in devtools is:
Uncaught Error: Type error for parameter scripts (Error processing 0: Unexpected property "world") for scripting.registerContentScripts. (screenshot attached)possibly relevant project information:
- the project is bootstrapped with
pnpm create plasmo --with-svelte- the
package.json has manifest.browser_specific_settings set and the permissions contains activeTab, scripting, tabs- the relevant code is: