let node=null; for (const el of document.querySelectorAll('*')) if (el.children.length===0 && (el.textContent||'').trim().startsWith('全部 (')) { node=el; break; } if(!node) return {err:'no panel'}; let panel=node; for (let i=0;i<14&&panel.parentElement;i++){ panel=panel.parentElement; if((panel.innerText||'').length>200) break; } const items=[]; for (const el of panel.querySelectorAll('button,i,svg,span,div')) { if (el.offsetParent===null) continue; const t=(el.getAttribute('title')||'').trim(); const dt=(el.getAttribute('data-test')||'').trim(); const cls=(typeof el.className==='string'?el.className:'').slice(0,50); if (t||dt) items.push({tag:el.tagName, title:t, dataTest:dt, cls}); } return {n: items.length, items: items.slice(0,40)};