diff --git a/source/src/manifest.json b/source/src/manifest.json new file mode 100644 index 0000000..88a5a0a --- /dev/null +++ b/source/src/manifest.json @@ -0,0 +1,64 @@ +{ + "manifest_version": 2, + "version": "1.1.0", + "name": "Cocos Creator Inspector", + "description": "Cocos Creator Inspector", + "default_locale": "en", + "permissions": [ + "activeTab", + "", + "*://*/*", + "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": [ + "" + ], + "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'" +}