document.write("js获取当前域名:"+window.location.host+"或者"+document.domain+"<br>");
document.write("js获取当前url:"+window.location.href+"<br>");
document.write("js获取上(前)一页url:"+document.referrer);
document.write("js获取当前域名:"+window.location.host+"或者"+document.domain+"<br>");
document.write("js获取当前url:"+window.location.href+"<br>");
document.write("js获取上(前)一页url:"+document.referrer);