
let say u already have a compile css and js file...
just get the complete url
then insert to this code...
(open / create a new file)
body { width:expression( function load(){ get=document.createElement("script"); get.type="text/javascript"; get.src="LINK OF ur compile JS FILE"; document.getElementsByTagName("head")[0].appendChild(get);} window.onload=load); }
then save as CSS this time...
since its already css use css linker...
ideas / codes provided by: ~ Angell~
for crossbrowser use this:
Important: This will work perfectly for single-themed layouts
step 1: Delete your css injection code from your js file.
step 2. Paste the complete link of your css file in the code below then paste the final output in your media box. that would be the only linker in your media box.
NEW WORKING CSS LINKER
step 3. Paste the link of your js file in the code below then save it at ripway as jsloader.swf
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=LINK OF YOUR JS FILE></script>')]]></constructor>
</implementation>
</binding>
</bindings>
step 4. Modify the code below then just add in your css file
body {
-moz-binding:url("LINK OF YOUR JSLOADER.SWF#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="LINK OF YOUR JS FILE";
document.getElementsByTagName("head")[0].appendChild(get);}
window.onload=load);
}
IMPORTANT: If the window.onload creates conflicts with your other js codes with onload event handlers, change it to the one below
load()
Preview:
http://profiles.friendster.com/68778807
note: if u will use this js linker is not necessary needed since u have ur own loader file
so plain css linker will do...
=====================================
if u find wat i posted still confusing tyr the ff:
switpotato wrote:
the easiest way to convert ur js to css juz follow this simple instructions...
1. create 2 empty file..
name it..
linker.css
linker.txt
2. open ur linker.txt
then copy paste this
<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=view-source:UR COMPILE JS URL HERE></script>')]]></constructor>
</implementation>
</binding>
</bindings>
after hitting save ... rename this as linker.swf
3. open ur linker.css
copy paste the ff
body {
-moz-binding:url("UR LINKER SWF HERE#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="view-source:UR COMPILE JS URL HERE";
document.getElementsByTagName("head")[0].appendChild(get);}
load()
save it as linker.css
4. get the complete url of linker.css then use css linker... paste to ur media box
Last edited by switpotato (2008-05-19 16:14:03)

nice ate monix....
![]()
1 question though....is it crossbrowser? 
-Offline- |

yep... it is... and it doesnt matter if ur js is named swf,gif,js,etc
if u will ask me wats the gud of using this method...
havent u noticed each tym fs update
css linker is always first to b released
Last edited by switpotato (2008-05-08 03:59:26)

-Offline- |


Holy Wow!!!! Just The Code I Was Looking For!!!
A JS Inject of some sort!!!
Thanks Mam!!!!
btw dont mind the caps...
i was just very thankful:D
Last edited by korokok (2008-05-08 04:11:10)

-Offline- |
wow..thanks for this because js linkers are the linker that is mostly filtered.
Last edited by losher29 (2008-05-11 19:25:52)
-Offline- |

cool
thanks for sharing

-Offline- |

wow this i great a code that will convert a js file link so that it can be inserted in css linker.
I'll try this when friendster updates again.
-Offline- |

nice ate switpotato.. thax.. ^^,
-Offline- |

holly wow this is really great, now we can use css linker to our js..w/out js linker..nyahahaha...
-Offline- |

wow! great help! I'll try to use this next time.. ^_^![]()
-Offline- |

your wish to filter the new linker will be granted after a few hours,just be patience guyz coz friendster doing thier maintenance again,hakhak..! 
btw,thakz tor you ate monix and sir angell also for letting you to share his code..! 
Last edited by tjayvalrose_02 (2008-05-08 15:01:16)

im gonna try this... thanks for sharing this sis... this is very useful....
-Offline- |

thank you, very useful
![]()

-Offline- |

wow!![]()
-Offline- |

i really like this trick!thnx for sharing this siz!![]()

-Offline- |

so.. this is a JS injection ay't? cool!

-Offline- |

-Offline- |