const sleep = ms => new Promise(r=>setTimeout(r,ms)); const getSel = () => { for (const el of document.querySelectorAll('[data-id^="selectOptionKey_"]')) { const fs = el.closest('fieldset'); if (el.offsetParent!==null && fs && (fs.querySelector('legend')||{}).textContent==='忽略网络') return el; } return null; }; const sel = getSel(); if(!sel) return {err:'no select'}; const fk = Object.keys(sel).find(k=>k.startsWith('__reactFiber$')); let f=sel[fk], target=null; for(let i=0;i<12&&f;i++){ const mp=f.memoizedProps; if(mp && mp.list && typeof mp.onChange==='function'){ target=mp; break; } f=f.return; } if(!target) return {err:'no onChange fiber'}; const L = target.list; return {listLen: L.length, sample: L.slice(0,5), value: target.value};