1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/location.html

5 lines
392 B
HTML
Raw Normal View History

2021-05-06 09:40:17 -04:00
<p><button onclick="javascript:{ alert(location.origin); }">Display location.origin.</button></p>
2021-05-06 09:31:31 -04:00
<p><button onclick="javascript:{ alert(location.pathname); }">Display location.pathname.</button></p>
2021-05-06 09:06:35 -04:00
<p><button onclick="javascript:{ alert(location.port); }">Display location.port.</button></p>
2021-05-06 09:17:46 -04:00
<p><button onclick="javascript:{ alert(location.search); }">Display location.search.</button></p>