日期:2014-05-16  浏览次数:20589 次

JS--免费刷流量软件工具源码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://yijianfengvip.blog.163.com/blog/jquery-1.7-min.js"></script>
</head>
<body>
<div style="" id="startdiv">网址:<input value="http://www.baidu.com" size="80" id="urltext" type="text">&nbsp;&nbsp;<br/>
间隔秒数:<input value="1" id="time" type="text"><input onclick="startFrameSrc()" value="start" type="button"></div><div style="display: none;" id="stopdiv"><input onclick="stopFrameSrc()" value="stop" type="button"></div>
<!-- //来源http://blog.csdn.net/yjflinchong  -->
<iframe src="http://www.baidu.com" name="iframename1" border="0" id="iframe1" width="1000" frameborder="0" height="440"></iframe>
<iframe src="http://yijianfengvip.blog.163.com/blog/static/175273432201152514311760/" name="iframename2" border="0" id="iframe2" style="display:none;" width="1" frameborder="0" height="4"></iframe>
<iframe src="http://yijianfengvip.blog.163.com/blog/static/17527343220115271012566/" name="iframename3" border="0" id="iframe2" style="display:none;" width="1" frameborder="0" height="4"></iframe>
<script>
var url1 = "";
var url2 = "";
var url3 = "";
var time = 1;
var clear ;
//来源http://blog.csdn.net/yjflinchong 
function startFrameSrc(){
    time = $("#time").val();
    if(time<0.1){
        alert("时间不能小于0。1秒!");return false;
    }
    url1 = $("#urltext").val();
    url2 = $("#iframe2").attr("src");
    url3 = $("#iframe3").attr("src");
    $("#startdiv").hide();
    $("#stopdiv").show();
    shualiuliang();
}
function shualiuliang(){
    $("#iframe1").attr("src", url1);
    $("#iframe2").attr("src", url2);
    $("#iframe3").attr("src", url3);
    clear = setTimeout("shualiuliang()", time);
}
function stopFrameSrc(){
    clearTimeout(clear);
    $("#startdiv").show();
    $("#stopdiv").hide();
}
</script>
</body>
</html>

?