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

193
Visualizações
Is it possible to access a (console) logged object after iFrame has been closed?

When I console.log() a JSON object from a NodeJS app that runs in an iFrame, I can expand/browse the object only as long as the iFrame is open. However, when I log an object and close the iFrame, it is not possible to expand the object anymore. This happens because console.log() is a reference to the original object, and the object does not exist after closing the iFrame.

Does anyone know whether it it possible to allow the object to persist in the dev-tools, even after closing the iFrame?

I am aware that I can log the object using JSON.stringify(obj), but then I lose the option to browse through the object in the dev-tools.

I use FireFox Developer Edition 94.0.

about 4 years ago · Juan Pablo Isaza
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