博客园批量删除文章

博客园搬家地址:https://i-import.cnblogs.com/import/oneclick

进入我的博客->管理,进入管理后台后,先切换到旧版后台

https://i1.cnblogs.com/

然后按F12(或者右键检查)

选择console,输入下面代码,回车。每次删除当前页

var jq = document.createElement('script');
jq.src = "https://code.jquery.com/jquery-3.3.1.min.js";  /* Include any online jquery library you need */
document.getElementsByTagName('head')[0].appendChild(jq);
$('tr').each(function(){
        if($(this).attr('id')!=null){
            var s = $(this).attr('id').slice(9);
            console.info("正在删除:"+s);
            deletePost(s);
        }
    var realConfirm=window.confirm;
    window.confirm=function(){
        window.confirm=realConfirm;
        return true;
        };
    });
window.location.reload();
原文地址:https://www.cnblogs.com/wybshyy/p/13781412.html