4 ms·
You can see a sample in action here [1]. The page should list every single person in the world (whose browser supports websockets) who is currently on that page
by shurcooL 13y ago
You can see a sample in action here [1]. The page should list every single person in the world (whose browser supports websockets) who is currently on that page. You can open multiple tabs and see that whenever you close/navigate away, your corresponding entry will disappear.
[1] https://dl.dropboxusercontent.com/u/8554242/live-status.html https://dl.dropboxusercontent.com/u/8554242/live-status.html
- daemon13 13y agoError: TypeError: sock is undefined Ubuntu, Firefox 20.0
- shurcooL 13y agoI just debugged this. The issue is that Firefox doesn't allow insecure websocket connections from https. So either change the url to http://dl.dropboxusercontent.com/u/8554242/live-status.html http://dl.dropboxusercontent.com/u/8554242/live-status.html or override the network.websocket.allowInsecureFromHTTPS setting in about:config to true.