friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#1  2008-05-08 03:51:29

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2676
Reputation: 240

Converting Compile JS to Css

if u r ie lover and dont mind bout firefox u can just simply
insert ur complete compile js url here  ( js plus css

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); }

save it as css.. txt wat so ever... then use css linker...




if u want a crossbrowser result...

1. remove ur css from ur compile js file ( js  minus css
2. get the url of ur js file w/o css .. insert ur js to bold part

<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="thecradle">
<implementation>
<constructor><![CDATA[document.write('<script src=view-source:UR  JS URL HERE></script>')]]></constructor>
</implementation>
</binding>
</bindings>

save it anyway u want rss ..swf.. nixnix  etc etc... anyname will do

3. get the complete url of file u juz save insert here

body {
-moz-binding:url("step 2 complete url here#thecradle");
width:expression(
function load(){
get=document.createElement("script");
get.type="text/javascript";
get.src="view-source:UR  JS URL  again HERE";

now open ur separate css juz add that( step number 3 codes )    ... hit save
name it anyway u want ... ...txt.. css.. ...


then use css linker
=====================================
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  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 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

ideas provided by: ~Angell~

Last edited by switpotato (2008-07-21 04:11:08)


   
        .. thnx Q ..kabit.. dai dai... muahhss

#2  2008-05-08 03:54:16

cklahrckiey
» FriendsterFreak
cklahrckiey's display avatar
[ Tha Mafia ]
Class-S
Location: Lea's Heart
Registered: 2007-11-21
Posts: 1611
Reputation: 32

Re: Converting Compile JS to Css

nice ate monix.... :D :thumbsup:
1 question though....is it crossbrowser? =|

#3  2008-05-08 03:55:16

switpotato
» FriendsterWhiz
switpotato's display avatar
dcrazier dbetter bxtreme
Class X
Location: HubbieHubbieLand
Registered: 2007-05-23
Posts: 2676
Reputation: 240

Re: Converting Compile JS to Css

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)


   
        .. thnx Q ..kabit.. dai dai... muahhss

#4  2008-05-08 04:03:17

cklahrckiey
» FriendsterFreak
cklahrckiey's display avatar
[ Tha Mafia ]
Class-S
Location: Lea's Heart
Registered: 2007-11-21
Posts: 1611
Reputation: 32

Re: Converting Compile JS to Css

^i agree.... =)
well im gonna try this one out... :D

#5  2008-05-08 04:05:50

regiehiozn
» FriendsterWhiz
regiehiozn's display avatar
reginald-hizon.co.nr
Location: your place
Registered: 2007-08-27
Posts: 2923
Reputation: 65
Friendster

Re: Converting Compile JS to Css

OH MY!!! great code swit!! +rep for sure..




SUPERHUMAN

#6  2008-05-08 04:08:42

korokok
» FriendsterNewbie
Location: where you go
Registered: 2007-08-25
Posts: 25
Last visit: 2008-09-05
Reputation: ~
Friendster

Re: Converting Compile JS to Css

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)


#7  2008-05-08 04:24:40

losher29
» FriendsterWhiz
losher29's display avatar
weirdo.
Alchemy Explicit AE
Location: isolated island
Registered: 2008-04-02
Posts: 2542
Last visit: Today
Reputation: 9

Re: Converting Compile JS to Css

wow..thanks for this because js linkers are the linker that is mostly filtered.
;)

Last edited by losher29 (2008-05-11 19:25:52)




I totally don't like blue.

#8  2008-05-08 05:30:06

triciapink29
» Promoter
triciapink29's display avatar
ok.fine. whatever you say
Friendstertalk University
Location: PilipinasAustralia
Registered: 2008-04-01
Posts: 3335
Last visit: Today
Reputation: 194
Friendster

Re: Converting Compile JS to Css

cool
thanks for sharing




Im A Girl♥

#9  2008-05-08 05:47:18

ELNO
» FriendsterTalker
ELNO's display avatar
Singles Goes HOT!
Location: Pilipinas AZTIG!!
Registered: 2008-01-25
Posts: 105
Last visit: 2008-08-26
Reputation: ~
Friendster

