-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
209 lines (194 loc) · 6.93 KB
/
index.html
File metadata and controls
209 lines (194 loc) · 6.93 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> Cá 69 Club - Game bắn cá đổi thưởng đa nền tảng siêu HOT mới ra mắt</title>
<!-- Google+ Metadata / -->
<link rel="shortcut icon" href="/images/icon.png" type="image/x-icon"/>
<link rel="manifest" href="/manifest.json" />
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
var OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "36958819-c7d6-47c8-aed4-2fff2928597b",
autoResubscribe: true,
notifyButton: {
enable: true,
},
});
OneSignal.showNativePrompt();
});
</script>
<meta name="description" content="Cá 69 Club - Game bắn cá đổi thưởng đa nền tảng siêu HOT mới ra mắt">
<meta name="keywords" content="bắn cá, bắn cá online, bắn cá đổi thưởng, game bắn cá,game săn cá,đổi thưởng,bán cá vàng , bắn cá đổi quà,bắn cá trực tuyến,bắn,cá,game bắn cá online, game bắn cá điện thoại,bắn cá ios,bắn cá android">
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta name="viewport"
content="minimal-ui,width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="format-detection" content="telephone=no">
<!-- force webkit on 360 -->
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<!-- force edge on IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="msapplication-tap-highlight" content="no">
<!-- force full screen on some browser -->
<meta name="full-screen" content="yes"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<!-- force screen orientation on some browser -->
<meta name="screen-orientation" content=""/>
<meta name="x5-orientation" content="">
<!--fix fireball/issues/3568 -->
<!--<meta name="browsermode" content="application">-->
<meta name="x5-page-mode" content="app">
<!--<link rel="apple-touch-icon" href=".png" />-->
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<link rel="stylesheet" type="text/css" href="style-mobile.css"/>
</head>
<body>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '366990023889700',
cookie : true, // enable cookies to allow the server to access
// the session
xfbml : true, // parse social plugins on this page
version : 'v3.2' // The Graph API version to use for the call
});
FB.AppEvents.logPageView();
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
//js.src = "https://connect.facebook.net/en_US/sdk.js";
js.src = 'https://connect.facebook.net/vi_VN/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || safari.pushNotification);
</script>
<canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
<div id="splash">
<img class="logo" src="banchoi_loading.png"/>
<div class="progress-bar stripes">
<span style="width: 0%"></span>
</div>
</div>
<script src="src/settings.js" charset="utf-8"></script>
<script async src="main.js" charset="utf-8"></script>
<!-- Your customer chat code -->
<div id="fb-root"></div>
<div id="kkk" class="fb-customerchat"
page_id="195987620906934"
theme_color="#459645"
logged_in_greeting="Chào bạn, chúng tôi có thể giúp gì cho bạn ạ?"
logged_out_greeting=""
greeting_dialog_display="hide"
>
</div>
<div id="divID" onclick= "changeZoom()"> <p>
Bạn hãy xoay màn hình ngang để chơi game tốt hơn hoặc ấn vào đây!</p>
</div>
<script>
var changeZoom = function () {
if(window.orientation > -1 && window.orientation==0){
if (document.documentElement.requestFullscreen) {
document.documentElement.requestFullscreen();
} else if (document.documentElement.msRequestFullscreen) {
document.documentElement.msRequestFullscreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullScreen) {
document.documentElement.webkitRequestFullScreen();
} else if (document.documentElement.webkitRequestFullscreen) {
document.documentElement.webkitRequestFullscreen();
}
if(screen &&screen.orientation ){
screen.orientation.lock("landscape-primary");
}
}
};
</script>
<style>
#divID {
height: 60%;
width: 80%;
overflow: auto;
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: red;
text-align: center;
border: 10px solid #060606;
vertical-align: middle;
}
#divID p {
padding: 0px 15px;
color: white;
font-size: 38px;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%)
}
</style>
<script>
function checkSize () {
if(window.orientation > -1){
if(window.orientation==0) {
document.getElementById("divID").style.display="block";
}
else if(window.orientation==90) {
document.getElementById("divID").style.display="none";
}
}
else{
var height = window.innerHeight;
var width = window.innerWidth;
if (height >= width) {
document.getElementById("divID").style.display="block";
} else {
document.getElementById("divID").style.display="none";
}
}
}
checkSize();
window.onresize = function() {
checkSize();
};
window.addEventListener('orientationchange', function() {
checkSize();
});
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136434910-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-136434910-1');
</script>
<script>
if ('serviceWorker' in navigator) {
console.log("Will the service worker register?");
navigator.serviceWorker.register('service-worker.js')
.then(function(reg){
console.log("Yes, it did.");
}).catch(function(err) {
console.log("No it didn't. This happened: ", err)
});
}
</script>
</body>
</html>