Wow. It was working great at the start before people started spamming nsfw content and injecting html and css into the page. Will be taking down the site in the morning and working on version 2. I guess from this I can say there’s some demand?
const chatMessage = document.createElement("div");
chatMessage.classList.add("chat-message");
chatMessage.innerHTML = `<span class="username" style="color: ${color};">${username}:</span> `;
const userMessage = document.createElement('span');
span.innerText = message;
chatMessage.appendChild(userMessage);
chatContainer.appendChild(chatMessage);
chatContainer.scrollTop = chatContainer.scrollHeight;You really think some rando that spins up a web server is significantly more trustworthy that a rando in a chat channel? Of course not, they're the same people.