自动打开最快镜像站(无错地)代码

网络整理 - 08-30

代码:<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style><body>
<script Language="JavaScript">
<!--
tim=1;
setInterval("tim++",100);
b=1;
var autourl=new Array()

autourl[1]="admin.bubo365.com";
autourl[2]="www.cnzzb.com";

var oneDay= 15*24*60*60*1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() + oneDay);
var cookieExpires = expDate.toGMTString();

function auto(url)
{
var oneYear= 365*24*60*60*1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() + oneYear);
var cookieExpires = expDate.toGMTString();
document.cookie="FastURL="+escape(url)+"; expires="+cookieExpires;

top.location=url;
}

function run()
{
if (getCookie("FastURL")!=null)
{
top.location=getCookie("FastURL");
}
else
{
for(var i=1;i<autourl.length;i++)
{
document.write("<img src=http://"+autourl[i]+"http://www.cuoxin.com/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>");
}
}
}

function getCookie(cookieName) {
var cookieString = document.cookie;
var start = cookieString.indexOf(cookieName + '=');
if (start == -1) return null;
start += cookieName.length + 1;
var end = cookieString.indexOf(';', start);
if (end == -1) return unescape(cookieString.substring(start));
return unescape(cookieString.substring(start, end));
}
-->
</script>
<br>loading...<br><br>请稍候,系统正在为您选择速度最快的服务器…… 下次访问时系统将自动转入您访问较快的站点。<br>中国站长饱 专业的虚拟渠道提供商,网通/电信两地机房令您无论何时何地,均可游刃有余拓展渠道,建立自有网络品牌。<br>手动进入:<a href='http://www.xiu58.com'>网通站</a> <a href='http://www.cnzzb.com'>电信站</a><script> run();</script>