manifest.json

This commit is contained in:
xuyanfeng 2021-04-03 15:52:08 +08:00
parent 284579b935
commit 3f60e58c71

64
source/src/manifest.json Normal file
View File

@ -0,0 +1,64 @@
{
"manifest_version": 2,
"version": "1.1.0",
"name": "Cocos Creator Inspector",
"description": "Cocos Creator Inspector",
"default_locale": "en",
"permissions": [
"activeTab",
"<all_urls>",
"*://*/*",
"tabs",
"http://*/*",
"https://*/*",
"audio",
"system.cpu",
"clipboardRead",
"clipboardWrite",
"system.memory",
"processes",
"tabs",
"storage",
"nativeMessaging",
"contextMenus",
"notifications"
],
"icons": {
"48": "icons/48.png"
},
"devtools_page": "devtools_panel.html",
"background": {
"scripts": [
"js/background.js"
],
"persistent": false
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"js/content.js"
],
"run_at": "document_end",
"all_frames": true
}
],
"options_ui": {
"page": "options.html",
"browser_style": true
},
"browser_action": {
"default_popup": "popup.html",
"default_title": "CC-Inspector",
"default_icon": {
"48": "icons/48.png"
}
},
"web_accessible_resources": [
"*/*",
"*"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}