新增通用的浏览器自动化扩展插件
This commit is contained in:
39
expand/general-auto/manifest.json
Normal file
39
expand/general-auto/manifest.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "General Auto - Browser Automation Controller",
|
||||
"version": "1.0.0",
|
||||
"description": "通用浏览器自动化控制扩展",
|
||||
"permissions": [
|
||||
"tabs",
|
||||
"webRequest",
|
||||
"webNavigation",
|
||||
"cookies",
|
||||
"storage",
|
||||
"debugger",
|
||||
"scripting"
|
||||
],
|
||||
"host_permissions": [
|
||||
"http://*/*",
|
||||
"https://*/*"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["content.js"],
|
||||
"run_at": "document_start",
|
||||
"all_frames": true
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["injected.js"],
|
||||
"matches": ["<all_urls>"]
|
||||
}
|
||||
],
|
||||
"action": {
|
||||
"default_popup": "popup.html"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user