farawaysky吧 关注:1贴子:31
  • 8回复贴,共1

test:listen OLLA

只看楼主收藏回复



IP属地:江苏1楼2014-02-14 16:42回复
    javascript:function reply(a,b){var c={ie:"utf-8",kw:PageData.forum.name,fid:PageData.forum.id,tid:PageData.thread.id,quote_id:b,tbs:PageData.tbs,content:a};return $.post("http://tieba.baidu.com/f/commit/post/add",c),console.log("已回复"+timer+"次"),++timer,timer>config.times?(clearInterval(run),alert("代码执行完毕,即将刷新"),setTimeout("location.reload()",1e3),0):void 0}var run,config={content:prompt("请输入回帖内容","test")||"",pid:prompt("请输入要回复的楼层号(普通回复直接确定)",""),times:prompt("请输入回复次数","2")||1,standby:prompt("请输入间隔时间,单位:秒","20")||6},timer=1,cmfcfg='回帖内容:"'+config.content+'"\n';cmfcfg+="--"==config.pid?"回复楼层:普通回复\n":"回复楼层:"+config.pid+"\n",cmfcfg+="回复次数:"+config.times+"\n"+"时间间隔:"+config.standby+"s\n"+"确认参数正确开始回复?",1==confirm("请核对参数后确认执行\n"+cmfcfg)?1==config.times?(reply(config.content,config.pid),setTimeout("location.reload()",1e3)):(reply(config.content,config.pid),run=setInterval("reply(config.content,config.pid);",1e3*config.standby)):(alert("代码未执行,将重新刷新。"),location.reload());


    IP属地:江苏4楼2015-09-03 12:20
    回复
      ‮ yksyawaraf@


      IP属地:江苏5楼2015-09-04 00:41
      回复
        ‮@farawaysky


        IP属地:江苏6楼2015-09-04 00:46
        回复
          #8238;@farawaysky


          IP属地:江苏7楼2015-09-04 00:47
          回复
            @farawaysky


            IP属地:江苏8楼2015-09-04 00:50
            回复


              IP属地:江苏9楼2015-09-04 00:50
              回复
                *‮


                IP属地:江苏10楼2015-09-04 00:51
                回复
                  IP属地:江苏11楼2015-09-04 14:36
                  回复