Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

260
Visualizações
How can I tell what initiated a page refresh?

I have a webapp that makes use of websocket (io) to communicate with the backend. (It uses Underscore and JQuery, but nothing fancier like React.) In Safari, every few minutes the page refreshes.

How can I tell what made that happen? In the Developer Tools Network tab I see an xhr and other requests, but how do I see what line of Javascript initiated that?

enter image description here

Stopping on the beforeunload event in the debugger does not show anything in the call stack.enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There is a column initiator in the Network tab. You can see what initiates the network.

note: Chrome Version 92.0.4515.159 (Official Build) (64-bit)

enter image description here

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda