shareWx.html
2.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- <script src="https://res.sharetrace.com/sharetrace.min.js"></script> -->
<meta charset="UTF-8">
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<meta charset="UTF-8">
<meta property="og:image" content="images/icon.png" /> <!-- facebook -->
<meta name="twitter:image" content="images/icon.png" /> <!-- twitter -->
<meta name="description" content="嗨,我在Firefly看直播,這裡妹子正,看直播有幣賺,開直播還有高提成,過來和我一起嗨吧!">
<title>firefly直播</title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/layer.css">
<script src="lib/fsize.js"></script>
<style>
.main {
width: 100vw;
height: 100vh;
overflow: hidden;
position: relative;
}
.wxBg {
width: 10rem;
height: 17.787rem;
background: url(./images/wxbg.png) no-repeat;
background-size: 100% 100%;
}
</style>
</head>
<body style="background: #000;">
<div class="main">
<div class="wxBg"></div>
</div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script>
var ua = navigator.userAgent.toLowerCase();
var data = url_get_params(location.href)
sessionStorage.bbb = data.agentCode; //t
sessionStorage.kkk = data.token;//k
if (ua.indexOf('micromessenger') === -1) {
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href = "share2.html?agentCode=" + sessionStorage.bbb + "&bindType=3"
} else {
window.location.href = "share.html?agentCode=" + sessionStorage.bbb + "&bindType=3"
}
}
function url_get_params(url_path) {
var url = url_path;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
</script>
</html>