diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-29 00:01:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 05:01:11 +0000 |
commit | 0a68020771fc5b9dd437a90d5aac5e8a0c66719b (patch) | |
tree | 48a0c4c25977343dd15da06e19807f332ca62ddb /types/ext | |
parent | d90d408279938d389019a8bed15c5eb95af7c8bc (diff) |
Fix google docs (#473)
* Add support for content script execution world
* Update manifest version to support world parameter in Chromium browsers
* Update google docs injection
* Reuse code for registration
* Add info
Diffstat (limited to 'types/ext')
-rw-r--r-- | types/ext/script-manager.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/types/ext/script-manager.d.ts b/types/ext/script-manager.d.ts index 66a5c20f..6a1f9e26 100644 --- a/types/ext/script-manager.d.ts +++ b/types/ext/script-manager.d.ts @@ -29,6 +29,8 @@ export type RegistrationDetails = { css?: string[]; /** List of script paths. */ js?: string[]; + /** The execution world for the script. */ + world?: ExecutionWorld; }; export type ContentScriptInjectionDetails = { @@ -39,3 +41,5 @@ export type ContentScriptInjectionDetails = { js?: string[]; urlRegex: RegExp | null; }; + +export type ExecutionWorld = 'MAIN' | 'ISOLATED'; |