Added v2/v3 versions of the manifest
This commit is contained in:
parent
d32b0243d8
commit
9ff4ea8564
3 changed files with 79 additions and 36 deletions
|
@ -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",
|
||||
"<all_urls>",
|
||||
"webNavigation",
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
]
|
||||
}
|
1
src/manifest.json
Symbolic link
1
src/manifest.json
Symbolic link
|
@ -0,0 +1 @@
|
|||
manifest_v2.json
|
36
src/manifest_v2.json
Normal file
36
src/manifest_v2.json
Normal file
|
@ -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",
|
||||
"<all_urls>",
|
||||
"webNavigation",
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
]
|
||||
}
|
42
src/manifest_v3.json
Normal file
42
src/manifest_v3.json
Normal file
|
@ -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"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue