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

140
Vistas
Disable Page Visibility API in Chrome extension for Facebook

I am writting an extension which collecting some information on a facebook page (don't use GraphAPI because of some reasons). As far as I known, the facebook page load is lazy loading, therefore I needs to scroll down to force the page loading more data. However the page load only if I active the tab, if I switch to other tabs, the page doesn't load and the extension is stuck.

I have researched on stackoverflow and google and it seems it is using page visibility API to stopping the loading. I have tried the solution in the following link but it doesn't work for facebook Chrome Extension: How to Disable Page Visibility API

for (event_name of ["visibilitychange", "webkitvisibilitychange", "blur"]) {
window.addEventListener(event_name, function(event) {
    event.stopImmediatePropagation();
}, true);

Is there any way to disable the page visibility api on facebook? Thanks in advance.

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