Created
April 27, 2021 04:17
-
-
Save JohnathonNow/886d5a2cd4f620e1dca2d0516ac55d99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){var xhr = new XMLHttpRequest(); xhr.open("POST", "https://lichess.org/api/import", true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.send( "pgn="+encodeURIComponent(window.chesscom.analysis.pgn) ); xhr.onload = function() { window.location=(JSON.parse(this.responseText).url); }}()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you create a bookmark of this nonsense, you can use it on chess.com's analysis page to automatically switch to the lichess analysis tool.