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

87
Vistas
How to keep the Service worker alive in chrome extension

I need to keep my extension's background.js to be alive infinitely until the browser is closed. Since I migrated to manifest v3, the background.js is a Service worker and after some time the background.js becomes inactive. I have a initialBackgroundProcess function which actually runs only once the browser is opened and it fetches some information and keep it there. Since my background.js becomes inactive, I am now initiating this initial process everytime the extension is rendered, hence making my extension run kinda slower. Can anyone suggest me a method to keep my background.js run infinitely until browser is closed, without it going to inactive?

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