所属分类:HTML网页,JS语言与代码
转载自http://www.im286.com/thread-4030639-1-1
[code]//下列来路不弹
var domainarray=new Array('129123.com', 'www.129123.com', 'www.baidu.com', 'www.google.com', );
var hisdomain=document.referrer;
mydomain=hisdomain.split("/");
hisdomain=mydomain[2];
var i=domainarray.length;
var tan="yes";
for(j=0;j 0) {offset = document.cookie.indexOf(search);if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1)end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end));}}return returnvalue;},
init : function(){
for(var i=0; i');
//上面更换你要弹出的页面
break;
}
break;
}
}
}
}
cookie.init();
//弹窗代码结束
}[/code]
[code]//下列来路不弹
var domainarray=new Array('129123.com', 'www.129123.com', 'www.baidu.com', 'www.google.com', );
var hisdomain=document.referrer;
mydomain=hisdomain.split("/");
hisdomain=mydomain[2];
var i=domainarray.length;
var tan="yes";
for(j=0;j 0) {offset = document.cookie.indexOf(search);if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1)end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end));}}return returnvalue;},
init : function(){
for(var i=0; i');
//上面更换你要弹出的页面
break;
}
break;
}
}
}
}
cookie.init();
//弹窗代码结束
}[/code]