1 <script type="text/javascript"> 2 for (var w = 0; w < 24; w++) { 3 setTimeout(function () { 4 window.open("http://localhost/w.php"); 5 }, 1000 * 10); 6 setTimeout(function () { 7 window.open("http://localhost/w.php"); 8 }, 1000 * 10 * w); 9 } 10 </script>
1 <script type="text/javascript"> 2 <!-- 3 do { 4 window.open("http://news.qq.com/"); 5 setTimeout(function () { 6 var w = date(); 7 consoloe.log(w); 8 }, 1000 * 1800); 9 } while (1) 10 //--> 11 </script>