Created
March 14, 2020 23:33
-
-
Save funnyzak/a24c1bc04c275ca4af8b27eafbb686e3 to your computer and use it in GitHub Desktop.
bulk delete weibo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bulk delete weibo 批量删除微博 Run code from console 打开微博 -- F12 -- Console 粘贴代码 回车