Skip to content

Commit 9ad50ac

Browse files
committed
remove unsafe-eval directive
1 parent b05f19b commit 9ad50ac

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

src/manifest.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,8 @@
1111
"content_scripts": [
1212
{
1313
"run_at": "document_start",
14-
"matches": [
15-
"<all_urls>"
16-
],
17-
"js": [
18-
"content.js"
19-
]
14+
"matches": ["<all_urls>"],
15+
"js": ["content.js"]
2016
}
2117
],
2218
"browser_action": {
@@ -29,13 +25,9 @@
2925
"default_popup": "popup/popup.html"
3026
},
3127
"background": {
32-
"scripts": [
33-
"background.js"
34-
]
28+
"scripts": ["background.js"]
3529
},
36-
"permissions": [
37-
"https://*/*"
38-
],
39-
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
40-
"web_accessible_resources": [ "injected.js" ]
30+
"permissions": ["https://*/*"],
31+
"content_security_policy": "script-src 'self'; object-src 'self'",
32+
"web_accessible_resources": ["injected.js"]
4133
}

0 commit comments

Comments
 (0)