Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

157
Vistas
How to stop (not unregister) a running service worker like in chrome dev tools

In google dev tools -> Application -> Service Workers there is an option to unregister a service worker. If you do this the status of this service worker will also change to stopped.

When I unregister the service worker programmatically from the console with something like await (await navigator.serviceWorker.getRegistrations())[0].unregister() I get a true from the promise, so the service worker was unregistered. But the status in dev tools does not change into stopped. How can I programmatically stop the service worker like the dev tools are doing it when clicking Unregister or stop.

The service worker I am working with is created with create-reac-app / workbox. Find a basic example here: https://pwa-cra.vercel.app/

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda