[quote=andHa][quote=Refresh/Reload]errr.. bro... have you tried this on your main page...?
i mean... where lots of your js are compiled....
coz i tried this on my test page with minimal js and it works
but when i tried it on my main profile... where lots of scripts
compiled in there... it gives me an error that prompt me to
close my browser... both in IE and FF... is there any possible
codes that conflicts with this redirection script...
[quote]var myplace = document.location.href;
if (myplace == "http://profiles.friendster.com/user.php?uid=YOUR USER ID"){
}
else if (myplace == "http://profiles.friendster.com/user.php?uid=YOUR USER ID"){
}
else {
location.href = "THE URL OF UR WELCOMEPAGE.HTM";
}[/quote]
I tried trial and error to find the conflicts but i can't find it...
hope u know the conflicting codes if there is one...

[/quote]
now i'm using the code in my main profile.
n working fine there.
u can see it.
have cleared the chace and cookies when u tried the trial and error method ?[/quote]
yap! I always do!! actually its becoming a habit now heheh...
I'm using IE6 and FF2 but my default is the FF2 coz i really
hate IE.... no offense to IE lovers... but it sucks!! still full of
microsofts hidden agenda i guess... hak hak!! before it only
gives error on IE but now it also happens in FF which is very
rare... so i guess i'll just keep on arranging my codes, test 'em
one by one, til i find what's wrong... coz i have an enter page
with flash on it and can't wait to put it as my enter page and
share it also...

but... i also can't view ur enter page... it's
just a white page with "null" on it... so i guess it's also a browser
thing....

wahhhh... this one code gives me a headache
and a heartache heheh...

Thanx bro!!

update: it's ok now in FF... still a no no in IE...

but that's alright....
Last edited by Refresh/Reload (2008-01-21 14:24:56)