不要慌,別看到代碼就慫,很簡(jiǎn)單的,三步就能搞定,且往下看!
1. 進(jìn)入自己的微博主頁(yè)(網(wǎng)頁(yè)端)
2. 按F12鍵(或者右鍵審查元素),會(huì)彈出以下頁(yè)面
3. 將代碼復(fù)制在 [ console ]目錄 ,按回車(chē)鍵確定即可
PS:一旦你按下回車(chē)鍵,刪除就會(huì)馬上開(kāi)始,所以要慎重?。ㄊ郎蠜](méi)有后悔藥)
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);
溫馨提示:
a. 不能刪除指定微博,但可以刪除當(dāng)前頁(yè)面的微博
b. 一次只能刪除一頁(yè)的微博,大概40條
c. 如果出現(xiàn)錯(cuò)誤,或者系統(tǒng)繁忙,就把代碼在[console ]目錄復(fù)制一遍
d. 如果你后悔了,想停止刪除,就按F5刷新,但刪掉的微博是不能還原的哦