diff options
Diffstat (limited to 'extension/manifest.json')
| -rw-r--r-- | extension/manifest.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extension/manifest.json b/extension/manifest.json new file mode 100644 index 0000000..1035476 --- /dev/null +++ b/extension/manifest.json @@ -0,0 +1,27 @@ +{ + "manifest_version": 3, + "name": "Coinos", + "version": "0.1.0", + "description": "Sign in to nostr sites with your key and pay from your Coinos wallet. Approve a site once and it never asks again.", + "minimum_chrome_version": "116", + "icons": { "16": "icon-192.png", "48": "icon-192.png", "128": "icon-192.png" }, + "action": { "default_popup": "popup.html", "default_title": "Coinos", "default_icon": "icon-192.png" }, + "options_ui": { "page": "popup.html", "open_in_tab": true }, + "background": { "service_worker": "background.js", "type": "module" }, + "permissions": ["storage"], + "content_scripts": [ + { + "matches": ["http://*/*", "https://*/*"], + "js": ["content.js"], + "run_at": "document_start", + "all_frames": true + }, + { + "matches": ["http://*/*", "https://*/*"], + "js": ["provider.js"], + "run_at": "document_start", + "all_frames": true, + "world": "MAIN" + } + ] +} |
