index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <html>
  19. <head>
  20. <!--
  21. Customize this policy to fit your own app's needs. For more guidance, see:
  22. https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
  23. Some notes:
  24. * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
  25. * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
  26. * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
  27. * Enable inline JS: add 'unsafe-inline' to default-src
  28. -->
  29. <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
  30. <meta name="format-detection" content="telephone=no">
  31. <meta name="msapplication-tap-highlight" content="no">
  32. <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
  33. <link rel="stylesheet" type="text/css" href="css/index.css">
  34. <title>Hello World</title>
  35. </head>
  36. <body>
  37. <div class="app">
  38. <h1>Apache Cordova</h1>
  39. <div id="deviceready" class="blink">
  40. <p class="event listening">Connecting to Device</p>
  41. <p class="event received">Device is Ready</p>
  42. </div>
  43. </div>
  44. <script type="text/javascript" src="cordova.js"></script>
  45. <script type="text/javascript" src="js/index.js"></script>
  46. </body>
  47. </html>