<script> var text = "location.hash=" + location.hash + "\n"; text += "location.host=" + location.host + "\n"; text += "location.hostname=" + location.hostname + "\n"; text += "location.origin=" + location.origin + "\n"; text += "location.pathname=" + location.pathname + "\n"; text += "location.port=" + location.port + "\n"; text += "location.search=" + location.search + "\n"; window.alert(text); </script>