Downgraded manifest for Firefox compatibility: v3 -> v2

This commit is contained in:
Fabio Manganiello 2023-01-02 22:13:54 +01:00
parent de55f4a4de
commit 89fd872069

View file

@ -2,13 +2,8 @@
"name": "RSS Viewer", "name": "RSS Viewer",
"description": "An easy way to render RSS feeds directly in your browser", "description": "An easy way to render RSS feeds directly in your browser",
"version": "0.1.1", "version": "0.1.1",
"manifest_version": 3, "manifest_version": 2,
"action": { "browser_action": {
"default_icon": {
"16": "assets/icon16.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
},
"default_title": "Feed Viewer", "default_title": "Feed Viewer",
"default_popup": "popup/index.html" "default_popup": "popup/index.html"
}, },
@ -18,7 +13,7 @@
"128": "assets/icon128.png" "128": "assets/icon128.png"
}, },
"background": { "background": {
"service_worker": "background.ts" "scripts": ["background.ts"]
}, },
"content_scripts": [ "content_scripts": [
{ {
@ -28,12 +23,9 @@
} }
], ],
"web_accessible_resources": [ "web_accessible_resources": [
{ "viewer/index.html"
"resources": ["viewer/index.html"],
"matches": ["*://*/*"]
}
], ],
"permissions": [ "permissions": [
"activeTab", "identity", "storage", "tabs", "webNavigation" "activeTab", "storage", "<all_urls>", "webNavigation"
] ]
} }