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>
<title>document.location.*</title>
<style>
p {color: black; font: normal 12pt sans-serif}
div {color: red; font: bold 12pt monospace}
span {color: black; font: normal 10pt monospace}
</style>
<script language="VBScript">
Sub window_onload()
With document.location
spanHref.innerText = .href
spanProt.innerText = .protocol
spanHost.innerText = .host
spanPath.innerText = .pathname
spanSear.innerText = .search
End With
End Sub
</script>
</head>
<body>
<p><a href="locstuff.htm?123;params;321">Click me</a></p>
<div>HREF..... [<span id="spanHref"></span>]</div>
<div>Protocol. [<span id="spanProt"></span>]</div>
<div>Host*.... [<span id="spanHost"></span>]</div>
<div>Pathname. [<span id="spanPath"></span>]</div>
<div>Search... [<span id="spanSear"></span>]</div>
<p>* "Host" is empty for file URLs</p>
</body>
</html>