2 ms·
But in either case the browser has to be running I’m assuming? Seems kinda flawed.
by matt-attack 9y ago
But in either case the browser has to be running I’m assuming? Seems kinda flawed.
- spoiler 9y agoJS service workers allow a JavaScript thread to run in the background while the browser chrome (the window) is closed. So, in theory, the browser doesn't need to be open. Also, notifications can be useful with an open browser too (or, multiple tabs with a tab in the background for example)
- rowyourboat 9y agoThat depends on the browser implementation. The protocol does not require the user to have the site open.