自动选择最快的镜像站的代码

代码如下

<script type="text/javascript">
i=1
var autourl=new Array()
autourl[1]="www.bly1314.com/web/"
autourl[2]="cnc.bly1314.com/web/"
autourl[3]="tw.bly1314.com/web/"
autourl[4]="hk.bly1314.com/web/"
autourl[5]="us.bly1314.com/web/"
function auto(url){
if(i){
 i=0;
 top.location=url
}
}
function run(){
for(var i=1;i<autourl.length;i++) {
 document.write("<img src=http://"+autourl[i]+" width=1 height=1 onerror=auto('http://"+autourl[...
}
}
run()
</script>
Wait a moment please....







引用通告地址: 点击获取引用地址
标签: corbie 代码 自动选择最快的镜像站的代码
评论: 0 | 引用: 0 | 阅读: 1139 | 打印 | 打包 | 转发
 加入网摘