-
Notifications
You must be signed in to change notification settings - Fork 2
/
test2-min.js
1 lines (1 loc) · 1.27 KB
/
test2-min.js
1
!function(){const e=["Mon","Tue"];let n="";setInterval((function(){document.addEventListener("keydown",(function(t){t.ctrlKey&&(!function(){const t=document.querySelectorAll(".time-axis"),o=document.querySelectorAll(".price-axis");t.forEach((t=>{const o=t.innerText,c=t.id?` id="${t.id}"`:"",a=t.className?` class="${t.className}"`:"",l=t.name?` name="${t.name}"`:"";e.some((e=>o.includes(e)))&&(n+=`Element with ${day} found:${c}${a}${l}\n${t.outerHTML}\n\n`),t.querySelectorAll("img").forEach((t=>{const o=t.alt||t.src;e.some((e=>o.includes(e)))&&(n+=`Image with ${day} found:${c}${a}${l}\n${t.outerHTML}\n\n`)}))})),o.forEach((t=>{const o=t.innerText,c=t.id?` id="${t.id}"`:"",a=t.className?` class="${t.className}"`:"",l=t.name?` name="${t.name}"`:"";e.some((e=>o.includes(e)))&&(n+=`Element with ${day} found:${c}${a}${l}\n${t.outerHTML}\n\n`),t.querySelectorAll("img").forEach((t=>{const o=t.alt||t.src;e.some((e=>o.includes(e)))&&(n+=`Image with ${day} found:${c}${a}${l}\n${t.outerHTML}\n\n`)}))}))}(),function(){const e=new Blob([n],{type:"text/plain"}),t=document.createElement("a"),o=URL.createObjectURL(e);t.href=o,t.download="scan_results.txt",document.body.appendChild(t),t.click(),setTimeout((()=>{document.body.removeChild(t),window.URL.revokeObjectURL(o)}),0)}(),n="")}))}),1e4)}();