Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions chrome/manifest.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "0.0.10",
"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"
},
"icons": {
"16": "img/icon-16.png",
"48": "img/icon-48.png",
"128": "img/icon-128.png"
},
"web_accesible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": ["https://www.chess.com/*"],
"js": ["inject.js"],
"all_frames": true
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"tabs",
"storage",
"https://www.chess.com/*"
]
}
67 changes: 38 additions & 29 deletions chrome/manifest.build.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
{
"version": "0.0.10",
"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"
},
"icons": {
"16": "img/icon-16.png",
"48": "img/icon-48.png",
"128": "img/icon-128.png"
},
"web_accessible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": ["https://www.chess.com/*"],
"js": ["inject.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:;"
"version": "0.0.10",
"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"
},
"icons": {
"16": "img/icon-16.png",
"48": "img/icon-48.png",
"128": "img/icon-128.png"
},
"web_accesible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": [
"https://www.chess.com/*"
],
"js": [
"inject.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:;"
}
81 changes: 45 additions & 36 deletions chrome/manifest.buildFirefox.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,48 @@
{
"version": "0.0.10",
"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"
"version": "0.0.10",
"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"
},
"web_accesible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": [
"https://www.chess.com/*"
],
"js": [
"inject.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:;",
"applications": {
"gecko": {
"id": "chesscom@gmail.com"
}
}
},
"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": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": ["https://www.chess.com/*"],
"js": ["inject.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:;"
}
79 changes: 41 additions & 38 deletions chrome/manifest.dev.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
{
"version": "0.0.10",
"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"
},
"icons": {
"128": "img/icon-128.png"
},
"web_accessible_resources": [
"inject.html",
"img/*",
"fonts/*",
"content.js"
],
"content_scripts": [
{
"matches": [
"version": "0.0.10",
"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"
},
"icons": {
"16": "img/icon-16.png",
"48": "img/icon-48.png",
"128": "img/icon-128.png"
},
"web_accesible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": [
"https://www.chess.com/*"
],
"js": [
"inject.js"
],
"all_frames": true
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"tabs",
"storage",
"https://www.chess.com/*"
],
"js": [
"inject.js"
],
"all_frames": true
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"management",
"tabs",
"storage",
"https://www.chess.com/*"
],
"content_security_policy": "default-src 'self'; script-src 'self' https://localhost:3000 'unsafe-eval'; connect-src https://localhost:3000 https://www.chess.com; style-src * 'unsafe-inline' 'self' blob:; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;"
],
"web_accessible_resources": [
"img/*",
"fonts/*"
],
"content_security_policy": "default-src 'self'; script-src 'self' https://localhost:3000 'unsafe-eval'; object-src 'self'; connect-src https://localhost:3000 https://www.chess.com; style-src 'self' blob:; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;"
}
93 changes: 48 additions & 45 deletions chrome/manifest.devFirefox.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,52 @@
{
"version": "0.0.10",
"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": {
"128": "img/icon-128.png"
},
"applications": {
"gecko": {
"id": "chesscom@gmail.com"
}
},
"web_accessible_resources": [
"inject.html",
"img/*",
"fonts/*",
"content.js"
],
"content_scripts": [
{
"matches": [
"version": "0.0.10",
"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"
},
"web_accesible_resources": [
"inject.html",
"content.js"
],
"content_scripts": [
{
"matches": [
"https://www.chess.com/*"
],
"js": [
"inject.js"
],
"all_frames": true
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"tabs",
"storage",
"https://www.chess.com/*"
],
"js": [
"inject.js"
],
"all_frames": true
],
"web_accessible_resources": [
"img/*",
"fonts/*"
],
"content_security_policy": "default-src 'self'; script-src 'self' https://localhost:3000 'unsafe-eval'; object-src 'self'; connect-src https://localhost:3000 https://www.chess.com; style-src 'self' blob:; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;",
"applications": {
"gecko": {
"id": "chesscom@gmail.com"
}
}
],
"background": {
"page": "background.html"
},
"permissions": [
"contextMenus",
"management",
"tabs",
"storage",
"https://www.chess.com/*"
],
"content_security_policy": "default-src 'self'; script-src 'self' https://localhost:3000 'unsafe-eval'; object-src 'self'; connect-src https://localhost:3000 https://www.chess.com; style-src 'self' blob:; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;"
}
1 change: 1 addition & 0 deletions chrome/manifest.specific.chrome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
7 changes: 7 additions & 0 deletions chrome/manifest.specific.dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"web_accessible_resources": [
"img/*",
"fonts/*"
],
"content_security_policy": "default-src 'self'; script-src 'self' https://localhost:3000 'unsafe-eval'; object-src 'self'; connect-src https://localhost:3000 https://www.chess.com; style-src 'self' blob:; img-src 'self' https://images.chesscomfiles.com data:; font-src 'self' data:;"
}
12 changes: 12 additions & 0 deletions chrome/manifest.specific.firefox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"browser_action": {
"default_icon": {
"48": "img/icon-48.png"
}
},
"applications": {
"gecko": {
"id": "chesscom@gmail.com"
}
}
}
3 changes: 3 additions & 0 deletions chrome/manifest.specific.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"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:;"
}
Loading