I would like the live chat button to refresh on the client browser every 30 seconds or so, to truly reflect whether a live chat is actually possible or not, without the client having to do a page refresh. We have the button on a web page with a video application and do not want to disturb the video viewing for updating the button state.
What is the easiest way to accomplish this, with as little performance penalty as possible?
Any input is highly appreciated. Thank you!