WebSockets
WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user’s browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
As you might know, WebSocket is disabled in Firefox due to security issues (This was fixed in Firefox 6+ by implementing a newer version of the protocol that corrects the problem.) while it’s being supported in Chrome and Safari. However, you can still enable WebSocket in Firefox by opening
about:config
and setting the network.websocket.enabled
preferences to
true
That’s it, Enjoy
Refrence: https://developer.mozilla.org/en-US/docs/WebSockets