瀏覽器不支持javascript,請手動刷新頁面!

三晋游戏手游 var dt = new Date(); dt.setSeconds(dt.getSeconds() + 60); document.cookie = "cookietest=1; expires=" + dt.toGMTString(); var cookiesEnabled = document.cookie.indexOf("cookietest=") != -1; function getCookie(name) { var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); if(arr=document.cookie.match(reg)) return arr[2]; else return null; } var preurl = getCookie("preurl"); var cookie_captchaKey = getCookie("cookie_captchaKey"); var Expire = getCookie("cookie_captchaExpire"); if(cookie_captchaKey == null||Expire == null){ var msg = "瀏覽器安全檢查中.....請稍后"; document.getElementById("msg").innerHTML=msg; if (preurl==null) { if(!cookiesEnabled) { var msg ="瀏覽器不支持cookie,頁面無法訪問"; document.getElementById("msg").innerHTML=msg; } else { preurl = window.location.pathname; setTimeout("javascript:window.location.href ='"+preurl+"';",1500); } } else { setTimeout("javascript:window.location.href ='"+preurl+"';",1500); } }else{ window.location.href ="'"+ preurl+"'"; }