Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!