QQ空间批量删除说说

按下F12,贴下如下代码

var delay = 1000;
function del() {
    if (document.querySelector(".app_canvas_frame").contentDocument.querySelector(".del_btn")) {
        document.querySelector(".app_canvas_frame").contentDocument.querySelector(".del_btn").click();
        setTimeout("yes()", delay)
    } else {
        document.querySelector(".app_canvas_frame").contentDocument.querySelectorAll(".bt_tx2")[1].click();
        setTimeout("del()", delay)
    }
}
function yes() {
    document.querySelector(".qz_dialog_layer_btn").click();
    setTimeout("del()", delay)
}
del();

 

posted @ 2019-10-17 21:21  苗士军  阅读(418)  评论(0编辑  收藏  举报