mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
5 lines
392 B
HTML
5 lines
392 B
HTML
<p><button onclick="javascript:{ alert(location.origin); }">Display location.origin.</button></p>
|
|
<p><button onclick="javascript:{ alert(location.pathname); }">Display location.pathname.</button></p>
|
|
<p><button onclick="javascript:{ alert(location.port); }">Display location.port.</button></p>
|
|
<p><button onclick="javascript:{ alert(location.search); }">Display location.search.</button></p>
|