-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#208
c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/ghacksuserjs/ghacks-user.js/blob/master/user.js it reads
there is also the pref
user_pref("dom.workers.enabled", false);
What is the benefit of disabling ServiceWorkers? (push notifications are already disabled)
Edit: there is also
// user_pref("dom.workers.sharedWorkers.enabled", false);
which is commented out in the ghacks user.js - though the warning is scary:Should we set
user_pref("dom.workers.sharedWorkers.enabled", false)
?c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When testing with
about:serviceworkers
(and for instance https://web.whatsapp.com/) this setting seemed to do the trick. It is not just the push notifications, this can be used for other things also.c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But does disabling it provide additional security?
c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this goes to the "better safe than sorry" bin of things. These service workers actually sound quite scary (as it's code running in the background and apparently not tied into any tab/open website) and in "normal browsers" they seem to stick around across sessions etc.
But honestly I don't know what's the true potential/implication of this technology.
c65632f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll document past known problems with ServiceWorkers: see #217