1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/location_js.html
2021-10-22 16:10:40 +02:00

12 lines
410 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";
window.alert(text);
</script>