url:https://translate.google.cn/?hl=en#zh-CN/en/%E8%B0%B7%E6%AD%8C
1. window.location.href(完整地址)
https://translate.google.cn/?hl=en#zh-CN/en/%E8%B0%B7%E6%AD%8C
2. window.location.protocol(协议)
https:
3. window.location.host(主机)
translate.google.cn
4. window.location.port(端口)
80端口返回 字符串""
5. window.location.pathname(路径)
/
6. window.location.search(参数)
?hl=en
7. window.location.hash(锚链接)
#zh-CN/en/%E8%B0%B7%E6%AD%8C

被折叠的 条评论
为什么被折叠?



