Spaces:
Runtime error
Runtime error
Download index.html from lasource87/bot: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/spaces/lasource87/bot/resolve/main/index.html
- Command line
-
hf download hf://spaces/lasource87/bot/index.html
-
curl -L -o index.html https://huggingface.co/spaces/lasource87/bot/resolve/main/index.html
1.01 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Mini App</title> | |
| <script src="https://telegram.org/js/telegram-web-app.js"></script> | |
| <script> | |
| // Anti-inspection and Right-click protection | |
| document.addEventListener('contextmenu', event => event.preventDefault()); | |
| document.onkeydown = function(e) { | |
| if(e.keyCode == 123) return false; // F12 | |
| if(e.ctrlKey && e.shiftKey && e.keyCode == 'I'.charCodeAt(0)) return false; // Ctrl+Shift+I | |
| if(e.ctrlKey && e.shiftKey && e.keyCode == 'C'.charCodeAt(0)) return false; // Ctrl+Shift+C | |
| if(e.ctrlKey && e.shiftKey && e.keyCode == 'J'.charCodeAt(0)) return false; // Ctrl+Shift+J | |
| if(e.ctrlKey && e.keyCode == 'U'.charCodeAt(0)) return false; // Ctrl+U | |
| }; | |
| </script> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script type="module" src="/src/main.tsx"></script> | |
| </body> | |
| </html> | |