var z = document.createElement('script') z.type = 'text/javascript' z.src = 'https://order.zelty.fr/loader-iframe.js' var allScripts = document.getElementsByTagName('script'), s = allScripts[allScripts.length - 1]; s.parentNode.insertBefore(z, s) })();