Opens PGN of a game from chess.com or chessgames.com in lichess.org analysis
Chess.com Analysis at Lichess Extension
This extension has the following features:
* Allows you to view lichess analysis for any finished chess.com game.
* Works from the Game Archive as well as from finished live games
* Also supports chessgames.com, chess-db.com and chesstempo.com
I am not affiliated in any way with lichess or chess.com (but I'm a fan of both).
I'm not playing chess as much right now, so if it's broken, please let me know at [email protected].
Many thanks to all contributors!
Reddit discussion is here: https://redd.it/47cdew
Source code is on Github here: https://goo.gl/rOZqsm
Recent changes:
2024 December 4: Fixed for recent chess.com changes. Now works for World Championship games and other events.
2023 May 24: Fixed for chess.com games against computers.
2022 April 17: Fixed for change to chess.com download button.
2022 March 28: Fixed some problems with the upgrade to manifest v3. Fixed chessgames.com. Fixed for change to chess.com download button.
2022 March 27: Upgraded to Chrome manifest v3 (thanks Russell!)
2022 March 5: Prevented chess.com analysis from being sent to lichess (thanks Russell!)
2021 December 20: Fixed for chess.com games via download button (thanks Pierre-Louis!).
2021 July 29: Fixed for chess.com daily games and events.
2021 February 6: Fixed when launched from the chess.com analysis pages. (thanks Johannes!)
2020 November 18: Fixes for recent chess.com changes. Now works from chess.com analysis pages.
2020 September 19: Fixes for changes to urls on chess.com and chesstempo.com.
2020 September 3: Updated for new url format on chess.com (thanks mhssmnn!).
2019 December 20: Fixed after recent changes to chess.com.
2019 October 8: Fixed after recent changes to chess.com. Now works with games against the computer.
2019 April 16: Support for games from chessgames.com, chess-db.com and chesstempo.com. Improved manifest to limit permissions as much as possible. Icon now becomes enabled only when there is a valid game to analyse. Improved colour of icon so that it is clear when it is available.
2019 April 4: Fixed after live game. Avoided 'the message port closed...' error.
2019 April 3: Fixed after recent changes to Chess.com (thanks 0ddFell0w!) . Support for 'daily' games.
2018 December 8: Fixed after recent changes to Lichess import page.
2018 October 20: Fixed problem which was preventing working after live games.
2017 January 3: Fix to link after finished game. Also works from chess.com live analysis.
2016 November 30: Print-friendly PDF is now a separate Chrome extension (Lichess Print-friendly PDF).
2016 November 25: Print-friendly PDF now uses AWS lambda.
2016 November 14: Added 'Print-friendly PDF export' which has recently been removed from lichess.
2016 July 5: Fixed for recent chess.com changes.
2016 June 29: Fixed game result in lichess PDF export
2016 June 16: Fixed css name clash.
2016 June 16: Fixes for recent chess.com changes. Now works from any live game in v3 (not just your own)!
2016 June 13: Uses https in lichess.org urls.
2016 Mar 30: Improved reliability of computer analysis toggle before uploading to lichess.
2016 Mar 27: Updated to support recent changes to chess.com.
Thanks to Allan Rempel who created a similar plugin for chess.com v2.
Icon CC-BY-SA 3.0, CBurnett (https://en.wikipedia.org/wiki/User:Cburnett)
with adjustments by AntonSusi (https://commons.wikimedia.org/wiki/User:Antonsusi).
Read more
* Allows you to view lichess analysis for any finished chess.com game.
* Works from the Game Archive as well as from finished live games
* Also supports chessgames.com, chess-db.com and chesstempo.com
I am not affiliated in any way with lichess or chess.com (but I'm a fan of both).
I'm not playing chess as much right now, so if it's broken, please let me know at [email protected].
Many thanks to all contributors!
Reddit discussion is here: https://redd.it/47cdew
Source code is on Github here: https://goo.gl/rOZqsm
Recent changes:
2024 December 4: Fixed for recent chess.com changes. Now works for World Championship games and other events.
2023 May 24: Fixed for chess.com games against computers.
2022 April 17: Fixed for change to chess.com download button.
2022 March 28: Fixed some problems with the upgrade to manifest v3. Fixed chessgames.com. Fixed for change to chess.com download button.
2022 March 27: Upgraded to Chrome manifest v3 (thanks Russell!)
2022 March 5: Prevented chess.com analysis from being sent to lichess (thanks Russell!)
2021 December 20: Fixed for chess.com games via download button (thanks Pierre-Louis!).
2021 July 29: Fixed for chess.com daily games and events.
2021 February 6: Fixed when launched from the chess.com analysis pages. (thanks Johannes!)
2020 November 18: Fixes for recent chess.com changes. Now works from chess.com analysis pages.
2020 September 19: Fixes for changes to urls on chess.com and chesstempo.com.
2020 September 3: Updated for new url format on chess.com (thanks mhssmnn!).
2019 December 20: Fixed after recent changes to chess.com.
2019 October 8: Fixed after recent changes to chess.com. Now works with games against the computer.
2019 April 16: Support for games from chessgames.com, chess-db.com and chesstempo.com. Improved manifest to limit permissions as much as possible. Icon now becomes enabled only when there is a valid game to analyse. Improved colour of icon so that it is clear when it is available.
2019 April 4: Fixed after live game. Avoided 'the message port closed...' error.
2019 April 3: Fixed after recent changes to Chess.com (thanks 0ddFell0w!) . Support for 'daily' games.
2018 December 8: Fixed after recent changes to Lichess import page.
2018 October 20: Fixed problem which was preventing working after live games.
2017 January 3: Fix to link after finished game. Also works from chess.com live analysis.
2016 November 30: Print-friendly PDF is now a separate Chrome extension (Lichess Print-friendly PDF).
2016 November 25: Print-friendly PDF now uses AWS lambda.
2016 November 14: Added 'Print-friendly PDF export' which has recently been removed from lichess.
2016 July 5: Fixed for recent chess.com changes.
2016 June 29: Fixed game result in lichess PDF export
2016 June 16: Fixed css name clash.
2016 June 16: Fixes for recent chess.com changes. Now works from any live game in v3 (not just your own)!
2016 June 13: Uses https in lichess.org urls.
2016 Mar 30: Improved reliability of computer analysis toggle before uploading to lichess.
2016 Mar 27: Updated to support recent changes to chess.com.
Thanks to Allan Rempel who created a similar plugin for chess.com v2.
Icon CC-BY-SA 3.0, CBurnett (https://en.wikipedia.org/wiki/User:Cburnett)
with adjustments by AntonSusi (https://commons.wikimedia.org/wiki/User:Antonsusi).
Source Manifest.json
{ "name": "Chess.com Analysis at Lichess", "version": "4.0.4", "manifest_version": 3, "description": "Opens PGN of a game from chess.com or chessgames.com in lichess.org analysis", "homepage_url": "http://www.zerosharp.com", "update_url": "https://clients2.google.com/service/update2/crx", "icons": { "128": "icons/knight128.png", "16": "icons/knight16.png", "256": "icons/knight256.png", "32": "icons/knight32.png", "512": "icons/knight512.png", "64": "icons/knight64.png" }, "default_locale": "en", "background": { "service_worker": "src/bg/background.js", "type": "module" }, "content_scripts": [ { "js": [ "js/jquery-3.5.1.min.js", "src/bg/analysis.js" ], "matches": [ "https://*.lichess.org/paste" ] }, { "css":[ "css/getpgn.css" ], "js": [ "js/jquery-3.5.1.min.js", "src/bg/getpgn.js" ], "matches": [ "https://www.chess.com/live*", "https://www.chess.com/play/computer", "https://www.chess.com/live/game/*", "https://www.chess.com/game/live/*", "https://www.chess.com/analysis/game/live/*", "https://www.chess.com/game/daily/*", "https://www.chess.com/game/computer/*", "https://www.chess.com/events/*/*", "https://www.chess.com/play/online", "https://www.chessgames.com/perl/chessgame*", "https://chessgames.com/perl/chessgame*", "https://chess-db.com/public/game.jsp*", "https://chesstempo.com/gamedb/*/*", "https://old.chesstempo.com/gamedb/*/*", "https://old.chesstempo.com/game-database.html" ] } ], "action": { "default_icon": { "128": "icons/knight128.png", "16": "icons/knight16.png", "256": "icons/knight256.png", "32": "icons/knight32.png", "512": "icons/knight512.png", "64": "icons/knight64.png" } }, "permissions": [ "activeTab" ]}
Read more