执行 用javascript获取url网址信息:
window.location.host
=
www.xxx.com window.location.hostname
=
www.xxx.com window.location.href
=
www.xxx.com
/
a
/
a.aspx window.location.pathname
=
/
a
/
a.aspx window.location.protocol
=
http:
转载于:https://www.cnblogs.com/lfzwenzhu/archive/2010/06/09/1754789.html
转载请注明原文地址: https://win8.8miu.com/read-1558752.html