ورزش 24
varzesh24.fileon.ir

قویترین قرص مسکن

نویسنده : علی بجنوردی | زمان انتشار : 27 آبان 1399 ساعت 11:45

`; let doc = document.querySelector(".myBox"); doc.innerHTML = html; }; const close = e => { tempClose(); hide(); showSticky(); }; const tempClose = () => { db().save("instagram-vitamin_che-temp", new Date().getTime()); }; const check = () => { let scrollTop = window.pageYOffset !== undefined ? window.pageYOffset : ( document.documentElement || document.body.parentNode || document.body ).scrollTop; let body = document.body, html = document.documentElement; let w_height = window.innerHeight; let d_height = Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ); let height = d_height - w_height; let scrollTrigger = (height / 100) * 40; if (scrollTop >= scrollTrigger) { unregister(); show(); } }; function delegate(el, evt, sel, handler) { el.addEventListener(evt, function(event) { var t = event.target; while (t && t !== this) { if (t.matches(sel)) { handler.call(t, event); return; } t = t.parentNode; } }); } if ( checkBeforeLaunch().isMobile() && checkBeforeLaunch().isClicked() && checkBeforeLaunch().isTempClicked() ) { content(); register(); } return { show, hide }; } window.myBox = myBox; window.onload = window.myBox;