diff --git a/icons/icon-128.png b/icons/icon-128.png new file mode 100644 index 0000000..f42db80 Binary files /dev/null and b/icons/icon-128.png differ diff --git a/icons/icon-16.png b/icons/icon-16.png new file mode 100644 index 0000000..46c9ea8 Binary files /dev/null and b/icons/icon-16.png differ diff --git a/icons/icon-48.png b/icons/icon-48.png new file mode 100644 index 0000000..ea20606 Binary files /dev/null and b/icons/icon-48.png differ diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..1ac2dcc --- /dev/null +++ b/manifest.json @@ -0,0 +1,50 @@ +{ + "manifest_version": 2, + "name": "Magnetflix", + "version": "1.0.0", + "description": "Capture magnet links and pair with IMDb movies to send to FastAPI", + "icons": { + "16": "icons/icon-16.png", + "48": "icons/icon-48.png", + "128": "icons/icon-128.png" + }, + "browser_action": { + "default_popup": "popup.html", + "default_title": "Magnetflix", + "default_icon": { + "16": "icons/icon-16.png", + "48": "icons/icon-48.png" + } + }, + "permissions": [ + "storage", + "activeTab", + "tabs", + "", + "http://localhost:8000/*", + "https://v3.sg.media-imdb.com/*" + ], + "background": { + "scripts": ["background.js"] + }, + "content_scripts": [ + { + "matches": [""], + "js": ["content.js"], + "css": ["content.css"], + "run_at": "document_start" + } + ], + "web_accessible_resources": [ + "app.html", + "popup.html" + ], + "browser_specific_settings": { + "gecko": { + "id": "magnetflix@learning.extension", + "data_collection_permissions": { + "required": ["none"] + } + } + } +}