HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript. UPDATE: Mastering the new Spec-76 WebSockets handshake with PHP. Websockets works already in the latest Webkit-browsers like Safari 5 and Chrome 5. Firefox 4 Beta 1 knows the Websocket-Object but it can’t open the connection :( My Websocket test script [...]