I've been reading a bit about injecting a script into an HTML file, mostly here
But I also came across this variation of using the document.write
method.
document.write('<scr'+'ipt type="text/javascript" src="' + url + '"></scr'+'ipt>');
What could the advantage be to splitting the <script
part of the <script>
tag up like <scr'+'ipt
?