MetaWallet

MetaWallet

Metacoin Browser extension

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "version": "1.7.24",
  "name": "__MSG_appName__",
  "short_name": "__MSG_appName__",
  "author": "https://metacoin.network",
  "homepage_url": "https://metacoin.network",
  "description": "__MSG_appDescription__",
  "default_locale": "en",
  "commands": {
    "open-window": {
      "suggested_key": {
        "windows": "Alt+Shift+W",
        "mac": "Ctrl+Shift+W",
        "chromeos": "Alt+Shift+W",
        "linux": "Alt+Shift+W"
      },
      "description": "Open window metawallet"
    },
    "_execute_browser_action": {
      "suggested_key": {
        "windows": "Alt+W",
        "mac": "Ctrl+W",
        "chromeos": "Alt+W",
        "linux": "Alt+W"
      },
      "description": "Open popup metawallet"
    }
  },
  "icons": {
    "16": "icons/16.png",
    "48": "icons/48.png",
    "128": "icons/128.png"
  },
  "permissions": [
    "storage",
    "unlimitedStorage",
    "alarms",
    "contextMenus",
    "tabs",
    "activeTab",
    "https://dapp.metacoin.network/*",
    "https://*.metascan.io/*"
  ],
  "externally_connectable": {
    "matches": [
      "https://t.me/MetacoinWalletBot/*",
      "https://dapp.metacoin.network/*"
    ],
    "ids": [
      "*"
    ]
  },
  "browser_action": {
    "default_popup": "popup.html",
    "default_title": "__MSG_appName__",
    "default_icon": {
      "19": "icons/19.png",
      "38": "icons/38.png"
    }
  },
  "background": {
    "persistent": true,
    "scripts": [
      "js/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "file://*/*",
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/content-script.js"
      ],
      "run_at": "document_start",
      "all_frames": false
    }
  ],
  "web_accessible_resources": [
    "js/inpage.js"
  ],
  "content_security_policy": "script-src 'self' ; object-src 'self'"
}