2024-12-18 12:04:43 +03:00
|
|
|
{
|
|
|
|
"manifest_version": 3,
|
2024-12-20 00:15:39 +03:00
|
|
|
"name": "Корпоративный портал",
|
2024-12-18 12:04:43 +03:00
|
|
|
"version": "1.0",
|
2024-12-20 00:15:39 +03:00
|
|
|
"description": "Расширение Корпоративного портала Правительства Тульской области для браузеров Chrome",
|
2024-12-19 12:52:29 +03:00
|
|
|
"icons": {
|
|
|
|
"16": "/icons/16x16.png",
|
|
|
|
"48": "/icons/48x48.png",
|
|
|
|
"128": "/icons/128x128.png"
|
|
|
|
},
|
2024-12-20 00:15:39 +03:00
|
|
|
"action": {
|
|
|
|
"default_popup": "/public/index.html"
|
|
|
|
},
|
2024-12-18 12:04:43 +03:00
|
|
|
"background": {
|
2024-12-20 00:15:39 +03:00
|
|
|
"service_worker": "/service_worker.js"
|
2024-12-18 12:04:43 +03:00
|
|
|
},
|
2024-12-20 00:15:39 +03:00
|
|
|
"content_scripts": [
|
|
|
|
{
|
|
|
|
"matches": [
|
|
|
|
"*://corp.tularegion.local/*",
|
|
|
|
"*://corp.tularegion.ru/*"
|
|
|
|
],
|
|
|
|
"js": [
|
|
|
|
"/content-script.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"content_security_policy": {
|
|
|
|
"extension_pages": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'"
|
2024-12-18 12:04:43 +03:00
|
|
|
},
|
|
|
|
"declarative_net_request": {
|
|
|
|
"rule_resources": [
|
|
|
|
{
|
|
|
|
"id": "ruleset",
|
|
|
|
"enabled": true,
|
|
|
|
"path": "/rules.json"
|
|
|
|
}
|
|
|
|
]
|
2024-12-18 17:38:56 +03:00
|
|
|
},
|
2024-12-20 00:15:39 +03:00
|
|
|
"host_permissions": [
|
|
|
|
"*://corp.tularegion.local/*",
|
|
|
|
"*://corp.tularegion.ru/*"
|
|
|
|
],
|
|
|
|
"permissions": [
|
|
|
|
"declarativeNetRequest",
|
|
|
|
"storage"
|
|
|
|
],
|
2024-12-20 00:15:39 +03:00
|
|
|
"storage": {
|
|
|
|
"managed_schema": "/storage_schema.json"
|
2024-12-18 12:04:43 +03:00
|
|
|
}
|
|
|
|
}
|