失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > html当前域名 js取得当前url javascript获取当前页面url值 js获取域名

html当前域名 js取得当前url javascript获取当前页面url值 js获取域名

时间:2021-05-14 05:45:16

相关推荐

html当前域名 js取得当前url javascript获取当前页面url值 js获取域名

运行如下: thisDLoc = document.location;

thisURL = document.URL;

thisHREF = document.location.href;

thisSLoc = self.location.href;

thisTLoc = top.location.href;

thisPLoc = parent.document.location;

thisTHost = top.location.hostname;

thisHost = location.hostname;

thisURL:[/js/js获取url.html]

thisHREF:[/js/js获取url.html]

thisSLoc:[/js/js获取url.html]

thisDLoc:[/js/js获取url.html]

thisTLoc:[/js/js获取url.html]

thisPLoc:[/js/js获取url.html]

thisTHost:[]

thisHost:[]

thisHPage:[js获取url.html]

thisUPage:[js获取url.html]

如果觉得《html当前域名 js取得当前url javascript获取当前页面url值 js获取域名》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。