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

185
Vistas
What is the best way to setTimeout to get and post request with puppeteer in chrome extension

I create a chrome extension and using react and TS. I want to create a function that will do a get request for the first time. and after that I want to do GET request with function that I create with Puppeteer.

The first the user Install the extension I am using the function here:

chrome.runtime.onInstalled.addListener(function (details) {
  if (details.reason == "install") {
    console.log("on installed!");
  } 
});

But, I want to know how I am doing a GET request on the background for each X hours? Do I need to use SetInterval? Where is the right place to put it? Thank you!

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