chenshuoqwerty吧 关注:17贴子:1,350
  • 5回复贴,共1

满满的作死贴

取消只看楼主收藏回复



IP属地:江苏来自Android客户端1楼2015-03-17 23:19回复
    test


    IP属地:江苏18楼2015-05-02 18:50
    回复
      2025-09-11 01:51:26
      广告
      不感兴趣
      开通SVIP免广告
      URL: http://tieba.baidu.com/f/commit/post/delete
      Method: POST
      From Data:
      commit_fr:pb
      ie:utf-8
      tbs:
      kw:
      fid:
      tid:
      pid:
      is_vipdel:1
      is_finf:false
      @chenshuoqwerty


      IP属地:江苏20楼2015-05-02 18:54
      收起回复
        javascript:var myPostData={ie:"utf-8",commit_fr:"pb",tbs:PageData.tbs,kw:PageData.forum.name,fid:PageData.forum.id,tid:prompt("请输入要删除的tid"),pid:prompt("请输入要删除的pid"),is_vipdel:0,is_finf:false};$.post("/f/commit/post/delete",myPostData);
        @chenshuoqwerty


        IP属地:江苏22楼2015-05-10 00:24
        收起回复
          @chenshuoqwerty
          改进,兼容贴吧前台与吧务后台
          javascript:var charset=PageData.charset;var myPostData={ie:charset?charset.toLowerCase():'utf-8',commit_fr:"pb",tbs:PageData.tbs?PageData.tbs:PageData.user.tbs,kw:PageData.forum.forum_name,fid:parseInt(PageData.forum.forum_id),tid:parseInt(prompt("请输入要删除的tid")),pid:parseInt(prompt("请输入要删除的pid")),is_vipdel:0,is_finf:false};$.post("/f/commit/post/delete",myPostData,function(s){var o=JSON.parse(s);if(o.no!=0)alert("no:"+o.no+"\nerr_code:"+o.err_code+"\nerror:"+o.error);else alert("OK");});console.log(myPostData);


          IP属地:江苏29楼2015-05-16 19:03
          回复
            @chenshuoqwerty
            查看当前主题帖TID PID
            javascript:var lz = $('div.louzhubiaoshi:first').attr('author');var title = $('.core_title_txt:first').attr('title');var link = $('.louzhubiaoshi:first a:first').attr('href');var tid = link.match(/\/p\/(\d+)/)[1];var pid = link.match(/\pid=(\d+)/)?link.match(/\pid=(\d+)/)[1]:link.match(/\#(\d+)$/)[1];alert ('作者:'+lz+'\n标题:'+title+'\n\ntid:'+tid+'\npid:'+pid+'\n\n\n'+link);


            IP属地:江苏30楼2015-05-16 19:17
            收起回复