Guys, can I use this code for multiple JS injection?
Just want to confirm this.
[code]var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/use
I think yes , But try to change the variables..
example :
[quote]var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/username/html/JS Extension/marquee.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
var [b]myjs2[/b] = document.createElement("script");
[b]myjs2[/b].type = "text/javascript";
[b]myjs2[/b].src = "http://h1.ripway.com/username/html/JS Extension/marquee.js";
document.getElementsByTagName("head")[0].appendChild([b]myjs2[/b]);[/quote]