From f63187305a2a9b0d79e9fb8a99b2299e643ba32a Mon Sep 17 00:00:00 2001 From: csasq Date: Fri, 20 Dec 2024 00:15:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BD=D0=B5=D0=B4=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D1=84=D1=83=D0=BD?= =?UTF-8?q?=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) 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" }