Note: This is a very simple and very inefficient algorithm. Another note: The source code is available.
If you are using Internet Explorer, right click in your browser window and select "View Source".
This opens a Notepad window from which you can save the source as an HTML or text file.
If you want to 'execute' the HTML-file locally, don't forget to remove the Statcounter code near the bottom.
Your browser can (and should) also issue a security warning. You can safely ignore it.
The procedure should be similar in other browsers or in a non-Windows environment.