I am now hacking wasteof’s socket.io. Already found 1 bug
jeffalo has a redirect button which can send all online users to a new url. he’s used it several times.
Here’s the client side code:
o.on("redirect", (function(t) {
window.location.href = t
})),
(pretty simple)
How it works: when online, all browser tabs connect to a socket.io server. this is how you get real-time stuff like live messages count. It sends a message telling everyone’s browser to redirect. This is the most genius use of socket.io I’ve ever heard
jeffalo has a redirect button which can send all online users to a new url. he’s used it several times.
Here’s the client side code:
o.on("redirect", (function(t) {
window.location.href = t
})),
(pretty simple)
How it works: when online, all browser tabs connect to a socket.io server. this is how you get real-time stuff like live messages count. It sends a message telling everyone’s browser to redirect. This is the most genius use of socket.io I’ve ever heard
Tesla sells 4 cars: model s, model 3, model x, and model y. Think about their names.
Lol how are people who joined *after* i made that post (which was partially a joke btw) still using the hashtag