Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

227
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda