title: HTA / HTML Back button not working
body: <p>I have this very basic launcher:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;HTA:APPLICATION id="hwHTA"
  applicationName="hyperHTA"
  border="thin"
  borderStyle="normal"
  caption="yes"
  maximizeButton="yes"
  minimizeButton="yes"
  showInTaskbar="no"
  windowState="normal"
  innerBorder="yes"
  navigable="yes"
  scroll="auto"
  scrollFlat="yes"
  singleInstance="yes" 
  sysMenu="yes"
  contextMenu="yes"
  selection="yes" 
  version="1.0" /&gt;
  &lt;title&gt;Simple HTML Page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;a href="m1.hta" target="_top"&gt;LINK&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And it launches this hta file:</p>
  
  <pre><code>&lt;HTA:APPLICATION id="hwHTA"
  applicationName="hyperHTA"
  border="thin"
  borderStyle="normal"
  caption="yes"
  maximizeButton="yes"
  minimizeButton="yes"
  showInTaskbar="no"
  windowState="normal"
  innerBorder="yes"
  navigable="yes"
  scroll="auto"
  scrollFlat="yes"
  singleInstance="yes" 
  sysMenu="yes"
  contextMenu="yes"
  selection="yes" 
  version="1.0" /&gt;
      &lt;SCRIPT type="text/jscript"&gt;
          // Always Set Size Here to Avoid Flicker
          window.moveTo(100,100);
      &lt;/SCRIPT&gt;
  &lt;body background = "Image.jpg"&gt;
  &lt;TITLE&gt;Chip-set PC-Booster&lt;/TITLE&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile() {
                  window.open("website.com");
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile2() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me1.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile3() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me2.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile4() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me13.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile5() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me15.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile6() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me16.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile7() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("License.txt", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile8() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("FILEPATH", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile9() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me19.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile10() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me25.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;script type="text/javascript" language="javascript"&gt;
          function RunFile11() {
          WshShell = new ActiveXObject("WScript.Shell");
          WshShell.Run("me23.exe", 1, false);
          }
      &lt;/script&gt;
      &lt;SCRIPT LANGUAGE="VBScript"&gt;
          Sub ExitProgram()
              window.close()
          End Sub
      &lt;/script&gt;
  &lt;input type="button" value="   Goto the website   " name="run_button"  onClick="RunFile()"&gt;&lt;p&gt;
  &lt;input type="button" value="     Quick Optimise    " name="run_button"  onClick="RunFile2()"&gt;&lt;p&gt; 
  &lt;input type="button" value="       Full Optimise      " name="run_button"  onClick="RunFile3()"&gt;&lt;p&gt; 
  &lt;input type="button" value="       Quick restore      " name="run_button"  onClick="RunFile4()"&gt;&lt;p&gt;
  &lt;input type="button" value="       Deep restore      " name="run_button"  onClick="RunFile5()"&gt;&lt;p&gt;
  &lt;input type="button" value="        Turbo mode       " name="run_button"  onClick="RunFile6()"&gt;&lt;p&gt;
  &lt;input type="button" value="    View the licence    " name="run_button"  onClick="RunFile7()"&gt;&lt;p&gt;
  &lt;input type="button" value="Optimise the registry" name="run_button"  onClick="RunFile9()"&gt;&lt;p&gt;
  &lt;input type="button" value="    Edit the page file    " name="run_button"  onClick="RunFile10()"&gt;&lt;p&gt;
  &lt;input type="button" value="            Uninstall            " name="run_button"  onClick="RunFile11()"&gt;&lt;p&gt;
  &lt;input type="button" value="                 Exit                 " name="run_button"  onClick="ExitProgram()"&gt;&lt;p&gt;
  &lt;FORM&gt;&lt;INPUT Type="button" VALUE="Back" onClick="history.go(-1);return true;"&gt;&lt;/FORM&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>When the back button is pressed it doesn't do any thing. Can any one help.</p>