Not that I'm for screen shot, I imagine they wrote a quick script that went through a list of links to the comment and produced the screenshot (which also resized the height of the window to fit the full comment).
The script probably utilized an integration with a screen capture library. I'd imagine someone can write a script to parse html and dig out the comment, but the screen capture script was probably faster to write.
A slower method would be to copy and paste the text by hand...
Gee, if only Hacker News had an API to extract the text and associated metadata from a comment, so that it could be presented in a textual way rather than as an image…
The script probably utilized an integration with a screen capture library. I'd imagine someone can write a script to parse html and dig out the comment, but the screen capture script was probably faster to write.
A slower method would be to copy and paste the text by hand...