53 lines
833 B
JSON
53 lines
833 B
JSON
{
|
|
"name": "BotExt",
|
|
"version": "0.1.0",
|
|
"manifest_version": 3,
|
|
"background": {
|
|
"service_worker": "sw.js"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"https://www.kdocs.cn/*"
|
|
],
|
|
"js": [
|
|
"content-script.js"
|
|
],
|
|
"run_at": "document_end"
|
|
},
|
|
{
|
|
"matches": [
|
|
"<all_urls>"
|
|
],
|
|
"js": [
|
|
"wps.js"
|
|
],
|
|
"run_at": "document_end",
|
|
"world": "MAIN"
|
|
}
|
|
],
|
|
"permissions": [
|
|
"scripting",
|
|
"webNavigation",
|
|
"storage",
|
|
"activeTab",
|
|
"nativeMessaging"
|
|
],
|
|
"host_permissions": [
|
|
"https://www.kdocs.cn/*"
|
|
],
|
|
"action": {
|
|
"default_popup": "index.html"
|
|
},
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": [
|
|
"wps.js"
|
|
],
|
|
"matches": [
|
|
"<all_urls>"
|
|
]
|
|
}
|
|
]
|
|
}
|