OSDN Git Service

update to v2.0.0
[bytom/Byone.git] / src / manifest.js
1 module.exports = {
2   manifest_version: 2,
3   name: 'Byone',
4   description: 'Bytom Wallet Chrome extension, Bystore officially changed to Byone.',
5   version: '2.0.0.0',
6   author: 'Bytom frontend, zhitinglin',
7   web_accessible_resources: ['js/inject.js', 'wasm/main.wasm'],
8   browser_action: {
9     default_popup: 'pages/popup.html',
10     default_icon: 'icons/logo.png'
11   },
12   icons: {
13     '16': 'icons/logo.png',
14     '48': 'icons/logo.png',
15     '128': 'icons/logo.png'
16   },
17   permissions: [
18     '*://*/',
19     'storage',
20     "unlimitedStorage",
21     'contextMenus',
22     'clipboardWrite',
23     'clipboardRead',
24     'background'
25   ],
26   content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
27   content_scripts: [
28     {
29       js: ['js/content.js'],
30       run_at: 'document_end',
31       matches: ['<all_urls>'],
32       all_frames: false
33     }
34   ],
35   background: {
36     scripts: ['js/background.js']
37   }
38 }