javascript:var content;var step;var speed;var allcount;var timer;var tieba;function init(){ content=你好; var _speed=parseInt(30); speed=(isNaN(_speed)?5:_speed)*1000; var _step=parseInt(prompt(1); step=isNaN(_step)?1:_step; var _allcount=parseInt(prompt(10); allcount=isNaN(_allcount)?100:(_allcount==0?true:_allcount); if(!confirm("开始回帖?\n\n回帖:"+content+"\n频率:"+speed+"毫秒\n每次发帖数:"+step+"\n全部数量:"+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("盖楼完成");}init();void 0;