打开动态页面,然后按F12,选择控制台选项卡,然后粘贴下面的代码;
警告!!!这将删除你的所有动态,请谨慎操作
let doit = function(i,items){if(items.length == 0){items = document.querySelectorAll(".bili-dyn-list__item");}else if((i+1) == items.length){window.scrollTo(0,1000);setTimeout(()=>{doit(0,[]);},2000);return;}items[i].querySelector(".bili-dyn-more__btn").querySelector(".bili-dyn-more__menu").querySelectorAll("div")[1].click(); console.log(i);setTimeout(()=>{var dialog = document.querySelector(".bili-modal").querySelector(".bili-modal__footer").querySelector(".confirm"); dialog.click();setTimeout(()=>{doit(++i,items);},1000);},1000);}doit(0,[]);