Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

41
Vistas
Adding a script before the closing body tag without access

I am using a third party tool to create an app, although I have access to the head section, I don't have access to the closing body tag.

I need to add a script to the closing body tag, is there a way to do this using javascript for instance.

I tried using

<script src="demo_defer.js" defer></script>

But that doesn't work.

7 months ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

There are 2 things that you can do: -

  1. First of all, check whether you have added the correct path to the 'demo_defer.js' file.

  2. If you have mentioned the correct path to the file, then you can try the following: -

<head>  
    <script src="path_to_demo_defer.js" defer></script>
</head>
7 months ago · Juan Pablo Isaza Denunciar

0

First of all, check whether you have added the correct path to the 'demo_defer.js' file.

If you have mentioned the correct path to the file, then you can try the following: -

<head>  
    <script src="demo_defer.js" defer></script> 
</head>
7 months ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.