From 035a898416099175c889c0328b9dbbf18d84ebce Mon Sep 17 00:00:00 2001 From: fuwaa Date: Sat, 6 Aug 2022 03:34:50 +0800 Subject: [PATCH 1/2] policy: remove unnecessary permissions --- public/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/manifest.json b/public/manifest.json index 827a1cc..0a3d7e2 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -48,7 +48,7 @@ } ], - "permissions": ["storage", "scripting", "tabs"], + "permissions": ["storage", "scripting"], "background": { "service_worker": "background.js" }, From 15ee48f5d99478e04ce65884a835792033b085dd Mon Sep 17 00:00:00 2001 From: "restyled-io[bot]" <32688539+restyled-io[bot]@users.noreply.github.com> Date: Sat, 6 Aug 2022 03:38:05 +0800 Subject: [PATCH 2/2] Restyle policy: remove unnecessary permissions (#54) --- public/manifest.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/public/manifest.json b/public/manifest.json index 0a3d7e2..32956d9 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -2,13 +2,11 @@ "manifest_version": 3, "name": "Pint for GitHub", "version": "2.0", - "icons": { "16": "pint-logo.png", "48": "pint-logo.png", "128": "pint-logo.png" }, - "action": { "default_icon": { "16": "pint-logo.png", @@ -18,16 +16,12 @@ "default_title": "Pint for GitHub", "default_popup": "index.html" }, - "description": "Pint for GitHub is a theming engine that allows you to customize and theme your developer experience on GitHub.", - "author": { "name": "Jariel Que", "url": "https://github.com/fuwaa" }, - "host_permissions": ["https://*.github.com/"], - "content_scripts": [ { "run_at": "document_start", @@ -47,7 +41,6 @@ "js": ["initial.js"] } ], - "permissions": ["storage", "scripting"], "background": { "service_worker": "background.js"