An article about Service Workers
Just like Shared Workers, a Service Worker runs in the background, but it can even run when your website is not actually open.
Daemons via http? Interesting.
Looks like requests are locked down to the origin (mostly... "importScripts()" & maybe CORS?). But other than that could be good for background update/notification checks, etc.