level 8
javascript:var content;var step;var speed;var allcount;var timer;var tieba;function init(){ content=prompt("please enter txt:","drop"); var _speed=parseInt(prompt("please enter(second):","5")); speed=(isNaN(_speed)?5:_speed)*1000; var _step=parseInt(prompt("please enter:","round")); step=isNaN(_step)?1:_step; var _allcount=parseInt(prompt("please total:","100")); allcount=isNaN(_allcount)?100:(_allcount==0?true:_allcount); if(!confirm("start?\n\nreply:"+content+"\frequency:"+speed+"ms\ntimes:"+step+"\nqut:"+allcount+"\n")){ return; } tieba=rich_postor._getData(); tieba.content=content; timer=setInterval("reply()",speed);}function reply(){ for(var i=0;i<step && allcount;i++){ PostHandler.post(rich_postor._option.url,tieba,function(I){},function(I){}); typeof allcount=="number"?allcount--:''; } allcount?'':clearTimeout(timer)|alert("end");}init();void 0;
2013年12月08日 02点12分
10