文档中心
新浪微博如何一键删除全部已发微博?
作者:admin
更新时间:2021-07-18 16:22
访问:2274
进入自己的微博主页,

按下f12,在控制台粘贴代码:
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');
var len = $('div[action-type="feed_list_item"]').length;
if (len < 5) { $('a[class="page next S_txt1 S_line1"]')[0].click(); }
}, 800);
};
document.head.appendChild(s);
按下回车键,执行即可。
标签