aboutsummaryrefslogtreecommitdiffstats
path: root/extension/manifest.json
blob: 1035476a4370ab649f2d2c163f2ca897c2654adc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"
    }
  ]
}