Chrome and Firefox provide users with options to manage registered Service Workers in the browser, including options to remove Service Workers from the browser.
Service Workers are an up and coming feature supported by most modern browsers that enable sites and services to interact with the browser without having to be open in it.
Web browsers are not designed currently to prompt users all the time when Service Workers are registered in the browser. This happens as a background process most of the time currently.
The Service Worker is registered either automatically, or after the user accepts a prompt. Pinterest is a website that registers one automatically when the site is visited in Chrome or Firefox.
This is not made clear to the user as it happens in the background.
Chrome and Firefox offer no clear information on how to manage Service Workers that were added to the browser previously. While capabilities exist, they are more or less hidden from users at this point in time which is problematic if previously registered workers need to be removed from the browser.
This guide provides you with the means to manage workers in Firefox and Chrome.
Firefox users can manage all registered Service Workers in the browser in the following way:
Disable Service Workers in Mozilla Firefox
Firefox users can disable Service Workers in the browser in the following way (via our extensive list of Firefox privacy and security settings guide):
To undo the change, repeat the process but make sure that the value of the preference is set to true when you are done.
Disable Service Workers in Google Chrome
There does not seem to be a way currently to disable the feature in the Chrome browser. Leave a comment below if you have found a way, and I'll update the article asap.
The following resources offer additional -- usually focused on development -- resources.
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.