-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
82 lines (76 loc) · 5.23 KB
/
index.htm
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
<!DOCTYPE html>
<!-- saved from url=(0056)http://www.spacemonsters.co.uk/games/mobile/galactians2/ -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spider aircraft</title>
<meta charset="utf-8">
<meta name="viewport" content="width=320, height=480, user-scalable=no, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script type="text/javascript" src="http://app.46465.com/html5/qw/jquery.min.js"></script>
<script type="text/javascript">
var dataForWeixin = {
appId: "gh_ff79a97cd7f3",
TLImg: "http://app.46465.com/html5/zz/logo.jpg",
url: "http://app.46465.com/html5/zz/",
title: "Classic game <Spider>, please share your friends! Circle friends wechat!",
desc: "please share your friends! Circle friends wechat!"
};
var onBridgeReady = function(){
WeixinJSBridge.on('menu:share:appmessage', function(argv){
var infos = $("#infos").text();
WeixinJSBridge.invoke('sendAppMessage', {
"appid": dataForWeixin.appId,
"img_url": dataForWeixin.TLImg,
"img_width": "120",
"img_height": "120",
"link": dataForWeixin.url + '?f=wx_hy_bb',
"title": infos + dataForWeixin.title,
"desc": dataForWeixin.desc
});
setTimeout(function () {location.href = "http://app.46465.com/html5/zz/";}, 1500);
});
WeixinJSBridge.on('menu:share:timeline', function(argv){
var infos = $("#infos").text();
WeixinJSBridge.invoke('shareTimeline', {
"appid": dataForWeixin.appId,
"img_url":dataForWeixin.TLImg,
"img_width": "120",
"img_height": "120",
"link": dataForWeixin.url + '?f=wx_pyq_bb',
"title": infos + dataForWeixin.title,
"desc": dataForWeixin.desc
});
setTimeout(function () {location.href = "http://app.46465.com/html5/zz/";}, 1500);
});
};
if(document.addEventListener){
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
}else if(document.attachEvent){
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
</script>
<link rel="apple-touch-startup-image" href="./library/iphonestartup.png">
<link rel="stylesheet" type="text/css" href="./Galactians 2_files/iphone.css" media="only screen and (max-width: 480px)">
<link rel="stylesheet" type="text/css" href="./Galactians 2_files/desktop.css" media="screen and (min-width: 481px)">
<link rel="apple-touch-icon" href="./library/appleicon.png">
<link href="./Galactians 2_files/css" rel="stylesheet" type="text/css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="explorer.css" media="all" />
<![endif]-->
<script type="text/javascript" async="" src="./Galactians 2_files/ga.js"></script><script type="application/x-javascript" src="./Galactians 2_files/aselect.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/jquery-1.6.2.min.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/library.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/textdata.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/classlib.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/resources.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/data.js"></script>
<script type="application/x-javascript" src="./Galactians 2_files/game.js"></script>
</head>
<body onLoad="init();" onkeydown="scanInput(event);" onkeyup="stopMove(event);">
<div id="container" style="background-image: url(./library/gamebackdrop.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; ">
<canvas width="320" height="480" class="canvas" style="background-image: none; background-color: transparent; "></canvas>
<div id="banad" style="display: block; "><iframe src="ad.htm" width="319" height="50" frameborder="0" scrolling="no">i</iframe></div>
<div id="console" style="display: none; text-align: left; "><br>15:27:59 > Data Sent Successfully !<br>15:27:57 > SENT score = 97230<br>15:27:57 > SENT ts = 51032<br>15:27:57 > SENT playerId = <br>15:27:57 > SENT gameId = <br>15:27:57 > SENT pass = 2a4e5174107a8c2c88d3da2fc8e08d1cc65aeb6735758cd9bf6186fccc9d4c60<br>15:27:57 > SENT user = mark<br>15:26:03 > No touch capability.<br>15:25:49 > = undefined<br>15:25:49 > OS: Windows<br>15:25:49 > Browser: Chrome 11<br>15:25:49 > Console ready.</div>
</div>
</body></html>