See https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker It looks like it might be able to remain running in the background. However its existance depends on a page keeping a ref to it, so not sure. - [ ] run some tests with a server side event to see if it keeps working with a shared worker when the browser is hidden - [ ] Implement if it works