feat: add WebExtension manifest and application icons
- Configure manifest for Firefox and cross-browser compatibility - Declare permissions for storage, activeTab, IMDb suggestions, and local FastAPI - Add gecko ID and data collection permissions for Firefox Add-ons linter compliance - Generate 16px, 48px, and 128px toolbar and management icons
This commit is contained in:
1 parent
fc0908300e
commit
94538c9eac
4 files changed
+50
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 539 B |
Binary file not shown.
|
After Width: | Height: | Size: 127 B |
Binary file not shown.
|
After Width: | Height: | Size: 210 B |
@@ -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",
|
||||||
|
"<all_urls>",
|
||||||
|
"http://localhost:8000/*",
|
||||||
|
"https://v3.sg.media-imdb.com/*"
|
||||||
|
],
|
||||||
|
"background": {
|
||||||
|
"scripts": ["background.js"]
|
||||||
|
},
|
||||||
|
"content_scripts": [
|
||||||
|
{
|
||||||
|
"matches": ["<all_urls>"],
|
||||||
|
"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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user