Main/resources/[tools]/unlimited-spectre/html/assets/rtl.b51694b1.js

2 lines
342 B
JavaScript
Raw Normal View History

2025-06-07 08:51:21 +02:00
let l=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,l=e.scrollLeft>=0,e.remove()}export{l as r};