如何把你的随笔批量删除
好啊,这篇文章就来 teach 你怎么批量删除你的文章(一页一页来)
首先,把你的博客园到老版本去捏~
点这里。
点到你想要批量删除的那一页。
-
点键盘上的 F12 或 Ctrl+Shift+I(不是,怎么有人还用这个?!。
-
在右边的上面点 "Console" 或 "控制台"。
-
复制下面代码到你点开的地方并按 Enter,然后你就会发现你吧一页删除了!
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();

浙公网安备 33010602011771号