From 80c7d6fc9d6bd366290cda340b50729e1842d27b Mon Sep 17 00:00:00 2001 From: "Alex.Liu" Date: Sat, 6 May 2023 12:33:19 +0800 Subject: [PATCH] fix(ext): http permission --- packages/chrome-extension/src/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/chrome-extension/src/manifest.json b/packages/chrome-extension/src/manifest.json index 0de2647..acabcbf 100644 --- a/packages/chrome-extension/src/manifest.json +++ b/packages/chrome-extension/src/manifest.json @@ -9,13 +9,13 @@ "storage", "scripting" ], - "host_permissions": ["https://*/*"], + "host_permissions": ["https://*/*", "http://*/*"], "content_scripts": [ { "run_at": "document_end", "js": ["/contentScript/index.js"], "matches": [ - "https://*/*" + "https://*/*", "http://*/*" ] } ], @@ -38,7 +38,7 @@ "web_accessible_resources": [ { "resources": ["contentScript/style.css"], - "matches": ["https://*/*"], + "matches": ["https://*/*", "http://*/*"], "use_dynamic_url": true } ]