module.exports = {
- name: 'Vue Chrome Extension',
- version: '1.0.0',
- description: 'Vue.js Chrome Extension Template',
- author: '',
manifest_version: 2,
+ name: 'Byone',
+ description: 'Bytom Wallet Chrome extension, Bystore officially changed to Byone.',
+ version: '2.1.3',
+ author: 'Bytom frontend, zhitinglin',
+ web_accessible_resources: ['js/inject.js', 'wasm/main.wasm'],
+ browser_action: {
+ default_popup: 'pages/popup.html',
+ default_icon: 'icons/logo.png'
+ },
icons: {
- '16': 'icons/main.png',
- '48': 'icons/main.png',
- '128': 'icons/main.png'
+ '16': 'icons/logo.png',
+ '48': 'icons/logo.png',
+ '128': 'icons/logo.png'
},
permissions: [
'*://*/',
'storage',
+ "unlimitedStorage",
'contextMenus',
'clipboardWrite',
- 'clipboardRead'
+ 'clipboardRead',
+ 'background'
],
- browser_action: {
- default_icon: {
- '19': 'icons/main.png',
- '38': 'icons/main.png',
- '128': 'icons/main.png'
- },
- default_title: "default title",
- default_popup: "pages/popup.html"
- },
- background: {
- persistent: false,
- scripts: ['js/background.js']
- },
- // devtools_page: 'pages/devtools.html',
- options_page: 'pages/options.html',
+ content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
content_scripts: [
{
- js: ['js/inject.js'],
+ js: ['js/content.js'],
run_at: 'document_end',
matches: ['<all_urls>'],
all_frames: false
}
],
- content_security_policy: "script-src 'self' 'unsafe-eval'; object-src 'self'",
- web_accessible_resources: ['js/content.js']
+ background: {
+ scripts: ['js/background.js']
+ }
}