OSDN Git Service

test code
[bytom/Byone.git] / src / manifest.js
1 module.exports = {
2   name: 'Vue Chrome Extension',
3   version: '1.0.0',
4   description: 'Vue.js Chrome Extension Template',
5   author: '',
6   manifest_version: 2,
7   icons: {
8     '16': 'icons/main.png',
9     '48': 'icons/main.png',
10     '128': 'icons/main.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/main.png',
23       '38': 'icons/main.png',
24       '128': 'icons/main.png'
25     },
26     default_title: "default title",
27     default_popup: "pages/popup.html"
28   },
29   background: {
30     persistent: false,
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 }