2008-03-01 09:15:54

mickyriora
» FTalkAddict
FTalk Level: zero
335
0
1969-12-31

Re: [b]First of all, please familiarize yourself with all the codes & take note of the difference between css & js.[/b] The topic here is about compiling js so don't be asking about css considered only if

[quote=sicq]What is wrong with this (from Topic No. 6) ? <">My JS doesnt execute in my Friendster Profile and i checked the Error Console for FF2 and the errors are : [quote]Error: obj is not defined Source File: javascript: a=document.createElement('script');a.src='http://h1.ripway.com/sicq/Main FS/js.txt';parent.document.getElementById('navBg').appendChild(a);obj Line: 1[/quote] [quote]Error: missing ; before statement Source File: http://h1.ripway.com/sicq/Main%20FS/js.txt Line: 18, Column: 18 Source Code: scripts[0] = 'Who's%20Viewed%20Me%20ChatBox.txt'[/quote] hope u can help me out..thanks in advance[/quote] [b]Please read this instruction again & follow it properly:[/b] [color=red][b]=>Instruction how to use the script Topic Number 6:[/b][/color] Create a subfolder & name it as whatever you want to name it. [b]Inside your script folder, save any js you want in each file like for example,[/b] 1)if you want your who right clicked cbox by feruzz, save it as [b]wrccbox.js[/b] 2)if you want friend randomizer save it also as one file as [b]frbox.js[/b] 3)if you want wvm cbox mode, save it also as one file as [b]wvmcbox.js[/b] [b]So the above examples will be the contents of your scriptfolder.[/b] [b]If you named your subfolder [color=red]javascripts[/color] then put the link into the scriptFolder area.[/b] [b]To apply it in the script it will then look like this:[/b] [quote]scriptFolder = 'http://h1.ripway.com/username/javascripts/' scripts = new Array() scripts[0] = 'wrccbox.js' scripts[1] = 'frbox.js' scripts[2] = 'wvmcbox.js' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)}[/quote] [b]=>Save as whatever you want to name it.This will then your main js file which you need to add in your linker to paste in your profile.[/b] [b]=>You can also make use of this as your [color=red]multiple js injection to be injected inside your wvm[/color],[color=blue]check number 5 topic on how I implemented it[/color].

Board footer

© 2024 F Talk

Current time is 21:20

[ 12 queries - 0.012 second ]
Privacy Policy