mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-02 12:30:45 +08:00
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
// {
|
|
// "name": "v_jstools",
|
|
// "version": "0.0.0",
|
|
// "description": "v_jstools js hook工具",
|
|
// "permissions": ["storage", "unlimitedStorage", "activeTab", "tabs", "debugger", "storage", "contextMenus"],
|
|
// "content_security_policy": {
|
|
// // "extension_pages": "script-src 'self' 'unsafe-eval'; object-src 'self'"
|
|
// },
|
|
// "action": {
|
|
// "default_popup": "popup.html"
|
|
// },
|
|
// "background": {
|
|
// "service_worker": "background.js"
|
|
// },
|
|
// "content_scripts": [
|
|
// {
|
|
// "matches": [ "file:///*", "http://*/*", "https://*/*" ],
|
|
// "run_at": "document_start",
|
|
// "js": ["inject.js"],
|
|
// "all_frames": true
|
|
// }
|
|
// ],
|
|
// "options_page": "options.html",
|
|
// "options_ui": {
|
|
// // "chrome_style": false,
|
|
// "open_in_tab": true,
|
|
// "page": "options.html"
|
|
// },
|
|
// "manifest_version": 3
|
|
// }
|
|
|
|
|
|
|
|
{
|
|
"name": "v_jstools",
|
|
"version": "0.0.0",
|
|
"description": "v_jstools js hook工具",
|
|
"permissions": ["storage", "unlimitedStorage", "activeTab", "tabs", "debugger", "storage", "contextMenus", "http://*/*", "https://*/*", "cookies"],
|
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
|
"browser_action": {
|
|
"default_popup": "popup.html"
|
|
},
|
|
"background": {
|
|
"page": "background.html",
|
|
"persistent": true
|
|
},
|
|
"devtools_page": "devtools.html",
|
|
"content_scripts": [
|
|
{
|
|
"matches": [ "file:///*", "http://*/*", "https://*/*" ],
|
|
"run_at": "document_start",
|
|
"js": ["inject.js"],
|
|
"all_frames": true
|
|
}
|
|
],
|
|
"options_page": "options.html",
|
|
"options_ui": {
|
|
"chrome_style": false,
|
|
"open_in_tab": true,
|
|
"page": "options.html"
|
|
},
|
|
"manifest_version": 2
|
|
}
|