diff --git a/src/manifest.json b/src/manifest.json deleted file mode 100644 index aa2e0cd..0000000 --- a/src/manifest.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "RSS Viewer", - "description": "An easy way to render RSS feeds directly in your browser", - "version": "0.1.2", - "manifest_version": 2, - "browser_action": { - "default_title": "Feed Viewer", - "default_popup": "popup/index.html" - }, - "icons": { - "16": "assets/icon16.png", - "48": "assets/icon48.png", - "128": "assets/icon128.png" - }, - "background": { - "scripts": ["background.ts"] - }, - "content_scripts": [ - { - "matches": ["*://*/*"], - "run_at": "document_start", - "js": ["main.ts"] - } - ], - "web_accessible_resources": [ - "viewer/index.html" - ], - "permissions": [ - "activeTab", - "storage", - "", - "webNavigation", - "webRequest", - "webRequestBlocking" - ] -} diff --git a/src/manifest.json b/src/manifest.json new file mode 120000 index 0000000..0f71b53 --- /dev/null +++ b/src/manifest.json @@ -0,0 +1 @@ +manifest_v2.json \ No newline at end of file diff --git a/src/manifest_v2.json b/src/manifest_v2.json new file mode 100644 index 0000000..aa2e0cd --- /dev/null +++ b/src/manifest_v2.json @@ -0,0 +1,36 @@ +{ + "name": "RSS Viewer", + "description": "An easy way to render RSS feeds directly in your browser", + "version": "0.1.2", + "manifest_version": 2, + "browser_action": { + "default_title": "Feed Viewer", + "default_popup": "popup/index.html" + }, + "icons": { + "16": "assets/icon16.png", + "48": "assets/icon48.png", + "128": "assets/icon128.png" + }, + "background": { + "scripts": ["background.ts"] + }, + "content_scripts": [ + { + "matches": ["*://*/*"], + "run_at": "document_start", + "js": ["main.ts"] + } + ], + "web_accessible_resources": [ + "viewer/index.html" + ], + "permissions": [ + "activeTab", + "storage", + "", + "webNavigation", + "webRequest", + "webRequestBlocking" + ] +} diff --git a/src/manifest_v3.json b/src/manifest_v3.json new file mode 100644 index 0000000..45258e4 --- /dev/null +++ b/src/manifest_v3.json @@ -0,0 +1,42 @@ +{ + "name": "RSS Viewer", + "description": "An easy way to render RSS feeds directly in your browser", + "version": "0.1.2", + "manifest_version": 3, + "action": { + "default_title": "Feed Viewer", + "default_popup": "popup/index.html", + "default_icon": { + "16": "assets/icon16.png", + "48": "assets/icon48.png", + "128": "assets/icon128.png" + } + }, + "background": { + "service_worker": "background.ts", + "type": "module" + }, + "content_scripts": [ + { + "matches": ["*://*/*"], + "run_at": "document_start", + "js": ["main.ts"] + } + ], + "web_accessible_resources": [ + { + "resources": ["viewer/index.html"], + "matches": ["*://*/*"] + } + ], + "host_permissions": [ + "*://*/*" + ], + "permissions": [ + "activeTab", + "storage", + "webNavigation", + "webRequest", + "webRequestBlocking" + ] +}