Customize your Chess.com experience with our open-source browser extension.
Interested in contributing? Check out https://github.com/ChessCom/browser-extension
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"version": "1.0.1resigned1",
"name": "Chess Browser Extension",
"manifest_version": 2,
"description": "Customize your Chess.com Experience",
"browser_action": {
"default_title": "Chess.com Browser Extension",
"default_popup": "popup.html",
"default_icon": {
"48": "img/icon-48.png"
}
},
"icons": {
"16": "img/icon-16.png",
"48": "img/icon-48.png",
"128": "img/icon-128.png"
},
"applications": {
"gecko": {
"id": "chesscom@gmail.com"
}
},
"web_accessible_resources": [
"getCurrentUser.js"
],
"content_scripts": [
{
"matches": [
"https://www.chess.com/*"
],
"js": [
"injectScriptWithWindowAccess.js"
],
"all_frames": true
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"tabs",
"storage",
"https://www.chess.com/*"
],
"content_security_policy": "default-src 'self'; script-src 'self'; connect-src https://www.chess.com; style-src * 'unsafe-inline'; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;"
}