OSDN Git Service

v0.1.0
[bytom/Byone.git] / src / manifest.js
1 module.exports = {
2   name: "Bytom Wallet",
3   version: "1.0.0",
4   description: "Bytom Chrome Extension Wallet",
5   author: "yanbo,xuhongxing",
6   manifest_version: 2,
7   icons: {
8     "16": "icons/logo.png",
9     "48": "icons/logo.png",
10     "128": "icons/logo.png"
11   },
12   permissions: [
13     "*://*/",
14     "storage",
15     "contextMenus",
16     "clipboardWrite",
17     "clipboardRead",
18     "background"
19   ],
20   browser_action: {
21     default_icon: {
22       "19": "icons/logo.png",
23       "38": "icons/logo.png",
24       "128": "icons/logo.png"
25     },
26     default_title: "Bytom Wallet",
27     default_popup: "pages/popup.html"
28   },
29   background: {
30     persistent: true,
31     scripts: ["js/background.js"]
32   },
33   // devtools_page: 'pages/devtools.html',
34   options_page: "pages/options.html",
35   content_scripts: [
36     {
37       js: ["js/inject.js"],
38       run_at: "document_end",
39       matches: ["<all_urls>"],
40       all_frames: false
41     }
42   ],
43   content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
44   web_accessible_resources: ["js/content.js", "wasm/main.wasm"]
45 };