Skip to content

Commit ec8a16f

Browse files
committed
Add Content-Security-Policy for options page
1 parent c2a7b6b commit ec8a16f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "__MSG_extensionName__",
55
"description": "__MSG_extensionDescription__",
66
"author": "Andreas Bielawski",
7-
"version": "4.1.0",
7+
"version": "4.1.1",
88
"icons": {
99
"16": "icons/16.png",
1010
"32": "icons/32.png",
@@ -21,5 +21,8 @@
2121
"open_in_tab": true,
2222
"page": "options/options.html"
2323
},
24+
"content_security_policy": {
25+
"extension_pages": "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
26+
},
2427
"permissions": ["contextMenus", "storage"]
2528
}

0 commit comments

Comments
 (0)