refactor: store VidIQ cards in the service worker and drop the API layer

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
IgorVolochay
2026-10-25 12:08:02 +03:00
co-authored by Claude Sonnet 5.5
parent 1cf5270704
commit cdf8c08c7f
9 changed files with 18 additions and 934 deletions
+3 -4
View File
@@ -1,10 +1,9 @@
{
"manifest_version": 3,
"name": "Outlier Saver",
"version": "0.1.0",
"description": "Находит на YouTube видео с аномальными просмотрами и сохраняет их локально.",
"version": "0.2.0",
"description": "Сохраняет видео YouTube с высоким outlier score от VidIQ.",
"permissions": ["storage"],
"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 },
@@ -17,7 +16,7 @@
],
"web_accessible_resources": [
{
"resources": ["src/lib/video-id.js", "src/lib/vidiq.js"],
"resources": ["src/lib/*.js"],
"matches": ["https://www.youtube.com/*"]
}
]