[ad_1]
to the top
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '2388824518086528');
});
window.REBELMOUSE_LOWEST_TASKS_QUEUE.push(function(){
document.addEventListener("mouseleave", function(event) { const localKey = "ModalShown"; if ( window.__INNGlobalVars.isFreeReport || window.__INNGlobalVars.isCompanyProfile || window.__INNGlobalVars.activeSection === "my-inn" || window.localStorage.getItem(localKey) ) { return false }
if ( event.clientY <= 0 || event.clientX <= 0 || (event.clientX >= window.innerWidth || event.clientY >= window.innerHeight) ) { console.log("I'm out"); let adWrp = document.querySelector("#floater-ad-unit"); let adWrpClose = document.querySelector("#floater-ad-unit--close"); if (adWrp && adWrpClose) { adWrp.classList.toggle("hidden"); googletag.cmd.push(function() { googletag.display('inn_floater'); }); adWrpClose.addEventListener("click", function(e) { e.preventDefault(); adWrp.classList.toggle("hidden"); return false; }, false);
window.localStorage.setItem(localKey, 1); } } });
});
[ad_2]
Source link