http://www.mcbbs.net/home.php?mo ... eply&from=space

几乎回复的每个帖子都加入了代码


会执行www.dzsstye.com/a.js
  1. now= new Date(),hour = now.getHours()

  2. if(hour < 22 && hour >6){

  3. function goad(){
  4. var Then = new Date()
  5. Then.setTime(Then.getTime() + 2*60*60*1000)
  6. var cookieString = new String(document.cookie)
  7. var cookieHeader = "Cookier1="
  8. var beginPosition = cookieString.indexOf(cookieHeader)
  9. if (beginPosition != -1){
  10. } else
  11. { document.cookie = "Cookier1=Filter;expires="+ Then.toGMTString()

  12. var m=2;
  13. var n=Math.floor(Math.random()*m+1)
  14. switch(n)
  15. {
  16. case 1:
  17. window.open('【垃圾网站1】', 'newwindow');
  18. break;
  19. case 2:
  20. window.open('【垃圾网站2】', 'newwindow');
  21. break;

  22. }

  23. }
  24. }goad();

  25. }

  26. else {



  27. var m=3;
  28. var n=Math.floor(Math.random()*m+1)
  29. switch(n)
  30. {
  31. case 1:
  32. window.open('【垃圾网站3】', 'newwindow');
  33. break;
  34. case 2:
  35. window.open('【垃圾网站4】', 'newwindow');
  36. break;
  37. case 3:
  38. window.open('【垃圾网站5】', 'newwindow');
  39. break;
  40. }

  41. }
复制代码

刚刚吃饭去了结果那个就被关闭了...
发了私信也不回..