链接

贴吧吧务批量拉黑js

tieba.baidu.com/p/5424574099

var delay = 500; // 每次操作间的延时 单位毫秒
$("td.btn_group").each( function() {
    var $this = $(this);
    setTimeout( function() {
        $.post("http://tieba.baidu.com/bawu2/platform/addBlack", {
            tbs: PageData.user.tbs,
            user_id: $this.attr("id"),
            word: PageData.forum.forum_name,
            ie: "utf-8"
        }).done( function(data) {
            var result = $.parseJSON(data);
            console.log(result.errno == 0 ? $this.attr("un") + " 成功加入黑名单" : $this.attr("un") +  " 加入黑名单失败 错误码:" + result.errno + "原因:" + result.errmsg);
        });
    }, delay);
});