123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title></title>
- <link rel="stylesheet" href="css/over.css">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- </head>
- <body>
- <section class="end-box full" id="endBox">
- <div class="end" id="fail"><img src="img/fail.png" alt=""></div>
- <a href="http://gjnh.100t.com/gjnh/index.php/Index/" class="btn"><img src="img/btn.png"></a>
- </section>
- </body>
- </html>
- <script src="js/jquery.js"></script>
- <script src="js/jquery.transit.min.js"></script>
- <script>
- function getQueryString(name) {
- var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
- var r = decodeURI(window.location.search.substr(1)).match(reg);
- if (r != null) return unescape(r[2]);
- return null;
- }
- var baseUrl = "gj.100t.com";
- var logoutUrl = "http://" + baseUrl + "/api/quepass/logout";
- var uid = getQueryString('uid');
- window.οnbefοreunlοad = function(ev) {
- $.post(logoutUrl,JSON.stringify({uid:uid}))
- return true;
- };
- var num = 0
- $.post(logoutUrl,JSON.stringify({uid:uid}),function(res){
- num += 1
- })
- // var timer = window.setInterval(function(){
- // if(num>3){
- // window.clearInterval(timer)
- // return
- // }
- // $.post(logoutUrl,JSON.stringify({uid:uid}),function(res){
- // num += 1
- // })
- // })
- </script>
|