Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<script>
function getLinks(){
var httpReq = new ActiveXObject("MSXML2.XMLHTTP");
httpReq.open("Get", "[URL unfurl="true"]http://www.yahoo.com",[/URL] false);
httpReq.send();
var newObj = document.createElement('div');
newObj.innerHTML = httpReq.responseText;
var links = newObj.getElementsByTagName('a');
var resultStr = '';
for(var i = 0; i < links.length; i++){
resultStr = resultStr + links[i].href + '<br />';
}
document.getElementById('Results').innerHTML = resultStr;
}
</script>
</head>
<body onload="getLinks();">
<div id="Results"></div>
</body>
</html>