From caaa7b3785835c84d0d18e43649c8d9a848caa21 Mon Sep 17 00:00:00 2001 From: Rachit Keerti Das Date: Fri, 6 Jan 2023 23:13:09 +0530 Subject: [PATCH] Update manifest with required permissions Remove unneeded storage,tabs permissions Update host to matching schemes. Thanks to @kst164 This allows extension to be hidden on non-AIMS websites Part of: https://github.com/LambdaIITH/AIMS-Helper-Chrome/issues/5 Fixes: https://github.com/LambdaIITH/AIMS-Helper-Chrome/issues/38 --- manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 89fc2bd..21bceef 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "AIMS-Helper", - "version": "0.1", + "version": "0.6", "background": { "scripts": ["/src/bg/background.js"], "persistent":false @@ -10,10 +10,10 @@ "default_popup":"/src/popup/popup.html" }, "content_security_policy":"script-src 'self' https://www.gstatic.com/ https://*.firebaseio.com https://www.googleapis.com https://apis.google.com; object-src 'self'", - "permissions": ["declarativeContent", "storage", "tabs", "","http://*/","https://*/", "identity"], + "permissions": ["declarativeContent", "*://aims.iith.ac.in/*/"], "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArxDKyZq24tbgpEHXZLVG29XWoSQ+5i0EE7SAmylQeFNtynjLnvZLJPUwvjzQt+qQugYXuIzUhFqPgGBFOtXkMuiAsKtysYZelj1RUgJ6T5TLMBMYE71I97YuhSV6j6q4vSlX/3dCq8tRSrqfDCNIDtnnD8l8IslrBLJz69bVhFSX70Xt4rWsX4PQ6K+mTTTPvX3ZN87czyqWTyyp+vcTLdEqGHfqUNJ/Y05r6lghTJXLfSy3NvtlbYHm+nT/AU2JVojXCfR29lU9hVbJl9cGMgIKSUS1Ee9ON+Y1SM0xM82/1eknoSO9X+CYbHf+M5ZH0kaPBTUfLEa2yuwr+pakrQIDAQAB", "oauth2": { "client_id": "198169856520-3hh3ri82ptmvb3oqdvhvh9mui0ldo5c1.apps.googleusercontent.com", "scopes":["https://www.googleapis.com/auth/datastore"] } -} \ No newline at end of file +}