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

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

时间:2023-04-16 00:29:00

相关推荐

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]

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