summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/manifest-v2.json
blob: 794aac3b1587a3a1f264958337c44c80dcd3d694 (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
59
60
61
62
63
64
{
  "manifest_version": 2,
  "minimum_chrome_version": "51",
  "minimum_opera_version": "36",
  "browser_specific_settings": {
    "gecko": {
      "id": "wallet@taler.net",
      "strict_min_version": "57.0"
    }
  },
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Alt+W"
      }
    }
  },
  "permissions": [
    "unlimitedStorage",
    "http://*/*",
    "https://*/*",
    "activeTab"
  ],
  "web_accessible_resources": [
    "static/wallet.html",
    "dist/taler-wallet-interaction-support.js"
  ],
  "optional_permissions": [
    "http://*/*",
    "https://*/*",
    "webRequest"
  ],
  "content_scripts": [{
    "id": "taler-wallet-interaction-support",
    "matches": ["file://*/*", "http://*/*", "https://*/*"],
    "js": ["dist/taler-wallet-interaction-loader.js"]
  }],
  "protocol_handlers": [
    {
      "protocol": "ext+taler",
      "name": "Taler Wallet WebExtension",
      "uriTemplate": "/static/wallet.html#/cta/withdraw?d=1&talerWithdrawUri=%s"
    }
  ],
  "browser_action": {
    "default_icon": {
      "16": "static/img/taler-logo-16.png",
      "19": "static/img/taler-logo-19.png",
      "32": "static/img/taler-logo-32.png",
      "38": "static/img/taler-logo-38.png",
      "48": "static/img/taler-logo-48.png",
      "64": "static/img/taler-logo-64.png",
      "128": "static/img/taler-logo-128.png",
      "256": "static/img/taler-logo-256.png",
      "512": "static/img/taler-logo-512.png"
    },
    "default_title": "GNU Taler Wallet",
    "default_popup": "static/popup.html"
  },
  "background": {
    "page": "static/background.html",
    "persistent": true
  }
}