-
-
Save mopperwhite/d06ad498288b2c295053cb764a7c28eb to your computer and use it in GitHub Desktop.
如何在Chrome上批量删除微博
This file contains 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
let start_at = 0 // 从第0个开始删 | |
let end_at = 10 // 删到第9个 | |
let aa=Array.prototype.slice.apply(document.querySelectorAll('.WB_feed_detail .W_ficon.ficon_arrow_down.S_ficon')).slice(start_at,end_at) | |
for(let i=0; i<aa.length; i++){ | |
setTimeout( () => { | |
aa[i].click() | |
document.querySelector('[title="删除此条微博"]').click() | |
document.querySelector('.layer_mini_opt .W_btn_a').click() | |
}, i*1000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment