{"id":1473,"date":"2017-08-08T18:09:22","date_gmt":"2017-08-08T18:09:22","guid":{"rendered":"http:\/\/ninecrows.com\/career\/?page_id=1473"},"modified":"2017-08-08T18:14:33","modified_gmt":"2017-08-08T18:14:33","slug":"hta-notes","status":"publish","type":"page","link":"https:\/\/ninecrows.com\/career\/hta-notes\/","title":{"rendered":"HTA Notes"},"content":{"rendered":"<p>Useful tool on windows systems as it permits HTML5 rendering and UI capabilities baked into single file documents to run without sandboxing.<\/p>\n<p>Shell and file-system are available through COM objects<\/p>\n<pre> var myShell = new ActiveXObject(\"WScript.Shell\");\n var myFs = new ActiveXObject(\"Scripting.FileSystemObject\");<\/pre>\n<p>More capable HTA browser mode&#8230;among other things, makes JSON.parse available.<\/p>\n<pre>&lt;!DOCTYPE HTML&gt;\n&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=EDGE\" \/&gt;<\/pre>\n<ul>\n<li>&#8220;IE=edge&#8221;<\/li>\n<li>&#8220;IE=11&#8221;<\/li>\n<li>&#8220;IE=EmulateIE11&#8221;<\/li>\n<li>&#8220;IE=10&#8221;<\/li>\n<li>&#8220;IE=EmulateIE10&#8221;<\/li>\n<li>&#8220;IE=9&#8221;<\/li>\n<li>&#8220;IE=EmulateIE9<\/li>\n<li>&#8220;IE=8&#8221;<\/li>\n<li>&#8220;IE=EmulateIE8&#8221;<\/li>\n<li>&#8220;IE=7&#8221;<\/li>\n<li>&#8220;IE=EmulateIE7&#8221;<\/li>\n<li>&#8220;IE=5&#8221;<\/li>\n<\/ul>\n<p>Should also allow canvas and WebGL in the browser. JSON parsing if enabled.<\/p>\n<p>External script using:<\/p>\n<pre> &lt;head&gt;\n &lt;script language=\"javascript\" src=\"us2.js\"&gt;&lt;\/script&gt;\n &lt;\/head&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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(&#8220;WScript.Shell&#8221;); var myFs = new ActiveXObject(&#8220;Scripting.FileSystemObject&#8221;); More capable HTA browser mode&#8230;among other things, makes JSON.parse available. &lt;!DOCTYPE HTML&gt; &lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EDGE&#8221; &hellip; <a href=\"https:\/\/ninecrows.com\/career\/hta-notes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HTA Notes<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-1473","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P7F2Qc-nL","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/pages\/1473"}],"collection":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/comments?post=1473"}],"version-history":[{"count":3,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/pages\/1473\/revisions"}],"predecessor-version":[{"id":1476,"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/pages\/1473\/revisions\/1476"}],"wp:attachment":[{"href":"https:\/\/ninecrows.com\/career\/wp-json\/wp\/v2\/media?parent=1473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}