2007-10-23 12:54:01

mickyriora
» FTalkAddict
FTalk Level: zero
335
0
1969-12-31

Re: actually its a redirection code but i found it to be an enter page ^^ just paste it in ur JS extension [quote]var myplace = document.location.href; if (myplace == "http://www.friendster.com/user.

[quote=roysmith]It's this code working... var myplace = document.location.href; if (myplace == "http://www.friendster.com/user.php?uid=1234567"){ } else if (myplace == "http://www.friendster.com/user.php?uid=1234567"){ } else { location.href = "URL"; } My other codes not working when i include this on my js pls advice[/quote] [b]try this:[/b] [b]Step 1:[/b] save this first as .html: [quote]<html> <head> <title>entering roysmith world</title> <META NAME="Generator" CONTENT="EditPlus"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor='#000000'> <center><table width="950" height="550" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="middle" bgcolor="#000000"> <a href='http://profiles.friendster.com/user.php?uid=[b]USER ID[/b]><img src=http://www.friendster.com/USER ID'><img src=[b]IMAGE URL HERE[/b] border=0></a> <br><font color="pink" size="1" face="Verdana, Arial, Helvetica, sans-serif">www.friendster.com/[b]USER ID [/b]||www.friendster.com/roysmith<br>YOUR MESSAGE HERE *.* Click To Enter *.* YOUR MESSAGE HERE<br> *.* roysmith*.* </font> </td> </tr> </table>[/quote] [b]Step2[/b] Try to paste it after your Viewer MAin Photo sidebar: [quote]var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=USER ID"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=USER ID"){ } else { location.href = "YOUR ENTER PAGE HTML URL HERE"; }[/quote] [b]Also please read on this #2):[/b] [quote]I just want to share my ideas on why codes doesn't work in other users... 1) It may have to do with how many js linkers you are using...If you are using more than one js linker, that could be the problem. => What we usually do is compile all js into one js file & use only one js linker... [b]2) If you have compiled js codes in one js file, and the code/tweak you wanted didn't worked...[/b] => [i][b]It may have to do with how you compiled it, where did you inserted it..etc..[/b][/i] => [i][b]Best thing to do is trial & error, reposition & test where it works [/b][/i] 3) It may have to do between the css linker & js linker you are using. => We suggest to inject your ext.css into your ext.js & use only js linker to paste in your profile...[/quote]

Last edited by mickyriora (2007-10-23 13:11:06)

Board footer

© 2024 F Talk

Current time is 17:09

[ 12 queries - 0.079 second ]
Privacy Policy