JS 获取当前位置

通过 window.location.href 获取网页的URL

原文地址:https://www.cnblogs.com/GetcharZp/p/12290477.html