There are no links on the page. There are spans, styled to look like links, with an attached event handler which sends some cryptic ID associated with the pseudo-link to the server over a websocket. The server sends back messages on the websocket which look like:
The handler on the websocket reads the messages (in a slightly roundabout way) and passes them to a function which parses them (in a highly roundabout way), and then goes into a big if-else ladder which dispatches on the first token to do various things; commands supported are: