摘要: 设置或获取对象指定的文件名或路径。 <script>alert(window.location.pathname)</script> 设置或获取整个 URL 为字符串。<script> alert(window.location.href);</script>设置或获取与 URL 关联的端口号码。< 阅读全文
posted @ 2018-03-07 18:05 if511 阅读(1109) 评论(0) 推荐(0) 编辑