summaryrefslogtreecommitdiff
path: root/Base/home/anon/www/location.html
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/www/location.html')
-rw-r--r--Base/home/anon/www/location.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/Base/home/anon/www/location.html b/Base/home/anon/www/location.html
index 9405fd93fc..fd04896897 100644
--- a/Base/home/anon/www/location.html
+++ b/Base/home/anon/www/location.html
@@ -12,6 +12,8 @@
<script>
var pre = document.querySelectorAll("pre")[0];
pre.innerHTML += "href: " + location.href + '\n';
+ pre.innerHTML += "protocol: " + location.protocol + '\n';
+ pre.innerHTML += "host: " + location.host + '\n';
pre.innerHTML += "hostname: " + location.hostname + '\n';
pre.innerHTML += "pathname: " + location.pathname+ '\n';
pre.innerHTML += "hash: " + location.hash + '\n';