-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (63 loc) · 2.42 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
<!DOCTYPE>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CGame</title>
<link rel="icon" type="image/GIF" href="res/favicon.ico" />
<meta name="viewport" content="initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="full-screen" content="yes" />
<meta name="screen-orientation" content="portrait" />
<meta name="x5-fullscreen" content="true" />
<meta name="360-fullscreen" content="true" />
<meta id="metaKeywords" name="keywords" content="" />
<meta id="metaDescription" name="description" content="CGame" />
<style>
body,
canvas,
div {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
</style>
</head>
<body style="padding:0; margin: 0; background: #000;">
<script src="res/loading.js"></script>
<canvas id="gameCanvas" width="1280" height="720"></canvas>
<script>
var version_res = 1;
(function () {
var nav = window.navigator;
var ua = nav.userAgent.toLowerCase();
var uaResult = /android (\d+(?:\.\d+)+)/i.exec(ua) || /android (\d+(?:\.\d+)+)/i.exec(nav.platform);
if (uaResult) {
var browserCheck = ua.match(/(qzone|micromessenger|qq)(mobile)?(browser)?\/?([\d.]+)/i);
if (browserCheck) {
var browserVersion = parseFloat(browserCheck[4] || 0);
if (browserVer < 6.2) {
var gameCanvas = document.getElementById("gameCanvas");
var ctx = gameCanvas.getContext('2d');
ctx.fillStyle = '#000000';
ctx.fillRect(0, 0, 1, 1);
}
}
}
})();
</script>
<script src="global.js"></script>
<script>
document.write("<script type='text/javascript' src='game.min.js?v=" + Date.now() + "'><\/script>");
</script>
<script src="jquery.min.js" type="text/javascript">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt=""
src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/870957946/?guid=ON&script=0" />
</div>
</noscript>
</body>
</html>