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

317
Visualizações
Not allowed to load local resource: blob://http:/localhost:3000/ in iframe

I need download file from server with token and show in iframe.

I used request with responseType: 'text'.So i can edit text and use a later.

I added in head block. It's need for resources (.js .css .html .img)...

I did:

const blob = new Blob([textHtml], { type: 'text/html' });
const url = URL.createObjectURL(blob);
...

I have 4 versions of SCORM file. Once version don't working. I don't know why.

I think: because duplicate resources (script, link) in head with the wrong link.

<head>
...
<link type="text/css" href="blob://http:/localhost:3000/html5/lib/stylesheets/desktop.min.css" rel="stylesheet" data-noprefix="true">
<script src="blob://http:/localhost:3000/html5/lib/scripts/frame.desktop.min.js"></script>
</head>

errors:

Not allowed to load local resource: blob://http:/localhost:3000/html5/lib/stylesheets/desktop.min.css

Not allowed to load local resource: blob://http:/localhost:3000/html5/lib/scripts/frame.desktop.min.js

in response file (text):

<html>
...
<body>  
...
  <link rel="stylesheet" href="html5/data/css/output.min.css" data-noprefix />
</body>
<script src="html5/lib/scripts/bootstrapper.min.js"></script>
</html>

I'm waiting: script loaded with baseUrl /html5/lib/scripts/bootstrapper.min.js

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