aboutsummaryrefslogtreecommitdiff
path: root/extension/manifest.json
blob: 7c0f295b476e13c1a814048a423a26f7cf06f533 (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
54
55
56
57
58
{
  "description": "Privacy preserving and transparent payments",
  "manifest_version": 2,
  "name": "GNU Taler Wallet",
  "version": "0.5",

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

  "permissions": [
    "storage",
    "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/query.js",
      "background/messaging.js",
      "background/checkable.js",
      "background/http.js",
      "background/wallet.js"
    ]
  },

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