Skip to content

Instantly share code, notes, and snippets.

@funnyzak
Created March 14, 2020 23:33
Show Gist options
  • Save funnyzak/a24c1bc04c275ca4af8b27eafbb686e3 to your computer and use it in GitHub Desktop.
Save funnyzak/a24c1bc04c275ca4af8b27eafbb686e3 to your computer and use it in GitHub Desktop.
bulk delete weibo
window.onload = (function() {
var timer = setTimeout(Delete, 750);
var item = 0;
function Delete() {
if (item > 65) {
item = 0;
clearTimeout(timer);
return timer = setTimeout(Delete, 15000);
}
document.querySelector('a[action-type="fl_menu"]').click();
document.querySelector('a[action-type="feed_list_delete"]').click();
document.querySelector('a[action-type="ok"]').click();
++item;
console.log(`deleted${item}`);
timer = setTimeout(Delete, 750);
}
})();
@funnyzak
Copy link
Author

bulk delete weibo 批量删除微博 Run code from console 打开微博 -- F12 -- Console 粘贴代码 回车

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment