index.html 900 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  7. <title>hotspot</title>
  8. </head>
  9. <body>
  10. <noscript>
  11. <strong>We're sorry but hotspot doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  12. </noscript>
  13. <div id="app"></div>
  14. <script type="module" src="./src/main.js"></script>
  15. <!-- built files will be auto injected -->
  16. </body>
  17. <script type="text/javascript">
  18. document.oncontextmenu = function () {
  19. return false;
  20. };
  21. document.onkeydown = function () {
  22. if (window.event && window.event.keyCode === 123) {
  23. event.keyCode = 0;
  24. event.returnValue = false;
  25. return false;
  26. }
  27. };
  28. </script>
  29. </html>