Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manage service workers in chrome?

In Mozila, we can view service workers by about:serviceworkers. Is there any option in chrome to manage/delete service workers?

I have a worker in google chrome background displaying unwanted browser push notifications?

like image 885
Krish Nakum R Avatar asked Oct 14 '16 10:10

Krish Nakum R


People also ask

How do I remove all service workers from Chrome?

For Google Chrome users:Go to Developer Tools (ctrl shift i/cmd opt i) or right-click on any page element, then click Inspect. Go to the Application tab and then click on service workers in the left bar. It will list all the registered service workers. Click on unregister to disable that particular service worker.

Can I delete Chrome service worker cache?

Open the 'Application' tab and the 'Storage' item. Here, you'll see how much storage your service worker occupies, and you can select which data to clear for that website, for example retaining only the cookies. Note that the service worker will restart as soon as you navigate to that site again.

What are service workers in Chrome?

Service workers are specialized JavaScript assets that act as proxies between web browsers and web servers. They aim to improve reliability by providing offline access, as well as boost page performance.

Can I delete Google service worker?

In Google Chrome, you can go to Developer tools (F12) -> Application -> Service worker and unregister the service workers from the list for that specific domain.


1 Answers

The Application tab of Chrome's DevTools provides has "Service Worker" panel, and using that, you can manually uninstall unwanted ones. (By default it will only show service workers that are currently in scope, but if you check the "Show all" box, you'll see all of them.)

Older versions of Chrome only supported chrome://serviceworker-internals/, which is still around and can be used for the same purpose, but you'll probably find the DevTools interface friendlier.

like image 62
Jeff Posnick Avatar answered Sep 19 '22 17:09

Jeff Posnick