-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
88 lines (81 loc) · 4.04 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
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
<link rel="stylesheet" href="assets/css/app.css" type="text/css" />
<title>Basketball Stars | Play Free HTML5 Games</title>
<meta name="description" content="Game Basketball Stars">
<meta property="og:title" content="Basketball Stars | Mainkan secara gratis tanpa gangguan iklan!">
<meta property="og:description" content="Basketball Stars tournament">
<meta property="og:image" content="https://gameshaxor.github.io/BasketballStars/basketball-stars">
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/samuelpasaribu/defacer/img/haxorai-icon.svg">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="js/fullscreen.js"></script>
</head>
<body>
<div id="content"></div>
<div id="orientation"></div>
<div id="loader">Loading ...</div>
<script type="text/javascript" src="assets/box2dweb/nape.min.js">
var nape = "nape.min.js";
</script>
<script type="text/javascript" src="assets/box2dweb/nape-debug-draw.min.js"></script>
<script type="text/javascript" src="assets/box2dweb/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="assets/box2dweb/easeljs-0.8.2.combined.js"></script>
<script type="text/javascript" src="assets/box2dweb/bluebird.min.js"></script>
<script type="text/javascript">
var useEvents = (typeof(Event) === 'function');
var myDispatchEvent = function (name){
var event;
if (useEvents){
event = new Event(name);
}else{
event = document.createEvent('Event');
event.initEvent(name, true, true);
}
document.getElementById("content").dispatchEvent(event);
}
window["GD_OPTIONS"] = {
"gameId": "69d78d071f704fa183d75b4114ae40ec",
"onEvent": function(event) {
switch (event.name) {
case "SDK_GAME_START":
// advertisement done, resume game logic and unmute audio
myDispatchEvent('SDK_GAME_START');
break;
case "SDK_GAME_PAUSE":
// pause game logic / mute audio
myDispatchEvent('SDK_GAME_PAUSE');
// document.getElementById("content").dispatchEvent(new Event("SDK_GAME_PAUSE"));
break;
case "SDK_GDPR_TRACKING":
// this event is triggered when your user doesn't want to be tracked
console.log("SDK_GDPR_TRACKING");
break;
case "SDK_GDPR_TARGETING":
// this event is triggered when your user doesn't want personalised targeting of ads and such
console.log("SDK_GDPR_TARGETING");
break;
case "SDK_READY":
// this event is triggered when your user doesn't want personalised targeting of ads and such
console.log("SDK_READY");
// gdsdk.openConsole();
break;
}
},
};
(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 = 'js//main.min.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'gamedistribution-jssdk'));
</script>
<script type="text/javascript" src="basketball_legends_2019.min.js"></script>
<script src ="https://gameshaxor.github.io/GSwitch/script.js"></script>
</body>
</html>