feat: add content script that collects video ids from YouTube pages
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
c95da940eb
commit
15ac3ba570
+14
-1
@@ -7,5 +7,18 @@
|
||||
"host_permissions": ["https://www.googleapis.com/youtube/v3/*"],
|
||||
"background": { "service_worker": "src/background.js", "type": "module" },
|
||||
"action": { "default_title": "Outlier Saver", "default_popup": "src/popup/popup.html" },
|
||||
"options_ui": { "page": "src/options/options.html", "open_in_tab": true }
|
||||
"options_ui": { "page": "src/options/options.html", "open_in_tab": true },
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["https://www.youtube.com/*"],
|
||||
"js": ["src/content.js"],
|
||||
"run_at": "document_idle"
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["src/lib/video-id.js", "src/lib/vidiq.js"],
|
||||
"matches": ["https://www.youtube.com/*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user