Skip to content

Commit

Permalink
Enforce a Restricted Content Security Policy by Default
Browse files Browse the repository at this point in the history
Including a strict Content Security Policy in the manifest by default encourages developers to follow security coding practices.
  • Loading branch information
Rickerd0613 authored Nov 29, 2018
1 parent f493616 commit 628c04f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"permissions": [
"https://*/*"
],
"content_security_policy": "default-src 'self';",
"content_scripts": [
{
"matches": [
Expand All @@ -34,4 +35,4 @@
}
]
}


0 comments on commit 628c04f

Please sign in to comment.