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

233
Vistas
Chrome Extensions - How can I keep a log of events that happened either on a content script or background script?

I basically want to keep a log of the date and time when something happens. That event can happen either on a content or background script, it doesn't matter, because I can change it if it's easier on one or the other.

If I use console.log, the logs are lost if the browser is closed.

I thought about creating an extra html file in my extension and to write the logs there, but I don't know how to do it.

Any advice? How do I write into that html file from the content or background script? I think I don't know some fundamental stuff that prevents me from doing it, or I may be approaching this in the wrong way...

Thanks in advance.

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