title: How to launch an application using javascript?
body: <p>I want to launch an application eg. notepad or MSword on click of a button using javascript function. I have tried ActiveXObject meant for IE. </p>
  
  <pre><code>function runApp()
  {
      var shell = new ActiveXObject("WScript.shell");
      shell.run("notepad.exe", 1, True);
  }
  </code></pre>
  
  <p>I need a solution which supports <strong>Firefox.</strong> 
  Please suggest.<br>
  Thanks in advance.</p>