41 lines
1.1 KiB
JavaScript
Raw Normal View History

2019-03-15 10:08:39 +08:00
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']
2019-03-15 10:08:39 +08:00
}