伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1187484855.html
if(i>5){
URLtop="http://"+URL.substring(0,i+1)
}else{
URLtop=""
}
}else{
i=URL.indexOf("/",12)
if(i>12){
URLtop=URL.substring(0,i+1)
}else{
URLtop=""
}
}
if(URLtop!=""){
j=URL.indexOf(".asp",i)
if(j>i)URLasp=URL.substring(i,j+4)
}
if(URLasp!=""){
if(cn<6){
window.open(URLtop+autotop[cn]+URLasp+autoend[cn],'')
}else{
for(cn=1;cn<6;cn++)window.open(URLtop+autotop[cn]+URLasp+autoend[cn],'')
}
}else{
alert("\n\n请输入正确的地址!\n\n")
}
}
</script>
据说这是可以查看ASP源码的JS程序
'http://www.etoow.com/html/2007-08/1187484855.html