Cool Functions you can Access

You can use JavaScript to access cool functions like the browser version being used to access the document, the date the document was last modified, or the current URL. You could use these functions in your scripts, or simply write them to your document.

<html>
<head>
<title></title>
</head>
<body>
<script language="javascript">
document.write(location.hash + "<br>");
document.write(location.host + "<br>");
document.write(location.hostname + "<br>");
document.write(location.href + "<br>");
document.write(location.pathname + "<br>");
document.write(location.port + "<br>");
document.write(location.protocol + "<br>");
document.write(location.search + "<br>");
document.write(location.target + "<br>");
document.write(document.referrer + "<br>");
document.write(document.location + "<br>");
document.write(document.title + "<br>");
document.write(document.lastmodified + "<br>");
document.write(navigator.appName + "<br>");
document.write(navigator.appVersion + "<br>");
</script>
etc...

Notes:

  1. To ensure the code is copied correctly, please click here

See it in action.