Merhabalar, popup kodum mobilde çalışmıyor burada neyi düzeltmem gerekiyor mobilde çalışması için?

var popURL = "url";var popShown = false;
var disableRedirects = false

function openTabBrowser(url) {
    if (popShown == true) {
        return false;
    }
		win = window.open(url, 'yp', 'menubar=0,resizable=1,width=1360,height=728');
    win.moveTo(150000, 150000);
	  win.blur();
	    if (win) {
        popShown = true;
    }
    return true;
}

function setCookie(cname, cvalue, extime) {
  var d = new Date();
  d.setTime(d.getTime() + extime);
  var expires = "expires="+ d.toUTCString();
  document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

function getCookie(cname) {
  var name = cname + "=";
  var decodedCookie = decodeURIComponent(document.cookie);
  var ca = decodedCookie.split(';');
  for(var i = 0; i <ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0) == ' ') {
      c = c.substring(1);
    }
    if (c.indexOf(name) == 0) {
      return c.substring(name.length, c.length);
    }
  }
  return "";
}

function initPop() {
    if (!getCookie('popShown')) {
      if (typeof window.orientation !== 'undefined') {
        disableRedirects = true
        $('a').click(function (event){
          if (!getCookie('popShown')) {
            event.preventDefault();

            window.open($(this).attr('href'), '_blank');
            window.location.href = popURL;
          }
        });
      }
  		if (document.attachEvent) {
  			document.attachEvent('onclick', checkTargetPop);
  		} else if (document.addEventListener) {
  			document.addEventListener('click', checkTargetPop, false);
  		}
    }
}

function openTabMobile(url) {

  if (window.location != undefined) {
    var page = window.open(window.location.href, '_blank')
    page.blur()

    window.location.href = url
  } else {
    openTabBrowser(popURL)
  }
}

function checkTargetPop(e) {
	if(jQuery(e.target).closest('#cstk').length || jQuery(e.target).closest('#preroll').length || jQuery(e.target).closest('.fa-home').length) {return;}
		if (!getCookie('popShown')) {
      if (typeof window.orientation !== 'undefined') {
        //openTabMobile(popURL);
      } else {
        openTabBrowser(popURL);
      }
  		setCookie('popShown', 0, 0.800 * 10 * 100 * 1000);
  	}
	}
initPop();