进入我的博客->管理,进入管理后台后,先切换到旧版后台
然后按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();