Description
Tidies JavaScript to put in the correct indents, linebreaks, and semi-colons.
Browser support
| Trident / EdgeHTML / Tasman (Internet Explorer 4+, Edge 44-) | Code cannot be tidied |
|---|---|
| Opera 7-12 | Script works as expected in 9.2- but not 9.5+ |
| Gecko engine browsers (Mozilla, Firefox, Netscape 6+, etc) | Nested functions are not tidied (so most scripts remain unreadable) in Firefox 2- and equivalent, and fails completely in later versions |
| KHTML / WebKit / Chromium / Blink / QT WebEngine / QTWebKit / WebKitGTK (Chrome, Vivaldi, Opera 15+, Edge 79+, Safari, Konqueror, OmniWeb 4.5+, iCab 4+, NetFront Chromium / WebKit) | Works in Konqueror 3 and Safari 3- or equivalent, but not at all in Chrome |
| iCab 3- | Code cannot be tidied |
| Rhino + W3C DOM (ICEbrowser) | Script works as expected |
| Rhino + layers / W3C DOM (Escape / Evo, iBrow) | Code cannot be tidied |
| NetFront 3+ NetFront engine | Code cannot be tidied |
| Opera 5 and 6 Elektra engine | Code is corrupted |
| Netscape 4 | Browser does not suppot try...catch, used by the script |
| OmniWeb 4.2- | Code cannot be tidied |
| Rhino + pDOM (Clue browser) | Script does not run |
| WebTV | Browser does not suppot try...catch, used by the script |
| Tkhtml Hv3+ | Tidied code contains many syntax errors |
| Netgem NetBox | Not tested but it should work |
| OpenTV | Not tested but it should work |
| iPanel MicroBrowser | Not tested but it should work |
Accessibility notes
Utility script - no accessibility notes.
License
Please see my terms and conditions page for terms and conditions of use.
Demonstration/instructions