From 09d0b3170530f0a157b38dd67f69b88e86b8f81a Mon Sep 17 00:00:00 2001 From: Roman Stepanchuk Date: Fri, 20 Jun 2025 14:10:17 +0500 Subject: [PATCH] fix manifest2 --- public/manifest.json | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 03ced4d..9842afe 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,30 +1,31 @@ { "name": "gRPC-Web Developer Tools", "version": "1.4.1", - "manifest_version": 2, + "manifest_version": 3, "description": "gRPC-Web Developer Tools for debugging application's gRPC-Web network requests.", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, + "action": {}, "devtools_page": "devtools.html", - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", "background": { - "scripts": [ - "background.js" - ], - "persistent": false + "service_worker": "background.js" }, - "web_accessible_resources": ["connect-web-interceptor.js"], + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + }, + "web_accessible_resources": [ + { + "resources": ["connect-web-interceptor.js"], + "matches": [""] + } + ], "content_scripts": [ { - "matches": [ - "" - ], - "js": [ - "content-script.js" - ], + "matches": [""], + "js": ["content-script.js"], "run_at": "document_start", "all_frames": true }