JavaScript
JavaScript Window Location
返回(当前页面的)整个 URL
源代码:
点击运行 »
<script> document.write(location.href); </script> document.write(location.href);
运行结果:
点击运行 »