Originally posted by ouroboros
I've removed this script for the time being as it is not very performance minded. Every call to the game page will call a second page to get the PGN. I would ask that anyone who is using to please disable it for the time being while I come up with a better implementation. (Calling a second page for the PGN is valid if you always do it manually yourself but I doubt that is the case.)
Okay, new version available. There are some limitations. To avoid calling the server for the PGN all the time, the script makes an initial fetch of the PGN and then stores it locally. When a move is noted, the script creates the next move and adds it to the game score. This means that if you make moves on multiple computers, the game score will get out of sync. If I had access to a server with server-side scripting ability, we could store the PGN to that server and optimize the storage/retrieval so that this wouldn't be an issue.
When using the script for the first time, the server will be hit twice, once for the game board and once for the PGN, so be gentle.