From 9e79e906f77c973c4c60adc12e113495420a678b Mon Sep 17 00:00:00 2001 From: Aatman Vaidya Date: Tue, 31 Oct 2023 16:19:02 +0530 Subject: [PATCH] refactor: changing permission for url in manifest --- browser-extension/plugin/manifest.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/browser-extension/plugin/manifest.json b/browser-extension/plugin/manifest.json index b652f6be..bd647ee0 100644 --- a/browser-extension/plugin/manifest.json +++ b/browser-extension/plugin/manifest.json @@ -7,11 +7,8 @@ "content_security_policy": { "extension_pages": "default-src 'none'; connect-src https://ogbv-plugin.tattle.co.in/ https://uli-media.tattle.co.in/; font-src https://fonts.gstatic.com; object-src 'none'; script-src 'self'; style-src https://fonts.googleapis.com 'self' 'unsafe-inline'; img-src https://uli-media.tattle.co.in/; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; report-uri 'none';" }, - "permissions": [ - "storage", - "contextMenus", - "https://ogbv-plugin.tattle.co.in/*" - ], + "permissions": ["storage", "contextMenus"], + "host_permissions": ["https://ogbv-plugin.tattle.co.in/*"], "background": { "service_worker": "background.js" },