注册/登录|最近发布|今日推荐
//获取完整地址 window.location.href
// 获取域名 window.location.host;
js获取页面地址
原文地址:http://www.cnblogs.com/fengzyworks/p/7473115.html