xhy342806吧 关注:4贴子:1,637
一楼度娘


1楼2015-02-23 17:57回复
    繁体字
    javascript:var c=A2W(prompt("此处文字不用改,在下方弹出对话框中输入繁体字"));function A2W(s){var r="";for(var i=0;i<s.length;i++){if(s.charAt(i)=='<'){while(s.charAt(i)!='>'){r+=s.charAt(i);i++;}r+=s.charAt(i);}else{r+='&\011#'+s.charCodeAt(i)+';'}};return r};$.post("http://tieba.baidu.com/f/commit/post/add",{kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:c,anonymous:0,tbs:PageData.tbs},function(o){if(o.no!=0)alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);else location.reload()},"json");void 0


    2楼2015-02-23 17:58
    回复


      3楼2015-02-23 17:58
      回复
        禁止词汇
        javascript:function f(){var input=prompt("禁词");var t1=input.substring(0,input.length-1);return "&\011#8238;"+t1.split("").reverse().join("")+"&\011#8236;"+input[input.length-1];}$.post("http://tieba.baidu.com/f/commit/post/add",{kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:f(),anonymous:0,tbs:PageData.tbs},function(o){if(o.no!=0){alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);console.log(o)}else location.reload()},"json");void 0


        4楼2015-02-23 17:58
        回复
          菊花文
          javascript:if(!PageData.thread){tt=A2W(prompt("输入标题"));function A2W(s){var r="";for(var i=0;i<s.length;i++){r+=s.charAt(i)+'҉'};return r};var c=A2W(prompt("内容"));function A2W(s){var r="";for(var i=0;i<s.length;i++){r+=s.charAt(i)+'҉'};return r};p={kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.forum_id,title:tt,content:c,anonymous:0,tbs:PageData.tbs};type="thread"}else{function getqid(){var source=$('cc');var floor=prompt("你要回复第几楼");var qid=(source[floor-1].innerHTML.match(/post_content_(\d+)/));return qid[1];}var qid=getqid();var c=A2W(prompt("内容"));function A2W(s){var r="";for(var i=0;i<s.length;i++){r+=s.charAt(i)+'҉'};return r};p={kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,quote_id: qid,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:c,anonymous:0,tbs:PageData.tbs};type="post"};$.post("http://tieba.baidu.com/f/commit/"+type+"/add",p,function(o){if(o.no!=0)alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);else location.reload()},"json");void 0


          5楼2015-02-23 17:59
          收起回复
            倒叙
            javascript:var m=prompt("输入要倒叙的内容");function A2W(s){var r="";for(var i=0;i<s.length;i++){r+='&\011#'+s.charCodeAt(i)+';'};return r};$.post("http://tieba.baidu.com/f/commit/post/add",{kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:'&#8238;'+m+'',anonymous:0,tbs:PageData.tbs},function(o){if(o.no!=0)alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);else location.reload()},"json");void 0
            LZL
            javascript:function getqid(){var source=$('cc');var floor=prompt("你要回复第几楼");var qid=(source[floor-1].innerHTML.match(/post_content_(\d+)/));return qid[1];}var m=prompt("输入倒叙的内容");var qid=getqid();$.post("http://tieba.baidu.com/f/commit/post/add",{kw:PageData.forum.forum_name,ie:"utf-8",rich_text:1,floor_num:1,quote_id: qid,fid:PageData.forum.forum_id,tid:PageData.thread.thread_id,content:'&#8238;'+m+'',anonymous:0,tbs:PageData.tbs},function(o){if(o.no!=0){alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);console.log(o)}else location.reload()},"json");void 0


            6楼2015-02-23 18:23
            回复
              *@me


              7楼2015-02-23 18:24
              回复
                ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎


                8楼2015-03-10 23:01
                回复
                  javascript:function reply(a,b){var c={ie:"utf-8",kw:PageData.forum.forum_name,fid:PageData.forum.forum_id,tid:PageData.thread.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("请输入回帖内容","我不会告诉你这就是标准的十五字")||"",times:prompt("请输入回复次数","10000")||1,standby:prompt("请输入间隔时间(不可填0),单位:秒","0.00000000000000000000000000001")||6},timer=1,cmfcfg='回帖内容:"'+config.content+'"\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());


                  9楼2015-03-27 21:07
                  回复
                    菊花文代码:
                    var tmp = {},
                    lzl = (window.LzlEditor && window.LzlEditor._lzl ? window.LzlEditor._lzl.mainData : {}),
                    ti = PageData.thread;
                    tmp.ti = ti ? ti.title : prompt("输入贴子标题");
                    tmp.tid = ti ? ti.thread_id : 0;
                    tmp.co = prompt((lzl.floor_num ? ("回复『" + lzl.floor_num + "』楼\n") : "") + (lzl.user_name ? ("回复【" + lzl.user_name + "】:") : "输入回复内容"));
                    if (tmp.co) {
                    tmp.co = A2W((lzl.user_name ? ("回复 " + lzl.user_name + " :") : "") + tmp.co);
                    function A2W(s){
                    var r= "" ;
                    for (var i=0;i<s.length;i++){
                    r+=s.charAt(i)+'\u0489'};
                    return r};
                    $.post ("http://tieba.baidu.com/f/commit/" + (ti ? "post" : "thread") + "/add", {
                    kw: decodeURIComponent(PageData.forum.name_url.split("&")[0]),
                    ie: "utf-8",
                    rich_text: 1,
                    floor_num: 1,
                    quote_id: (lzl.pid ? lzl.pid : 0),
                    fid: PageData.forum.id,
                    tid: tmp.tid,
                    title: tmp.ti,
                    content: tmp.co,
                    anonymous: 0,
                    tbs: PageData.tbs},
                    function(o) {
                    if (o.no!=0)
                    alert ("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);
                    else
                    location.reload() },"json")}


                    10楼2015-03-27 21:07
                    回复
                      我不会告诉你这就是标准的十五字up


                      11楼2015-03-27 21:11
                      回复
                        我不会告诉你这就是标准的十五字up


                        12楼2015-03-27 21:11
                        回复
                          我不会告诉你这就是标准的十五字up


                          13楼2015-03-27 21:11
                          回复
                            我不会告诉你这就是标准的十五字up


                            14楼2015-03-27 21:11
                            回复
                              我不会告诉你这就是标准的十五字up


                              15楼2015-03-27 21:11
                              回复