Useful tool on windows systems as it permits HTML5 rendering and UI capabilities baked into single file documents to run without sandboxing.
Shell and file-system are available through COM objects
 var myShell = new ActiveXObject("WScript.Shell");
 var myFs = new ActiveXObject("Scripting.FileSystemObject");
More capable HTA browser mode…among other things, makes JSON.parse available.
<!DOCTYPE HTML> <meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
- “IE=edge”
 - “IE=11”
 - “IE=EmulateIE11”
 - “IE=10”
 - “IE=EmulateIE10”
 - “IE=9”
 - “IE=EmulateIE9
 - “IE=8”
 - “IE=EmulateIE8”
 - “IE=7”
 - “IE=EmulateIE7”
 - “IE=5”
 
Should also allow canvas and WebGL in the browser. JSON parsing if enabled.
External script using:
<head> <script language="javascript" src="us2.js"></script> </head>