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

358
Vistas
how to stop chrome.history.search() error?

I made a program that is supposed to tell you your entire search history, but it returns an error.

function onGot(historyItems) {
  for (item of historyItems) {
    window.alert(item.url);
    
  }
}

var searching = chrome.history.search({
   text: "",
   startTime:0
});

searching.then(onGot);

That was my js

I get an error that says

ERROR: {TypeError: "Cannot read properties of undefined (reading 'search')"}

I don't know what is wrong in my code, and I've tested it on chrome on windows and IOS, both return this error. What can I do to stop this error from occurring? (Made with HTML, js, and CSS project)

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