feat(extension): tightens the permissions for which URLs the extension can access (#677)

This commit is contained in:
Ray Booysen 2020-11-18 07:11:16 +08:00 committed by GitHub
parent f2e01b1ca1
commit c980eadec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -65,7 +65,9 @@
"contextMenus",
"tabs",
"storage",
"<all_urls>"
"file:///*",
"http://*/*",
"https://*/*"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;",
"update_url": "https://clients2.google.com/service/update2/crx",

View File

@ -59,7 +59,9 @@
"contextMenus",
"tabs",
"storage",
"<all_urls>"
"file:///*",
"http://*/*",
"https://*/*"
],
"content_security_policy": "script-src 'self'; object-src 'self'; img-src 'self' data:;"
}