mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-19 08:28:41 +00:00
42 lines
983 B
JavaScript
42 lines
983 B
JavaScript
|
|
||
|
module.exports = {
|
||
|
name: 'Vue Extension',
|
||
|
version: '1.0.0',
|
||
|
description: 'Vue.js Chrome Extension Template (wcer)',
|
||
|
author: 'yura',
|
||
|
manifest_version: 2,
|
||
|
icons: { '16': 'icons/16.png', '128': 'icons/128.png' },
|
||
|
permissions: [
|
||
|
'<all_urls>',
|
||
|
'*://*/*',
|
||
|
'activeTab',
|
||
|
'tabs',
|
||
|
'cookies',
|
||
|
'background',
|
||
|
'contextMenus',
|
||
|
'unlimitedStorage',
|
||
|
'storage',
|
||
|
'notifications',
|
||
|
'identity',
|
||
|
'identity.email'
|
||
|
],
|
||
|
browser_action: {
|
||
|
default_title: 'title',
|
||
|
default_popup: 'pages/popup.html'
|
||
|
},
|
||
|
background: {
|
||
|
persistent: false,
|
||
|
page: 'pages/background.html'
|
||
|
},
|
||
|
devtools_page: 'pages/devtools.html',
|
||
|
options_page: 'pages/options.html',
|
||
|
content_scripts: [{
|
||
|
js: [ 'js/inject.js' ],
|
||
|
run_at: 'document_end',
|
||
|
matches: ['<all_urls>'],
|
||
|
all_frames: true
|
||
|
}],
|
||
|
content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||
|
web_accessible_resources: [ 'panel.html', 'js/content.js' ]
|
||
|
}
|