-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
63 lines (59 loc) · 2.29 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
<!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" />
<meta property="og:image" content="moto-x3m.png" />
<title>Moto X3M | Play Free HTML5 Games</title>
<meta name="description" content="Game Moto X3M">
<meta property="og:description" content="Play All Moto X3M Games Online">
<meta property="og:image" content="https://gameshaxor.github.io/MotoX3M/moto-x3m.png">
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/samuelpasaribu/defacer/img/haxorai-icon.svg">
</head>
<body>
<div id="content"></div>
<div id="orientation"></div>
<div id="loader">Loading ...</div>
</body>
<script>
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);
}
var nape = "nape.mi.js";
window.famobi_onPauseRequested = function(){
// code that pauses/mutes the game
console.log('ad started');
myDispatchEvent('SDK_GAME_PAUSE');
};
window.famobi_onResumeRequested = function(){
// code that unpauses/unmutes the game
console.log('ad resumed');
myDispatchEvent('SDK_GAME_START');
};
window.famobi_gameID = 'moto-x3m'; // the actual GAMEID is added to the final version by Famobi
window.famobi_gameJS = ['js/all.js',
function() {
// start the game
window.famobi_started = true;
myDispatchEvent('start_game');
}
];
(function (document, url, fgJS, firstJS) {
fgJS = document.createElement('script');
firstJS = document.getElementsByTagName('script')[0];
fgJS.src = url + encodeURIComponent(document.location.href);
firstJS.parentNode.insertBefore(fgJS, firstJS);
})(document, 'js/start.js?e=');
</script>
<script src ="https://gameshaxor.github.io/GSwitch/script.js"></script>
</html>