OSDN Git Service

init
[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   ],
19   browser_action: {
20     default_icon: {
21       '19': 'icons/main.png',
22       '38': 'icons/main.png',
23       '128': 'icons/main.png'
24     },
25     default_title: "default title",
26     default_popup: "pages/popup.html"
27   },
28   background: {
29     persistent: false,
30     scripts: ['js/background.js']
31   },
32   // devtools_page: 'pages/devtools.html',
33   options_page: 'pages/options.html',
34   content_scripts: [
35     {
36       js: ['js/inject.js'],
37       run_at: 'document_end',
38       matches: ['<all_urls>'],
39       all_frames: false
40     }
41   ],
42   content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
43   web_accessible_resources: ['js/content.js']
44 }