Inject pageScript using new API

This commit is contained in:
Nathan Bierema 2024-08-10 14:43:42 -04:00
parent 965f2ab8a6
commit b164f492df

View File

@ -43,19 +43,20 @@
{ {
"matches": ["<all_urls>"], "matches": ["<all_urls>"],
"exclude_globs": ["https://www.google*"], "exclude_globs": ["https://www.google*"],
"js": ["content.bundle.js", "pagewrap.bundle.js"], "js": ["content.bundle.js"],
"run_at": "document_start", "run_at": "document_start",
"all_frames": true "all_frames": true
},
{
"matches": ["<all_urls>"],
"exclude_globs": ["https://www.google*"],
"js": ["page.bundle.js"],
"run_at": "document_start",
"all_frames": true,
"world": "MAIN"
} }
], ],
"devtools_page": "devtools.html", "devtools_page": "devtools.html",
"web_accessible_resources": [
{
"resources": ["page.bundle.js"],
"matches": ["<all_urls>"],
"extension_ids": []
}
],
"externally_connectable": { "externally_connectable": {
"ids": ["*"] "ids": ["*"]
}, },