aboutsummaryrefslogtreecommitdiff
path: root/extension/manifest.json
blob: a6769ba6c1e6a051c48dc9eadcffc8a5a13ecfb5 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "description": "Wallet for GNU Taler, offering privacy-preserving electronic payments",
  "manifest_version": 2,
  "name": "GNU Taler Wallet",
  "version": "0.1.1",

  "applications": {
    "gecko": {
      "id": "walletx@taler.net"
    }
  },

  "permissions": [
    "http://*/*",
    "https://*/*"
  ],

  "browser_action": {
    "default_icon": "img/icon.png",
    "default_title": "Taler",
    "default_popup": "popup/balance-overview.html"
  },

  "content_scripts": [
    {
      "matches": ["*://*/*"],
      "js": [
        "content_scripts/notify.js",
        "lib/URI.js",
        "lib/util.js"
      ],
      "run_at": "document_start"
    }
  ],

  "web_accessible_resources": [
    "pages/*",
    "lib/*"
  ],

  "background": {
    "scripts": [
      "lib/util.js",
      "lib/URI.js",
      "background/libwrapper.js",
      "background/emscriptif.js",
      "background/db.js",
      "background/wallet.js"
    ]
  },

  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}