1 <html> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport"> 5 <meta http-equiv="Pragma" content="no-cache"> 6 <meta http-equiv="Cache-Control" content="no-cache"> 7 <meta http-equiv="Expires" content="0"> 8 <script src="../jquery.min.js"></script> 9 <script src="../jquery.cookie.min.js"></script> 10 <script> 11 $first=$.cookie('first_vist'); 12 if(!$first||$first=='null'||$first==null){ 13 $.cookie('first_vist','1',{ expires: 7 }); 14 }else{ 15 $.cookie('first_vist',null); 16 location.reload(true); 17 } 18 </script> 19 </head>