Skip to content

Commit

Permalink
Update manifest with required permissions
Browse files Browse the repository at this point in the history
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:
#5

Fixes:
#38
  • Loading branch information
RachitKeertiDas committed Jan 6, 2023
1 parent d9a2fab commit caaa7b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "AIMS-Helper",
"version": "0.1",
"version": "0.6",
"background": {
"scripts": ["/src/bg/background.js"],
"persistent":false
Expand All @@ -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", "<all_urls>","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"]
}
}
}

0 comments on commit caaa7b3

Please sign in to comment.