Re:Master of web puppets: abusing web browsers for persisten...
by zimbatm on Saturday April 13, 2019 @10:58AM
(#19653350)
Service workers are a terrible mis-feature. Ask anybody and they won't know that things can keep running in the background when tabs are closed. Even most developers don't know about it.
[ Parent
| on HN ]
Re:Master of web puppets: abusing web browsers for persisten...
by duxup on Saturday April 13, 2019 @01:52PM
(#19654571)
Except when anybody wants something to keep running in the background, then those "anybody" are dismayed it doesn't do that.
Re:Master of web puppets: abusing web browsers for persisten...
by kylek on Saturday April 13, 2019 @11:45AM
(#19653646)
I just checked my about:config (icecat) and see-
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).
Re:Master of web puppets: abusing web browsers for persisten...
by SquareWheel on Saturday April 13, 2019 @01:58PM
(#19654606)
That's great until you click "Send email" and close the tab. Then you expect things to continue to work.
Re:Master of web puppets: abusing web browsers for persisten...
by cpeterso on Saturday April 13, 2019 @02:14PM
(#19654709)
The page could use an onunload handler to ask the user if they really want to close the tab before the email has been sent.
Re:Master of web puppets: abusing web browsers for persisten...
by SquareWheel on Saturday April 13, 2019 @08:05PM
(#19656615)
That's what happens now, but it's really not great UX.
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.