标签:
1、进入页面的网页获取:
if (document.referrer.length > 0) {
ref = document.referrer;
}
try {
if (ref.length == 0 && opener.location.href.length > 0) {
ref = opener.location.href;
}
} catch (e) {}
标签:
原文地址:http://www.cnblogs.com/kaixin3946/p/5896626.html