index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>一笔画 </title>
  5. <link rel="stylesheet" href="static/add2home.css" />
  6. <script type="text/javascript">var addToHomeConfig = {touchIcon:true};</script>
  7. <script type="text/javascript" src="static/add2home2.js"></script>
  8. <meta charset="utf-8" />
  9. <meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,target-densitydpi=device-dpi"/>
  10. <meta name="apple-mobile-web-app-capable" content="yes" />
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  12. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
  13. <meta name="description" content="一笔画 Pathuku 手机游戏,免下载,即点即玩。安卓手机游戏,苹果手机小游戏" />
  14. <meta name="keywords" content=""/>
  15. <script type="text/javascript" src="main.js?4"></script>
  16. <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
  17. <script type="text/javascript">
  18. (function() {
  19. //override main
  20. var fnload=window.onload;
  21. window.onload=function() {
  22. var pathukuSettings={
  23. comp: 0,
  24. dp: 'mb',
  25. handle: {}
  26. };
  27. fnload(pathukuSettings);
  28. var dvAdd=document.getElementById('adds');
  29. pathukuSettings.handle.g.ds=function() {
  30. pathukuSettings.comp++;
  31. if(pathukuSettings.comp>3) {
  32. this.u3();
  33. document.location.href=document.location.href+'';
  34. return false;
  35. }
  36. return true;
  37. };
  38. pathukuSettings.handle.g.de=function(bShowAdds) {
  39. //.da
  40. //alert('bShowAdds'+bShowAdds);
  41. if(bShowAdds) {
  42. dvAdd.style.display='block';
  43. } else {
  44. dvAdd.style.display='none';
  45. if(Math.random()>0.5) {
  46. pathukuSettings.handle.g.Y4.da=25;
  47. dvAdd.style.top=pathukuSettings.handle.ut+'px';
  48. } else {
  49. pathukuSettings.handle.g.Y4.da= -25;
  50. dvAdd.style.top=(window.innerHeight-50)+'px';
  51. }
  52. }
  53. };
  54. pathukuSettings.handle.g.Y4.da= -25;
  55. dvAdd.style.top=(window.innerHeight-50)+'px';
  56. //pathukuSettings.handle.g.du(99999);
  57. }
  58. })();
  59. var _gaq = _gaq || [];
  60. _gaq.push(['_setAccount', 'UA-7161351-8']);
  61. _gaq.push(['_trackPageview']);
  62. (function() {
  63. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  64. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  65. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  66. })();
  67. window.shareData = {
  68. "imgUrl": "http://game.ikongzhong.cn/games/yibihua/460.jpg",
  69. "timeLineLink": "http://game.ikongzhong.cn/games/yibihua/index.html",
  70. "tTitle": "一笔画,一款简单又考验平面逻辑思维的游戏!",
  71. "tContent": "一款简单又考验平面逻辑思维的游戏,操作简单,不过画的时候要一笔呵成。"
  72. };
  73. var mebtnopenurl = 'http://mp.weixin.qq.com/s?__biz=MzI4MjA2MjE0MQ==&mid=246005295&idx=1&sn=490f8141976d607ba079d48f52a3fcd7#rd';
  74. document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
  75. WeixinJSBridge.on('menu:share:appmessage', function(argv) {
  76. WeixinJSBridge.invoke('sendAppMessage', {
  77. "img_url": window.shareData.imgUrl,
  78. "link": window.shareData.timeLineLink,
  79. "desc": window.shareData.tContent,
  80. "title": window.shareData.tTitle
  81. }, function(res) {
  82. document.location.href = mebtnopenurl;
  83. })
  84. });
  85. WeixinJSBridge.on('menu:share:timeline', function(argv) {
  86. WeixinJSBridge.invoke('shareTimeline', {
  87. "img_url": window.shareData.imgUrl,
  88. "img_width": "640",
  89. "img_height": "640",
  90. "link": window.shareData.timeLineLink,
  91. "desc": window.shareData.tContent,
  92. "title": window.shareData.tTitle
  93. }, function(res) {
  94. document.location.href = mebtnopenurl;
  95. });
  96. });
  97. WeixinJSBridge.on('menu:share:weibo', function(argv) {
  98. WeixinJSBridge.invoke('shareWeibo', {
  99. "content": window.shareData.tContent,
  100. "url": window.shareData.timeLineLink
  101. }, function(res) {
  102. document.location.href = mebtnopenurl;
  103. });
  104. });
  105. }, false);
  106. </script>
  107. <link type="text/css" rel="StyleSheet" href="style.css" />
  108. <img src="http://img.tongji.linezing.com/3455448/tongji.gif">
  109. </head>
  110. <body scroll="no">
  111. <div id="content" class="clsConatiner">
  112. </div>
  113. <div id="adds" class="clsAdd" style="background-color:#080808;position:absolute;width:100%;z-index:234;display:none;">
  114. </div>
  115. </body>
  116. </html>