3 ms·
There are use cases such as a webmail client still fetching messages so it can notify (e.g. via browser tab icons), or so that a collaborative editor keeps up w
by advisedwang 10y ago
There are use cases such as a webmail client still fetching messages so it can notify (e.g. via browser tab icons), or so that a collaborative editor keeps up with changes.
Even consider the typical hackernews demo of a javascript genetic algorithm: you probably want to be able to leave it to run for a while while you do other things without being required to keep the tab visible.
- r00fus 10y agoSo let the user promote these with pinned tabs. I think that's a reasonable compromise.
- chongli 10y agoBrowsers have notification APIs now, from what I've seen. No need to run a full background tab just to handle the occasional notification.
- apetresc 10y agoThose notification APIs still get triggered by Javascript running in those tabs. As far as I know, there's no equivalent to the mobile notification APIs where there's a single dedicated socket listening to a central server.