• ARCHIVES 
  • » 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

Pages: 1

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

vanraid
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

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

Guys, can I use this code for multiple JS injection? Just want to confirm this. <">Thanks in advance.
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: 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]
bobcbar
» FTalkElite
FTalk Level: zero
5223
0
1969-12-31

Re: 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

Also be careful about having different addbox function codes and too many addbox codes sometimes it will cause conflicts resulting in some of ur js codes to double or not work.
strezzpc
» FTalkFreak
FTalk Level: zero
1691
0
1969-12-31

Re: 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

^ or u can try this : [quote]//multiple js injection scriptFolder = '[color=red]http://h1.ripway.com/username/folder/[/color]' scripts = new Array() scripts[0] = '[b]your_file_1.js[/b]' scripts[1] = '[b]your_file_2.js[/b]' scripts[2] = '[b]your_file_3.js[/b]' scripts[3] = '[b]your_file_4.js[/b]' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)}[/quote] [b][i]note :[/i][/b] your js file should be in the same folder the [color=red]red[/color] part is your js folder the [b]bold[/b] part is your js file
  • ARCHIVES 
  • » 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

Pages: 1

Board footer

© 2024 F Talk

Current time is 23:15

[ 10 queries - 0.013 second ]
Privacy Policy