How to recover PuzzleScript source code from an exported HTML file

175 views
Skip to first unread message

Stephen Lavelle

unread,
Jun 14, 2018, 6:13:57 AM6/14/18
to PuzzleScript
Someone asked me privately, and I just want to put it on the public record:

If you open it up in a plain text editor (ideally turning on wordwrap) and look in what follows after "sourceCode=" and before ";compile" you'll see a version of your source code in between two quotation marks, then paste it here and UNescape it to get the formatting fixed - https://www.freeformatter.com/javascript-escape.html.  If you have trouble copy/pasting the correct segment, you can just paste the whole page's source-code in to that page, scroll down to the bottom and your source code should stand out clearly enough :)

Lemme know if you've any questions / problems with that :)

S


Reply all
Reply to author
Forward
0 new messages