News for hackers. Stuff that matters.
Re:Closing web browser windows doesn't close connections by feross on Tuesday March 23, 2021 @10:35PM (#26562912)
Wait until Jeff hears about Service Workers. :)
Re:Closing web browser windows doesn't close connections by ad404b8a372f2b9 on Wednesday March 24, 2021 @08:13AM (#26566158)
I hadn't heard of Service workers until now. I'm fairly privacy conscious and it's become such a hassle trying to keep up with these measures. It seems every other month there is a new feature I need to know to disable in Firefox. I'm so tired of it. How does one keep track of all this without having to be a professional web dev?
Re:Closing web browser windows doesn't close connections by stjohnswarts on Wednesday March 24, 2021 @12:09PM (#26569085)
I would suspect you'd have to keep up with the browser developer's pages as well as several security blogs. AKA just about impossible.
Re:Closing web browser windows doesn't close connections by pixl97 on Wednesday March 24, 2021 @11:00AM (#26568069)
>How does one keep track of all this without having to be a professional web dev?

I've got some bad news here.

Re:Closing web browser windows doesn't close connections by jeffmcmahan on Tuesday March 23, 2021 @10:55PM (#26563057)
That was my immediate impression as to what was going on. This guy doesn't know about service workers...
Re:Closing web browser windows doesn't close connections by boring_twenties on Wednesday March 24, 2021 @02:08AM (#26564081)
For the uninitiated:

1) uMatrix can block these.

2) about:serviceworkers lets you manage/remove individual ones.

3) about:config key dom.serviceWorkers.enabled lets you disable the whole thing altogether.

edit: fixed #3

Re:Closing web browser windows doesn't close connections by peppermint_tea on Wednesday March 24, 2021 @08:00AM (#26566040)
thank you, I learned about service worker lately while doing some web development(not my usual cup of tea) and I backed off and used a rss feed instead because I found modern web too intrusive/google centric. Just disabled service worker in my firefox (+no script)
Re:Closing web browser windows doesn't close connections by KingOfCoders on Wednesday March 24, 2021 @03:09AM (#26564347)
Thanks for "about:serviceworkers", found around 30.
Re:Closing web browser windows doesn't close connections by zests on Tuesday March 23, 2021 @11:16PM (#26563177)
What's the deal with service workers? I read up on them and do not see how they keep connections open when the page is closed.
Re:Closing web browser windows doesn't close connections by Arnavion on Tuesday March 23, 2021 @11:29PM (#26563250)
Service workers run in the background independent of any website pages open.
Re:Closing web browser windows doesn't close connections by StavrosK on Wednesday March 24, 2021 @03:57AM (#26564591)
So your computer can get slower without the hassle of you having to actually install anything!
Re:Closing web browser windows doesn't close connections by fuzzy2 on Wednesday March 24, 2021 @08:21AM (#26566220)
They do not, though. Chrome terminates any idle (or too-busy) service workers after some time.
Re:Closing web browser windows doesn't close connections by rasz on Wednesday March 24, 2021 @11:05AM (#26568132)
ublock can inject this to every opened page before js starts running

    delete Object.getPrototypeOf(window.navigator).serviceWorker
    delete window.ServiceWorker
    delete window.ServiceWorkerRegistration
    delete window.ServiceWorkerContainer