用JS获取当前页面的URL以及截取其中的字段
window.location 属性 描述 hash 设置或获取 href 属性中在井号“#”后面的分段。 host 设置或获取 location 或 URL 的 hostname 和 port 号码 ...
window.location 属性 描述 hash 设置或获取 href 属性中在井号“#”后面的分段。 host 设置或获取 location 或 URL 的 hostname 和 port 号码 ...
#!usr/bin/python import urllib.request response = urllib.request.urlopen("http://www.baidu.com"); ...