1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/test/js/location_js.html
2024-09-24 21:43:10 +02:00

13 lines
459 B
HTML

<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";
text += "location.href=" + location.href + "\n";
window.alert(text);
</script>