問題:如何批量刪除個人所有已發(fā)微博捷犹?解決方案有兩種:
1. 使用Chrome插件檔案娘助手,見【批量刪除微博——一】冕末,這里不贅述萍歉;
2. 使用JS腳本(來自Vito Van)如下:
2.1. 進(jìn)入我的微博主頁下,點(diǎn)擊【全部】獲取所有已發(fā)微博列表栓霜;
2.2. Chrome瀏覽器下F12鍵翠桦;
2.3. 選擇Console;
2.4. 復(fù)制如下JS腳本到空白框中胳蛮,然后回車鍵運(yùn)行销凑。
2.5. 依據(jù)刪除任務(wù)量不同,腳本會刪除不同時(shí)間仅炊。需要注意:可能因?yàn)槲⒉┓?wù)器的緣故斗幼,某些老微博在這里來不及刪除,可以過一段時(shí)間再跑一遍抚垄。
// ==UserScript==
// @name Weibored.js
// @namespace https://vito.sdf.org
// @version 0.2.0
// @description 刪除所有微博
// @author Vito Van
// @match https://weibo.com/p/*
// @grant none
// ==/UserScript==
'use strict';
var s = document.createElement('script');
s.setAttribute('src', 'https://lib.sinaapp.com/js/jquery/2.0.3/jquery-2.0.3.min.js');
s.onload = function() {
setInterval(function() {
if (!$('a[action-type="feed_list_delete"]')) {
$('a.next').click();
} else {
$('a[action-type="feed_list_delete"]')[0].click();
$('a[action-type="ok"]')[0].click();
}
// scroll bottom let auto load
$('html, body').animate({ scrollTop: $(document).height() }, 'slow');
}, 800);
};
document.head.appendChild(s);
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者