fix: missing permission

This commit is contained in:
Ren Amamiya
2026-04-08 13:32:01 +07:00
parent 7d344729c3
commit 3bdfa9e657
4 changed files with 15 additions and 1139 deletions

View File

@@ -3,7 +3,12 @@
"description": "Nostr Signer Extension",
"version": "0.1.2",
"homepage_url": "https://github.com/reyamir/nostr-connect",
"manifest_version": 3,
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "{e665d138-0e5b-4b7a-ab91-7af834eda7a2}"
}
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
@@ -12,25 +17,19 @@
},
"options_page": "options.html",
"background": {
"service_worker": "background.build.js"
"scripts": ["background.build.js"]
},
"action": {
"browser_action": {
"default_title": "Nostr Signer",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content-script.build.js"],
"all_frames": true
"js": ["content-script.build.js"]
}
],
"permissions": ["storage"],
"optional_permissions": ["notifications"],
"web_accessible_resources": [
{
"resources": ["nostr-provider.js"],
"matches": ["https://*/*", "http://localhost:*/*"]
}
]
"web_accessible_resources": ["nostr-provider.js"]
}