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

95
Views
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
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!