Skip to content

Add @sandbox to Metadata Comparison #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deevroman
Copy link

If I understood correctly, this is some analog of @inject-into, so I placed it right after it

https://www.tampermonkey.net/documentation.php#meta:sandbox

@erosman
Copy link
Owner

erosman commented Mar 21, 2025

MAIN, ISOLATED, & USER_SCRIPT are MV3 contexts.
FireMonkey is still on MV2, since the MV3 userScripts API is still not fully ready.

Furthermore, userScripts.ExecutionWorld only has MAIN & USER_SCRIPT.

ISOLATED belongs to scripting.ExecutionWorld and not suitable for userscripts.

Finally, the decision on world injection in MV3 depends on the @grant and not selectable by userscript developers.
That would probably mean that both @inject-into & @sandbox may become obsolete in MV3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants