if(typeof(EventSource)!=="undefined") { // Yes! Server-sent events support! // Some code..... } else { // Sorry! No server-sent events support.. } http://caniuse.com/eventsource http://blog.samshull.com/2010/10/ajax-push-in-ios-safari-and-chrome-with.html http://www.tutorialspoint.com/html5/html5_server_sent_events.htm http://axul.net/ws/ http://weblog.bocoup.com/javascript-eventsource-now-available-in-firefox/ (emulated) http://sapid.sourceforge.net/ssetest/ http://dsheiko.com/weblog/html5-and-server-sent-events/ ! http://www.html5rocks.com/en/tutorials/eventsource/basics/ http://dsheiko.com/weblog/websockets-vs-sse-vs-long-polling/ http://dsheiko.com/weblog/real-time-web-application-architecture/ http://html5doctor.com/methods-of-communication/ CORS (miblo) http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/