Re: Converting Compile JS to Css

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.:)

#10  2008-05-08 06:01:41

leojennyzi
» FriendsterFreak
leojennyzi's display avatar
Location: world of 21
Registered: 2007-07-25
Posts: 1610
Last visit: Yesterday
Reputation: 82
Friendster

Re: Converting Compile JS to Css

nice ate switpotato.. thax.. ^^,


visit and add some comments.. :]http://jenifaa-mio.uni.cc/

#11  2008-05-08 06:35:26

super_man1990
» FriendsterTalker
super_man1990's display avatar
D' mAn 0f sTeEl
Location: Philippines
Registered: 2007-08-21
Posts: 130
Last visit: 2008-08-29
Reputation: ~

Re: Converting Compile JS to Css

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


#12  2008-05-08 06:43:34

jen1209
» FriendsterNewbie
jen1209's display avatar
....mYseLf....
Location: outside the woRlD
Registered: 2008-05-07
Posts: 18
Last visit: 2008-05-19
Reputation: ~
Friendster

Re: Converting Compile JS to Css

wow! great help! I'll try to use this next time.. ^_^:thumbsup:

#13  2008-05-08 06:49:03

dheetiij's
» FriendsterAgent
dheetiij's's display avatar
Legendary Puppet Master
Class-S
Location: Red Sand
Registered: 2007-06-15
Posts: 2226
Reputation: 43
Friendster

Re: Converting Compile JS to Css

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..! =D

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)


#14  2008-05-08 08:53:33

mudpoet
» FriendsterManiac
mudpoet's display avatar
Location: in my dreams
Registered: 2008-01-22
Posts: 929
Last visit: Today
Reputation: 11
Friendster

Re: Converting Compile JS to Css

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



click for mudpoet's layout

#15  2008-05-08 09:06:29

leck12
» FriendsterTalker
leck12's display avatar
iluvu, i'll kill u last
Alchemy Explicit AE
Location: Manila
Registered: 2008-01-26
Posts: 168
Last visit: 2008-08-17
Reputation: ~
Friendster

Re: Converting Compile JS to Css

thank you, very useful =)

:thumbsup:



#16  2008-05-08 09:10:26

ijherafel
» FriendsterTalker
ijherafel's display avatar
sAddNess, depression .::
Location: Dipolog City
Registered: 2007-10-27
Posts: 232
Last visit: Yesterday
Reputation: -8
???

Re: Converting Compile JS to Css

wow!:thumbsup:



my user bar

#17  2008-05-08 09:49:05

BwizetT
» FriendsterGeek
BwizetT's display avatar
^^CorrupTed ArchoN^^
Rockstars
Location: Basta my Allergy
Registered: 2007-09-19
Posts: 1025
Reputation: 39

Re: Converting Compile JS to Css

another great one from you monix..keep sharing :eh:=) :thumbsup:


#18  2008-05-08 10:25:45

marichan
» FriendsterAddict
marichan's display avatar
Location: tokyo jp
Registered: 2007-09-16
Posts: 412
Last visit: 2008-09-05
Reputation: 22

Re: Converting Compile JS to Css

i really like this trick!thnx for sharing this siz!:thumbsup:


#19  2008-05-08 12:51:55

ezekielclarion
» FriendsterAddict
ezekielclarion's display avatar
coder
Friendstertalk University
Location: philippines
Registered: 2007-10-28
Posts: 563
Last visit: 2008-09-05
Reputation: 14
Friendster

Re: Converting Compile JS to Css

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

#20  2008-05-08 13:46:44

mabuhay
» FriendsterGeek
mabuhay's display avatar
Love or Immortality
Friendstertalk University
Location: Laguna
Registered: 2008-03-11
Posts: 1450
Last visit: Today
Reputation: 53

Re: Converting Compile JS to Css

thank u so much switpotato
+ 1 repu 4 u
keep it up

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 31 queries - 0.383 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)