链接

贴吧自动删楼js

tieba.baidu.com/p/4478567081

var pid;
for (var i = 1; i < document.getElementsByTagName("cc").length; i++)
{
    pid = new RegExp("\\d+").exec(document.getElementsByTagName("cc")[i].getElementsByTagName("div")[0].attributes[0].value)[0];
    setTimeout($.post("https://tieba.baidu.com/f/commit/post/delete", {
        fid: PageData.forum.forum_id,
        tbs: PageData.tbs,
        ie: "utf-8",
        is_finf: false,
        is_vipdel: 0,
        kw: PageData.forum.forum_name,
        pid: pid,
        tid: PageData.thread.thread_id,
        commit_fr: "pb"
    }), 20);
}