Skip to content

Commit

Permalink
fix: Chrome v103 add content_security_policy to manifest (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
thieleju committed Oct 23, 2024
1 parent a2c208d commit 9cecf15
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
7 changes: 5 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Shows Win/Lose/Draw and average accuracy for players on chess.com",
"author": "thieleju",
"manifest_version": 3,
"version": "2.7.2",
"version": "2.7.3",
"permissions": ["activeTab", "scripting", "storage"],
"action": {
"default_locale": "en",
Expand Down Expand Up @@ -34,5 +34,8 @@
"js": ["src/scripts/insights.ts"]
}
],
"host_permissions": ["https://*.chess.com/*"]
"host_permissions": ["https://*.chess.com/*"],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chess-com-insights",
"private": true,
"version": "2.7.2",
"version": "2.7.3",
"type": "module",
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,7 +36,7 @@
"@types/sinon": "^17.0.3",
"@types/webfontloader": "^1.6.38",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vitejs/plugin-vue": "^5.1.4",
"c8": "^10.1.2",
"chai": "^5.1.1",
"eslint": "^9.13.0",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cecf15

Please sign in to comment.