A Tampermonkey script (userscript) runs in the browser, manipulating the DOM and injecting logic into a chess website’s frontend. Common features range from move highlighting and best-move suggestions (via UCI engine integration) to auto-move and premove bots.
Dark modes, custom piece sets, or moving the clock to a more readable position. Square Labels: Adding coordinates directly onto the board squares. The Verdict:
Verify: Click the Tampermonkey icon in your browser toolbar to ensure the script is listed and toggled to Enabled.
Move Reading
Using the website’s internal state (often from a global JavaScript object like LichessGround or ChessComBoard), the script extracts the current FEN (Forsyth–Edwards Notation) or PGN of the position.
Before understanding a chess script, you must understand Tampermonkey itself.