const sleep=ms=>new Promise(r=>setTimeout(r,ms)); const propsOf = el => { for (const k of Object.keys(el)) if (k.startsWith('__reactProps$')) return el[k]; return null; }; const fire = (el) => { let t = el; for (let i=0;i<8&&t;i++){const q=propsOf(t); if(q&&typeof q.onClick==='function'){q.onClick({target:t,currentTarget:t,stopPropagation(){},preventDefault(){},nativeEvent:{},button:0,detail:1});return true;} t=t.parentElement;} return false; }; const total = () => { for (const el of document.querySelectorAll('*')) if (el.children.length===0 && (el.textContent||'').trim().startsWith('全部 (')) return (el.textContent||'').trim(); return null; }; const before = total(); let b=null; for (const x of document.querySelectorAll('button')) if((x.innerText||'').trim()==='刷新' && x.offsetParent!==null) b=x; if(!b) return {err:'no 刷新', before}; fire(b); const seq=[]; for (let i=0;i<9;i++){ await sleep(2500); seq.push(total()); } return {before, seq};