You got my hopes up, thinking you’d discovered some esoteric way of overloading the console to behave as a chat box itself. Manually calling a global function from the console and having messages logged to it… I guess it is clever, but I hate to admit it’s a bit of a letdown.
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
Hey it’s Dalton Edwards the creator of Console.Chat! To whoever shared my project - thank you! And to everybody enjoying it - thank you!! I know it’s silly and could be improved upon (that’s why it’s open source)! I code silly stuff like this all the time just to experiment.
Anybody claiming to be me (Dalton) or an admin/moderator is lying. Anybody can set their username to anything and I advise everybody to exercise caution as impersonation is very easy. Thanks
Reminds me of hackmud, which is annoying as hell because you gotta use programming language styled commands to do anything, instead of a more shell friendly typing language... This isn't as annoying as Hackmud at least, since it's just username("") and send("") you use to talk / set your username.
Does anyone know if you can exploit the CodeMirror instance that's installed with every download of the Chrome browser? Fun fact: you can inspect the web inspector if you have it in a separate window to confirm that it does indeed use CodeMirror. Very meta.
Oefh, this apparently doesn't page the messages, and instead loads all of them for the given domain at once at an interval—over and over again. Besides that, cool!
Yeah it’s not really possible for it to work without calling functions, as that’s how the developer console functions. Thanks for the feedback! I coded this ages ago and was surprised to see it on Hacker News!
[+] [-] aur09|6 years ago|reply
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
[+] [-] 1mbsite|6 years ago|reply
[+] [-] freakynit|6 years ago|reply
[+] [-] jamestimmins|6 years ago|reply
[+] [-] VvR-Ox|6 years ago|reply
[+] [-] mhh__|6 years ago|reply
[+] [-] ed|6 years ago|reply
[+] [-] 1mbsite|6 years ago|reply
[+] [-] skunkworker|6 years ago|reply
[+] [-] giancarlostoro|6 years ago|reply
[+] [-] _fbpt|6 years ago|reply
Firefox: Uncaught SyntaxError: Invalid or unexpected token
Chrome: Uncaught SyntaxError: Invalid or unexpected token
[+] [-] D_B_Koopa|6 years ago|reply
[+] [-] bhl|6 years ago|reply
[+] [-] nanomonkey|6 years ago|reply
[+] [-] MrStonedOne|6 years ago|reply
Swearword filtering removed.
[+] [-] grenoire|6 years ago|reply
[+] [-] shkkmo|6 years ago|reply
https://github.com/DaltonWebDev/console.chat/blob/master/api...
[+] [-] freakynit|6 years ago|reply
Nonetheless, this is a good idea and the first version works! That matters :)
[+] [-] 1mbsite|6 years ago|reply
[+] [-] duiker101|6 years ago|reply
[+] [-] zamadatix|6 years ago|reply
[+] [-] godelski|6 years ago|reply
[+] [-] theemathas|6 years ago|reply
[+] [-] parksy|6 years ago|reply
[+] [-] t0astbread|6 years ago|reply
[+] [-] arkitaip|6 years ago|reply
[+] [-] jesuisuncaillou|6 years ago|reply
[+] [-] NilsIRL|6 years ago|reply
[+] [-] unknown|6 years ago|reply
[deleted]
[+] [-] phinnaeus|6 years ago|reply
[+] [-] Waterluvian|6 years ago|reply
I think it's also an attempt at early web nostalgia.
[+] [-] sergiomattei|6 years ago|reply
It's a cool toy project people can play with. I'm surprised nobody ever did it before. It's so clever.
[+] [-] mhh__|6 years ago|reply
[+] [-] GeneticGenesis|6 years ago|reply
[deleted]