stricter permissions
This commit is contained in:
parent
f144ffa5b5
commit
39cffd7420
|
@ -45,7 +45,7 @@ After that you can find the extension in `build` directory and 'Load unpacked' i
|
|||
# Permissions used
|
||||
* `notifications` for showing error notification
|
||||
* `activeTab` for requesting url, title and selected text
|
||||
* `http://*/capture` for talking with backend. This is a bit too broad, but don't think there is a stricter way of doing that? Let me know if there is.
|
||||
* `http://localhost/capture` for talking with backend
|
||||
|
||||
* `content_security_policy` needed for webpack.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "grasp-extension",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.3",
|
||||
"description": "A reliable way of capturing web pages and content",
|
||||
"scripts": {
|
||||
"build": "webpack --progress --profile --colors",
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
"permissions": [
|
||||
"notifications",
|
||||
"activeTab",
|
||||
"http://*/capture"
|
||||
"http://localhost/capture",
|
||||
"https://localhost/capture"
|
||||
],
|
||||
"commands": {
|
||||
"capture-simple": {
|
||||
|
|
Loading…
Reference in a new issue