48 points · by feross · 7y ago · 9 comments
dom.serviceWorkers.enabled = false
Is this the only thing that needs to be checked to turn them off? (And, curious, is this enabled in newer FF ESR versions?)
I don't feel like I'm missing out on anything considering it was already disabled in this version (without me knowing about it).
Typically by the time the user reads the modal dialogue telling them not to close the window, the email will be sent. The page then needs to make clear "hey that thing we just said? You can ignore it now".
I appreciate the suggestion, but it's just a very confusing and disruptive approach to solving the problem.
The article says: "This page installs a service worker (the Servant) when loaded in the browser, and uses background sync registrations to keep the Servant always alive."
Without periodicSync is this a realistic scenario?
That's the only legitimate use I know for a service worker to be alive after the tab is closed.