Skip navigation.

Harold's Home

XML version of this site

PHP Scripts

CLI fun
Mail on 404
HB-NS (NewsScript)


APOD to Desktop
Dreamweaver Extensions


Other stuff
Central Grinder

OOOk Default:

VJ stuff
VJ Tools
Sample Movies


Pretty print JavaScript
Debugging a webapplication because it only allows Explorer or Firefox to log in is a bitch. Especially if the javascript has all whitespace removed in order to obfuscate the code and make it 0.000001% faster to download.
So off I went, to look for a code formatter for JavaScript, which seems to be hard to find. Lots of "pretty printers" as those tools are called for the various versions of C and Java but none did js files.

Until I stumbled across the online tool which does what it promises. Although it has some oddities it did allow me to reformat the code nicely and when that was done I discovered the secret braindead code that ignored everything but Mozilla and IE browsers.

A nice resource for the toolbox.

Show all items | Read all items

About, copyright, privacy and accessibility | Mail