diff --git a/manifest.json b/manifest.json index 15d2d99..764e97f 100644 --- a/manifest.json +++ b/manifest.json @@ -2,35 +2,31 @@ "manifest_version": 3, "name": "Корпоративный портал", "version": "1.0", + "description": "Расширение Корпоративного портала Правительства Тульской области для браузеров Chrome", "icons": { "16": "/icons/16x16.png", "48": "/icons/48x48.png", "128": "/icons/128x128.png" }, - "permissions": [ - "declarativeNetRequest", - "storage" - ], - "host_permissions": [ - "*://corp.tularegion.local/*", - "*://corp.tularegion.ru/*" - ], - "content_scripts": [ - { - "matches": [ - "*://corp.tularegion.local/*", - "*://corp.tularegion.ru/*" - ], - "js": [ - "/content-script.js" - ] - } - ], + "action": { + "default_popup": "/public/index.html" + }, "background": { "service_worker": "/service_worker.js" }, - "action": { - "default_popup": "/public/index.html" + "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'" }, "declarative_net_request": { "rule_resources": [ @@ -41,9 +37,14 @@ } ] }, - "content_security_policy": { - "extension_pages": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'" - }, + "host_permissions": [ + "*://corp.tularegion.local/*", + "*://corp.tularegion.ru/*" + ], + "permissions": [ + "declarativeNetRequest", + "storage" + ], "storage": { "managed_schema": "/storage_schema.json" }