剧院简介

来源: 点击:

  • 【关闭页面】
  • '; if(dianjiValue.length>0 && dianjiValue.indexOf("ms:field.hit") == -1){ $("#dianji").append(laiyuanValue); } var lineLink = window.location.href; var url = lineLink.replace("http://www.cjry.cn/html/1","http://www.cjry.cn/html/1/m"); var userAgentInfo = navigator.userAgent; var mobileAgents = [ "Android", "iPhone", "SymbianOS", "Windows Phone", "iPad","iPod"]; var mobile_flag = false; //根据userAgent判断是否是手机 for (var v = 0; v < mobileAgents.length; v++) { if (userAgentInfo.indexOf(mobileAgents[v]) > 0) { mobile_flag = true; break; } } if(mobile_flag){ window.location.href = url; } })