*Block UR Viewer ALERT BOx*UPDATED
[quote]//[b]Tehrzky's Block Me[/b]
if(pageViewerID==""){
alert("[color=blue]Please log in your FRIENDSTER account to view this page![/color]");
top.location.href
thanks so much for the code! it works perfectly on my profile most especially when tested using IE. but when i tried to check if it works on Firefox, it usually fails on the first trial. what i mean to say is that, when i turn on my computer and open friendster on firefox and find my name on the user search, the alert message appears but when the [ok] or [x] button was clicked, the page doesn't direct to the friendster home page.
but when i tried it again, the code worked.
my problem here was the code fails when first time used on firefox. is there any solutin to this? thanks!