亲测有效:如果各位不介意的话那请允许我在ab吧测试一下
javascript:var content;var step;var speed;var allcount;var timer;var tieba;function init(){ content=prompt("请输入回帖内容:","死者并不会永远安息 奇妙的永劫亦不以死为终焉."); var _speed=parseInt(prompt("请输入每轮发帖间隔时间(秒):","10")); speed=(isNaN(_speed)?5:_speed)*1000; var _step=parseInt(prompt("请输入每轮发几贴:","1")); step=isNaN(_step)?1:_step; var _allcount=parseInt(prompt("请输入总共回帖次数(0为不限制):","20000")); 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
javascript:var content;var step;var speed;var allcount;var timer;var tieba;function init(){ content=prompt("请输入回帖内容:","死者并不会永远安息 奇妙的永劫亦不以死为终焉."); var _speed=parseInt(prompt("请输入每轮发帖间隔时间(秒):","10")); speed=(isNaN(_speed)?5:_speed)*1000; var _step=parseInt(prompt("请输入每轮发几贴:","1")); step=isNaN(_step)?1:_step; var _allcount=parseInt(prompt("请输入总共回帖次数(0为不限制):","20000")); 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