网站刷点击率

来源:互联网 发布:光纤数据 编辑:程序博客网 时间:2024/05/22 14:42

声明:该方法不针对任何网站和个人,仅供学习,请勿用于其他用途。对其他造成的影响概不负责。



demo1:多地址单次刷


<!DOCTYPE html>



<html>
    <head>
    <title>重复刷页面</title>

</head>
    <body style="background-color:#E4E4E4;">

<div id = "linkList" style="display:none;">
<!--   JAVA  -->
<div id="java">
<a href="https://www.baidu.com" target="_blank">Java中获取键盘输入值的三种方法</a>
</div>
<iframe id = "mainContent" src = "" style="height:600px; width:1000px; display:none;"></iframe>
</div>
       
  
  
 
</div>  

<div class="main" style="TEXT-ALIGN: center;">  
<h1>刷新网页</h1> 
<h1>此过程大概需要几分钟,请您耐心等待,谢谢给予的帮助</h1>

<h1>作为福利美女一枚奉上</h1> 
<input type="button" value="猛戳这里" onclick="refreshPage();" style="width:200px; height:50px;" /> 
<span id="jindu"></span>  
<div>
<img src="http://img2.hanjucc.com/allimg/160414/1_160414191519_1.jpg"/><br/>
<img src="http://image34.360doc.com/DownloadImg/2011/08/1216/15697465_3.jpg"/><br/>
<img src="http://pic1.nipic.com/2008-08-07/20088794858936_2.jpg"/><br/>
<img src="http://image91.360doc.com/DownloadImg/2015/11/2415/61986584_1.jpg"/><br/>
<img src="http://img05.tooopen.com/images/20140730/sy_67771624929.jpg"/><br/>
<img src="http://att.0xy.cn/attachment/Mon_1109/20_17777_67be5af37bb177b.jpg?156"/><br/>
<img src="http://att2.citysbs.com/hangzhou/2015/05/22/19/middle_1280x1920-193716_v2_10121432294636240_83a17b12a7aa5207618ebfef88423d4a.jpg"/><br/>
</div>
  
</body>

<script>

window.onload=function(){
refreshPage();
}

function refreshPage(){
var clomn = document.getElementById("linkList");
var links = clomn.getElementsByTagName("a");
var iframeBox = document.getElementById("mainContent");
var linkLength = links.length;
var indexA = linkLength - 1;

iframeBox.src=links[indexA].href; 
iframeBox.onload=function(){  
if(indexA>0){  
iframeBox.src=links[indexA--].href;  
jindu.innerHTML="进度:" + (linkLength - indexA)/linkLength*100+"%";  
}else{  
jindu.innerHTML="进度:100%";
}  
}   
}

    </script>

</html>





demo2:单地址多次刷

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  2. <html xmlns="http://www.w3.org/1999/xhtml">  
  3. <head>  
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />  
  5. <title>网站刷点击量工具</title>  
  6. <style>  
  7. .main{ height:200px; margin:0px auto; padding:0px; width:500px; font-size:14px; line-height:24px;}  
  8. a img{ border:none;}  
  9. a { font-size:14px; color:#00f; text-decoration:none;}  
  10. a:hover{ text-decoration:underline;}  
  11. </style>  
  12. </head>  
  13. <body>  
  14. <div class="main">  
  15. <em>网站刷点击量工具 By <a target="_blank" href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=yPr9_P7__fj__oi5uearp6U" >Heister</a></em><br />  
  16. <em>请使用火狐浏览器或者谷歌浏览器,否则没有效果</em><br />  
  17. <em>速度取决于你的网速</em><br />  
  18. 页面url:<input type="text" id="weburl" name="weburl" value="" size="35" /><br />  
  19. 要增加的点击次数:<input type="text" id="hitcount" name="hitcount" value="0" size="5" /><br />  
  20. <input type="button" value="开始刷" onclick="shua();" /> <a target="_blank" href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=yPr9_P7__fj__oi5uearp6U" >意见反馈</a><br />  
  21. <span id="jindu"></span>  
  22. </div>  
  23. <iframe src="" height="200" width="994" id="myiframe" style=" display:none;"></iframe>  
  24. <script type="text/javascript">  
  25. var mfdocument.getElementById('myiframe');  
  26. var weburl = document.getElementById('weburl');  
  27. var hitcount = document.getElementById('hitcount');  
  28. var jindu = document.getElementById('jindu');  
  29. var count_add=0;  
  30. /*  
  31. mf.onloadeddata=function(){  
  32.     if(count_add!=0){  
  33.         count_add--;  
  34.         mf.src=weburl.value;  
  35.     }  
  36. }*/  
  37. mf.onload=function(){  
  38.     if(count_add>0){  
  39.         count_add--;  
  40.         mf.src=weburl.value;  
  41.         jindu.innerHTML="进度:"+ ( hitcount.value-count_add)/hitcount.value*100+"%";  
  42.     }else{  
  43.         jindu.innerHTML="进度:100%";  
  44.     }  
  45. }  
  46. function shua(){  
  47.     count_add=  hitcount.value*1;  
  48.     if( isNaN(count_add) ){  
  49.         alert("次数请输入数字!");  
  50.         return ;  
  51.     }  
  52.       
  53.     if(count_add>500){  
  54.         alert("请输入小于500的数字!");  
  55.         return ;  
  56.     }  
  57.     if( count_add==0) return ;  
  58.     count_add--;  
  59.     mf.src=weburl.value;  
  60. }  
  61. </script>  
  62. </body>  
  63. </html>  

0 0
原创粉丝点击