js获取url的方法

来源:互联网 发布:亚当斯密 知乎 编辑:程序博客网 时间:2024/06/05 15:54

thisURL = document.URL; 
thisHREF = document.location.href; 
thisSLoc = self.location.href; 
thisDLoc = document.location; 

原创粉丝点击