Files
goon_plugin/manifest.json
T
Hermes QA 15816a8579
CI / test (pull_request) Failing after 16s
fix: add web_accessible_resources for interceptors.js in manifest.json
Without this, Chrome blocks chrome.runtime.getURL('interceptors.js')
in Manifest V3, causing HLS detection to silently fail.

Added regression test to prevent future removal.
2026-08-12 01:23:05 +00:00

46 lines
886 B
JSON

{
"manifest_version": 3,
"name": "Goon Plugin",
"version": "0.1.0",
"description": "A Chrome extension",
"permissions": [
"storage",
"tabs",
"scripting"
],
"host_permissions": [
"<all_urls>"
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"action": {
"default_popup": "viewer/index.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"],
"run_at": "document_start",
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": ["interceptors.js"],
"matches": ["<all_urls>"]
}
],
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
}