index.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Cocos Creator | CloudExhibition</title>
  6. <!--http://www.html5rocks.com/en/mobile/mobifying/-->
  7. <meta name="viewport"
  8. content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
  9. <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
  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 name="format-detection" content="telephone=no">
  13. <!-- force webkit on 360 -->
  14. <meta name="renderer" content="webkit"/>
  15. <meta name="force-rendering" content="webkit"/>
  16. <!-- force edge on IE -->
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  18. <meta name="msapplication-tap-highlight" content="no">
  19. <meta http-equiv="X-Content-Type-Options" content="nosniff">
  20. <meta http-equiv="Content-Security-Policy" content="script-src 'self'; object-src 'none'; style-src cdn.example.org third-party.org; child-src https:">
  21. <!-- force full screen on some browser -->
  22. <meta name="full-screen" content="yes"/>
  23. <meta name="x5-fullscreen" content="true"/>
  24. <meta name="360-fullscreen" content="true"/>
  25. <!-- force screen orientation on some browser -->
  26. <meta name="screen-orientation" content="auto"/>
  27. <meta name="x5-orientation" content="auto">
  28. <!--fix fireball/issues/3568 -->
  29. <!--<meta name="browsermode" content="application">-->
  30. <meta name="x5-page-mode" content="app">
  31. <!--<link rel="apple-touch-icon" href=".png" />-->
  32. <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
  33. <link rel="stylesheet" type="text/css" href="style.css"/>
  34. <script>
  35. var _hmt = _hmt || [];
  36. (function() {
  37. var hm = document.createElement("script");
  38. hm.src = "https://hm.baidu.com/hm.js?a1af463bc2692b6861ac40d2e024b07d";
  39. var s = document.getElementsByTagName("script")[0];
  40. s.parentNode.insertBefore(hm, s);
  41. })();
  42. </script>
  43. </head>
  44. <body>
  45. <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
  46. <!-- Polyfills bundle. -->
  47. <script src="src/polyfills.bundle.js" charset="utf-8"> </script>
  48. <!-- SystemJS support. -->
  49. <script src="src/system.bundle.js" charset="utf-8"> </script>
  50. <!-- Import map -->
  51. <script src="src/import-map.json" type="systemjs-importmap" charset="utf-8"> </script>
  52. <script>
  53. System.import('./index.js').catch(function(err) { console.error(err); })
  54. </script>
  55. </body>
  56. </html>