From b164f492df49be954b75fbc1d5652c7b018b049c Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Sat, 10 Aug 2024 14:43:42 -0400 Subject: [PATCH] Inject pageScript using new API --- extension/chrome/manifest.json | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/extension/chrome/manifest.json b/extension/chrome/manifest.json index 5931e9f3..71586604 100644 --- a/extension/chrome/manifest.json +++ b/extension/chrome/manifest.json @@ -43,19 +43,20 @@ { "matches": [""], "exclude_globs": ["https://www.google*"], - "js": ["content.bundle.js", "pagewrap.bundle.js"], + "js": ["content.bundle.js"], "run_at": "document_start", "all_frames": true + }, + { + "matches": [""], + "exclude_globs": ["https://www.google*"], + "js": ["page.bundle.js"], + "run_at": "document_start", + "all_frames": true, + "world": "MAIN" } ], "devtools_page": "devtools.html", - "web_accessible_resources": [ - { - "resources": ["page.bundle.js"], - "matches": [""], - "extension_ids": [] - } - ], "externally_connectable": { "ids": ["*"] },