javascript:(()=>{const ID='roxxem-waaw-mod';document.getElementById(ID)?.remove();document.getElementById(ID+'-css')?.remove();const css=document.createElement('style');css.id=ID+'-css';css.textContent=`#${ID}{--bg:#fff;--bg2:#f5f5f7;--tx:#1d1d1f;--mu:#6e6e73;--ln:#e5e5ea;--ac:#0071e3;--ok:#248a3d;--off:#e9e9ea;position:fixed;z-index:2147483647;right:20px;top:20px;width:320px;max-height:86vh;overflow:auto;padding:16px;background:var(--bg);color:var(--tx);border:1px solid var(--ln);border-radius:18px;box-shadow:0 0 0 .5px rgba(0,0,0,.06),0 12px 40px rgba(0,0,0,.16);-webkit-font-smoothing:antialiased;font:13px/1.4 -apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Helvetica,Arial,sans-serif;letter-spacing:-.01em;text-align:left;color-scheme:light}#${ID} *{box-sizing:border-box}#${ID} [hidden]{display:none!important}#${ID} header{display:flex;align-items:baseline;gap:8px}#${ID} header b{font-size:17px;font-weight:600;letter-spacing:-.02em}#${ID} header span{color:var(--mu)}#${ID} header .lk{margin-left:auto}#${ID} button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0}#${ID} .lk{color:var(--ac)}#${ID} .lk:hover{text-decoration:underline}#${ID} .seg{display:flex;margin:14px 0 4px;padding:2px;border-radius:9px;background:var(--bg2)}#${ID} .seg button{flex:1;padding:5px 0;border-radius:7px;font-weight:500;color:var(--mu)}#${ID} .seg button.on{background:var(--bg);color:var(--tx);box-shadow:0 1px 3px rgba(0,0,0,.14)}#${ID} .h{margin:16px 4px 6px;font-size:12px;color:var(--mu)}#${ID} .card{padding:0 14px;border-radius:12px;background:var(--bg2)}#${ID} .rw{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--ln)}#${ID} .rw:first-child{border-top:0}#${ID} .mu{color:var(--mu)}#${ID} .pd{padding:11px 0}#${ID} .warn{color:var(--mu)}#${ID} #rx-state{font-weight:500}#${ID} #rx-info{margin-top:1px;font-size:12px;color:var(--mu)}#${ID} .big{padding:12px 0 4px;font-size:22px;font-weight:600;letter-spacing:-.02em}#${ID} .ans{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--ln);color:var(--mu)}#${ID} .ans.ok{color:var(--tx)}#${ID} .ans.ok i{color:var(--ok)}#${ID} .ans i{font-style:normal}#${ID} .sw{position:relative;flex:none;width:42px;height:26px;border-radius:13px;background:var(--off);transition:background .2s}#${ID} .sw::after{content:'';position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}#${ID} .sw.on{background:#34c759}#${ID} .sw.on::after{transform:translateX(16px)}#${ID} .acts{display:flex;gap:8px;margin:12px 0 0}#${ID} .bt{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 15px;border-radius:980px;background:var(--ac);color:#fff;font-weight:500;transition:background .15s,transform .1s}#${ID} .bt:hover{background:#0077ed}#${ID} .bt:active{transform:scale(.97)}#${ID} .bt.g{background:#e8e8ed;color:var(--tx)}#${ID} .bt.g:hover{background:#dcdce1}#${ID} .gn{color:var(--ok);font-weight:500}#${ID} .foot{margin:14px 4px 0;font-size:11px;line-height:1.45;color:var(--mu)}`;document.head.appendChild(css);const ui=document.createElement('section');ui.id=ID;ui.innerHTML=`
Monitor Log
Status
Answer
Choices
Controls
Monitoring
Auto-select
Scan for answers Scan now
Invisibility Y Hide
Answers selected
Copy Clear
`;document.body.appendChild(ui);const $=id=>ui.querySelector('#'+id),txt=e=>(e?.innerText||e?.textContent||'').trim().replace(/\s+/g,' ').slice(0,180),visible=e=>!!(e&&e.isConnected&&!ui.contains(e)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),esc=s=>String(s).replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c]));let running=true,auto=true,invisible=false,timer,lastAutoKey='',lastSignature='',destroyed=false,logs=[];const originalStyles=new Map();function clearHighlights(){for(const [el,s] of originalStyles){if(el.isConnected){el.style.outline=s.outline;el.style.outlineOffset=s.outlineOffset}}originalStyles.clear()}function highlight(el,correct){if(invisible||!el.isConnected)return;if(!originalStyles.has(el))originalStyles.set(el,{outline:el.style.outline,outlineOffset:el.style.outlineOffset});el.style.outline=correct?'3px solid #34c759':'2px solid #ff3b30';el.style.outlineOffset='2px'}function setInvisible(v){invisible=v;clearHighlights();ui.style.display=v?'none':'block'}function bottomButtons(){const all=[...document.querySelectorAll('button,[role="button"],[role="option"],[role="radio"]')].filter(e=>visible(e)&&txt(e).length>0&&txt(e).length<=100);const lower=all.filter(e=>{const r=e.getBoundingClientRect();return r.top>innerHeight*.42&&r.bottome.getBoundingClientRect().top));return lower.filter(e=>maxTop-e.getBoundingClientRect().top7||budget--<=0||seen.has(o))return;seen.add(o);if(Array.isArray(o)&&o.length>=2&&o.length<=8){const records=o.filter(x=>x&&typeof x==='object'&&typeof x.correct==='boolean'&&wordText(x));if(records.length===o.length&&records.length>=2&&records.length<=4&&records.filter(x=>x.correct).length===1)found.push(records)}let keys=[];try{keys=Object.keys(o).slice(0,80)}catch{return}for(const k of keys){if(/^(window|document|parent|ownerDocument|defaultView|_owner|_store)$/i.test(k))continue;try{const v=o[k];if(v&&typeof v==='object')walk(v,d+1)}catch{}}}walk(root,0);return found}function norm(s){return String(s||'').toLocaleLowerCase().replace(/[^\p{L}\p{N}]+/gu,' ').trim()}function matchControl(answer,buttons,used){const a=norm(answer);return buttons.find(b=>{if(used.has(b))return false;const t=norm(txt(b));return t===a||(t.length>=2&&(t.includes(a)||a.includes(t)))})}function inspect(){if(destroyed)return;const buttons=bottomButtons();clearHighlights();$('rx-choices').innerHTML=buttons.length?buttons.map((b,i)=>''+esc(txt(b))+' '+(i+1)+'
').join(''):'No likely bottom answer buttons detected yet.';$('rx-info').textContent=buttons.length+' answer buttons found';if(buttons.length<2){$('rx-state').textContent='Waiting for at least two bottom answer buttons…';$('rx-result').textContent='No answer data accepted yet.';return}const arrays=[];for(const b of buttons)for(const root of rootsFor(b))for(const arr of collectAnswerArrays(root))arrays.push(arr);let best=null;for(const arr of arrays){const used=new Set(),mapped=[];let ok=true;for(const item of arr){const control=matchControl(wordText(item),buttons,used);if(!control){ok=false;break}used.add(control);mapped.push({text:wordText(item),correct:item.correct,button:control})}if(ok&&used.size===arr.length&&mapped.filter(x=>x.correct).length===1){best=mapped;break}}if(!best){$('rx-state').textContent='Choices found; waiting for a complete matching answer set…';$('rx-result').innerHTML='Not enough verified data yet. No selection has been made.';return}const correct=best.find(x=>x.correct),signature=best.map(x=>norm(x.text)).sort().join('|');if(signature!==lastSignature){lastSignature=signature;lastAutoKey=''}if(!invisible)best.forEach(x=>highlight(x.button,x.correct));$('rx-state').textContent='Complete answer set verified.';$('rx-result').innerHTML=''+esc(correct.text)+'
Correct answer
'+best.map(x=>''+esc(x.text)+' '+(x.correct?'✓':'✗')+'
').join('');if(auto&&lastAutoKey!==signature){lastAutoKey=signature;correct.button.click();logs.push({t:Date.now(),w:correct.text});renderLog();$('rx-result').innerHTML+='Selected automatically.
'}}function tick(){if(!running||destroyed)return;try{inspect()}catch(e){$('rx-state').textContent='Inspection error: '+e.message}}function hotkey(e){if(e.key.toLowerCase()==='y'&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&!/INPUT|TEXTAREA|SELECT/.test(e.target?.tagName||'')){e.preventDefault();setInvisible(!invisible)}}function setView(n){$('rx-v1').hidden=n!==1;$('rx-v2').hidden=n!==2;$('rx-t1').classList.toggle('on',n===1);$('rx-t2').classList.toggle('on',n===2)}function stamp(t){return new Date(t).toLocaleTimeString([],{hour:'2-digit',minute:'2-digit',second:'2-digit'})}function renderLog(){$('rx-log').innerHTML=logs.length?logs.slice().reverse().map((x,i)=>''+(logs.length-i)+' '+esc(x.w)+''+stamp(x.t)+'
').join(''):'Nothing selected yet.
';$('rx-t2').textContent=logs.length?'Log ('+logs.length+')':'Log'}$('rx-t1').onclick=()=>setView(1);$('rx-t2').onclick=()=>{setView(2);renderLog()};$('rx-clear').onclick=()=>{logs=[];renderLog()};$('rx-copy').onclick=()=>{try{navigator.clipboard.writeText(logs.map(x=>stamp(x.t)+'\t'+x.w).join('\n'));$('rx-copy').textContent='Copied'}catch(e){}setTimeout(()=>{$('rx-copy').textContent='Copy'},1200)};renderLog();$('rx-x').onclick=()=>{destroyed=true;running=false;clearInterval(timer);clearHighlights();ui.remove();css.remove();window.removeEventListener('keydown',hotkey)};$('rx-poll').onclick=()=>{running=!running;$('rx-poll').classList.toggle('on',running);$('rx-poll').setAttribute('aria-checked',running);$('rx-state').textContent=running?'Monitoring resumed.':'Monitoring paused.';if(running)tick()};$('rx-scan').onclick=tick;$('rx-auto').onclick=()=>{auto=!auto;$('rx-auto').classList.toggle('on',auto);$('rx-auto').setAttribute('aria-checked',auto);if(auto)tick()};$('rx-invisible').onclick=()=>setInvisible(true);window.addEventListener('keydown',hotkey);tick();timer=setInterval(tick,300)})();