Update public/index.html
Browse files- public/index.html +9 -1
public/index.html
CHANGED
|
@@ -10,6 +10,7 @@
|
|
| 10 |
#username-form { display: none; }
|
| 11 |
</style>
|
| 12 |
<style>* { font-family: arial; }</style>
|
|
|
|
| 13 |
<link rel="stylesheet" href="https://unpkg.com/7.css">
|
| 14 |
<meta property="og:title" content="HugVPS Chat" />
|
| 15 |
<meta property="og:description" content="HugVPS Chat is a chat platform like discord but with less features and you don't need a account. Privacy is important!" />
|
|
@@ -34,7 +35,14 @@
|
|
| 34 |
<ul id="messages"></ul>
|
| 35 |
<form id="form" action="" style="display: none;">
|
| 36 |
<input id="input" autocomplete="off" placeholder="Type your message..." />
|
| 37 |
-
<button>Send</button> <button
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
</form>
|
| 39 |
|
| 40 |
<script src="/socket.io/socket.io.js"></script>
|
|
|
|
| 10 |
#username-form { display: none; }
|
| 11 |
</style>
|
| 12 |
<style>* { font-family: arial; }</style>
|
| 13 |
+
<script src="https://unpkg.com/@phuocng/fake-numbers@1.0.0/umd/fake-numbers.min.js"></script>
|
| 14 |
<link rel="stylesheet" href="https://unpkg.com/7.css">
|
| 15 |
<meta property="og:title" content="HugVPS Chat" />
|
| 16 |
<meta property="og:description" content="HugVPS Chat is a chat platform like discord but with less features and you don't need a account. Privacy is important!" />
|
|
|
|
| 35 |
<ul id="messages"></ul>
|
| 36 |
<form id="form" action="" style="display: none;">
|
| 37 |
<input id="input" autocomplete="off" placeholder="Type your message..." />
|
| 38 |
+
<button>Send</button> <button id="generateButton">Generate Fake Credit Card Number</button>
|
| 39 |
+
|
| 40 |
+
<script>
|
| 41 |
+
document.getElementById('generateButton').addEventListener('click', function() {
|
| 42 |
+
const creditCardNumber = FakeNumbers.creditCard.fake();
|
| 43 |
+
alert(creditCardNumber); // Outputs the generated credit card number to the console
|
| 44 |
+
});
|
| 45 |
+
</script> <button onclick="" disabled>Restart server</button>
|
| 46 |
</form>
|
| 47 |
|
| 48 |
<script src="/socket.io/socket.io.js"></script>
|