index.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. 
  2. <!DOCTYPE html>
  3. <html manifest="offline.appcache">
  4. <head>
  5. <meta charset="UTF-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <div id='wx_pic' style='margin:0 auto;display:none;'>
  8. <img src='photo.jpg' />
  9. </div>
  10. <title>圣诞节滑雪挑战,速度很快哦,一起来!</title>
  11. <meta name="keywords" content="滑雪挑战,滑雪挑战html5游戏" />
  12. <meta name="description" content="滑雪挑战html5游戏,滑雪挑战手机在线游戏" />
  13. <link rel="apple-touch-icon" href="icon.png" />
  14. <link rel="shortcut icon" href="icon.png" />
  15. <link rel="icon" href="icon.png" />
  16. <link rel="manifest" href="appmanifest.json" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" />
  18. <meta name="apple-mobile-web-app-capable" content="yes" />
  19. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  20. <meta name="HandheldFriendly" content="true" />
  21. <meta name="mobile-web-app-capable" content="yes" />
  22. <style type="text/css">
  23. * {
  24. padding: 0;
  25. margin: 0;
  26. }
  27. html, body {
  28. background: #000;
  29. color: #fff;
  30. overflow: hidden;
  31. touch-action: none;
  32. -ms-touch-action: none;
  33. }
  34. canvas {
  35. touch-action-delay: none;
  36. touch-action: none;
  37. -ms-touch-action: none;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42. <div id="fb-root"></div>
  43. <script>
  44. // Issue a warning if trying to preview an exported project on disk.
  45. (function(){
  46. // Check for running exported on file protocol
  47. if (window.location.protocol.substr(0, 4) === "file")
  48. {
  49. alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
  50. }
  51. })();
  52. </script>
  53. <div id="c2canvasdiv">
  54. <canvas id="c2canvas" width="590" height="1003">
  55. <h1>Your browser does not appear to support HTML5. Try upgrading your browser to the latest version. <a href="http://www.whatbrowser.org">What is a browser?</a>
  56. <br/><br/><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">Microsoft Internet Explorer</a><br/>
  57. <a href="http://www.mozilla.com/firefox/">Mozilla Firefox</a><br/>
  58. <a href="http://www.google.com/chrome/">Google Chrome</a><br/>
  59. <a href="http://www.apple.com/safari/download/">Apple Safari</a><br/>
  60. <a href="http://www.google.com/chromeframe">Google Chrome Frame for Internet Explorer</a><br/></h1>
  61. </canvas>
  62. </div>
  63. <script src="jquery-2.1.1.min.js"></script>
  64. <script src="c2runtime.js"></script>
  65. <script>
  66. // Size the canvas to fill the browser viewport.
  67. jQuery(window).resize(function() {
  68. cr_sizeCanvas(jQuery(window).width(), jQuery(window).height());
  69. });
  70. // Start the Construct 2 project running on window load.
  71. jQuery(document).ready(function ()
  72. {
  73. // Create new runtime using the c2canvas
  74. cr_createRuntime("c2canvas");
  75. });
  76. // Pause and resume on page becoming visible/invisible
  77. function onVisibilityChanged() {
  78. if (document.hidden || document.mozHidden || document.webkitHidden || document.msHidden)
  79. cr_setSuspended(true);
  80. else
  81. cr_setSuspended(false);
  82. };
  83. document.addEventListener("visibilitychange", onVisibilityChanged, false);
  84. document.addEventListener("mozvisibilitychange", onVisibilityChanged, false);
  85. document.addEventListener("webkitvisibilitychange", onVisibilityChanged, false);
  86. document.addEventListener("msvisibilitychange", onVisibilityChanged, false);
  87. if (navigator.serviceWorker && navigator.serviceWorker.register)
  88. {
  89. // Register an empty service worker to trigger web app install banners.
  90. navigator.serviceWorker.register("sw.js", { scope: "./" });
  91. }
  92. </script>
  93. <script src="../js/stat.js"></script>
  94. </body>
  95. </html>