Open link in different browser

by Gabriel Correa

HTML

<title>HTA Test</title>
<hta:application applicationname="HTA Test" scroll="yes" singleinstance="yes">
<input type="button" onclick="openURL()" value="Open Google in Firefox">

JavaScript

function openURL() {
	var shell = new ActiveXObject("WScript.Shell");
	shell.run("Firefox http://www.google.com");
}