A chat room inside the browser console
console.chat
console.chat
Also, long polling when websockets exist? Reeeeeeeeeeeeee
Edit: It’s even worse than that! You pull in the entire chat history every 5 seconds! Reminder to everyone on limited bandwidth not to leave this open lol
Firefox: Uncaught SyntaxError: Invalid or unexpected token
Chrome: Uncaught SyntaxError: Invalid or unexpected token
Swearword filtering removed.
https://github.com/DaltonWebDev/console.chat/blob/master/api...
Nonetheless, this is a good idea and the first version works! That matters :)
I think it's also an attempt at early web nostalgia.
It's a cool toy project people can play with. I'm surprised nobody ever did it before. It's so clever.
For example, while playing Airmash (an web game posted here around Dec 2017, now dead but another implementation still exists in starma.sh ), some of us were using a private chat (it used websocket though)... and this chat could be loaded and used via the console from any site....