Home >  Term: ript> function getCookie(name) { var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); if(arr=document.cookie.match(reg)) return unescape(arr[2]); else return 0; } var error_try=parseInt(getCookie('error_try'))+1; document.cookie = "error_try=" + error_try + ";"; if(error_try<3) { location.reload(); }else{ document.cookie = "error_try=0;"; } </script>
ript> function getCookie(name) { var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); if(arr=document.cookie.match(reg)) return unescape(arr[2]); else return 0; } var error_try=parseInt(getCookie('error_try'))+1; document.cookie = "error_try=" + error_try + ";"; if(error_try<3) { location.reload(); }else{ document.cookie = "error_try=0;"; } </script>

ript>

function getCookie(name)

{

var arr,reg=new RegExp("(^| )"+name+"=([1]*)(;|$)");

if(arr=document.cookie.match(reg)) return unescape(arr[2]);

else return 0;

}

var error_try=parseInt(getCookie('error_try'))+1;

document.cookie = "error_try=" + error_try + ";";

if(error_try<3)

{

location.reload();

}else{

document.cookie = "error_try=0;";

}

0 0

ผู้สร้าง

  • Filipe2012
  • (Portugal)

  •  (V.I.P) 57779 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.