博客园删除所有文章

先切换到旧版后台

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();
 
posted @ 2022-04-02 09:45  coderwcb  阅读(40)  评论(0编辑  收藏  举报