aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-27 09:48:35 -0500
committerGitHub <noreply@github.com>2023-12-27 14:48:35 +0000
commit623e056fe6322c1d0f07554aea2fabf2f834e8a5 (patch)
tree6040ee8396363f00b0d2fbf05ca9de2b611e0b5f /types/ext
parent860374fdab25fce3161ee835be0e141a341b9b9b (diff)
Script manager cleanup (#456)
* Remove unused functions * Remove fallback code * Simplify injectStylesheet * Simplify unregisterContentScript * Merge functions * Simplify registration details * Simplify injectScript * Remove class wrapper * Remove unused injectScript
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/script-manager.d.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/types/ext/script-manager.d.ts b/types/ext/script-manager.d.ts
index 57b9ee06..66a5c20f 100644
--- a/types/ext/script-manager.d.ts
+++ b/types/ext/script-manager.d.ts
@@ -21,26 +21,12 @@ export type RunAt = 'document_start' | 'document_end' | 'document_idle';
export type RegistrationDetails = {
/** Same as `matches` in the `content_scripts` manifest key. */
matches: string[];
-
- /** Regex match pattern to use as a fallback when native content script registration isn't supported. */
- /** Should be equivalent to `matches`. */
- urlMatches: string;
-
/** Same as `run_at` in the `content_scripts` manifest key. */
runAt: RunAt;
-
- /** Same as `exclude_matches` in the `content_scripts` manifest key. */
- excludeMatches?: string[];
-
- /** Same as `match_about_blank` in the `content_scripts` manifest key. */
- matchAboutBlank: boolean;
-
/** Same as `all_frames` in the `content_scripts` manifest key. */
allFrames: boolean;
-
/** List of CSS paths. */
css?: string[];
-
/** List of script paths. */
js?: string[];
};