【
繁体中文
】
【
设为首页
】
【
加入收藏
】
首页
系统
设计
网络
时尚
探索
网速测试
智商测试
论坛
网络首页
|
网页制作
|
网站建设
|
搜索
推荐
公告
推荐文章
·
进入弹出收藏夹
·
自动显示是否更新
·
浏览器详细报告
·
特殊的Bookmark
·
页面中打开窗口
·
检测点链接速度
·
显示器分辨率检测
·
设置默认首页
·
打开硬盘驱动器
·
页面载入等待
热点文章
广告
当前位置:
网络首页
>>
网页制作
>>
网页特效
>>
Cookie脚本
>> 检测点链接速度
检测点链接速度
2008-01-07 09:12:19 作者: 来源:互联网 浏览次数:
7
文字大小:【
大
】【
中
】【
小
】
脚本说明: 把如下代码加入<body>区域中: <script> tim=1 setInterval("tim++",100) b=1 var autourl=new Array() autourl[1]="www.qiuao.com" autourl[2]="www.to55.com" autourl[3]="www.sina.com.cn" autourl[4]="www.qiuao.com/bbs" autourl[5]="www.cctv.com" function butt(){ document.write("<form name=autof>") for(var i=1;i<autourl.length;i++)document.write("<input type=text name=txt"+i+" size=10 value=测试中……> =》<input type=text name=url"+i+" size=40> =》<input type=button value=GO onclick=window.open(this.form.url"+i+".value)><br>") document.write("<input type=submit value=刷新></form>") } butt() function auto(url){ document.forms[0]["url"+b].value=url if(tim>200) {document.forms[0]["txt"+b].value="链接超时"} else {document.forms[0]["txt"+b].value="时间"+tim/10+"秒"} b++ } function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl[i]+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>")} run()</script>
运行代码
复制代码
另存代码
发表评论
加入收藏
告诉好友
打印本页
关闭窗口
返回顶部
相关文章