Log In · Register

 
private blogging, why doesn't this code work?
simplyxparadise
post Oct 2 2004, 09:51 PM
Post #1


^-^
***

Group: Member
Posts: 69
Joined: Aug 2004
Member No: 40,106



why doesn't this work for my xanga? T_T
CODE
<!-- begin code provided by createblog.com -->
<script>

// Private Blogging
// By Paul Chen
//  --- Coyote
// Put your list of (exact) names here.
// Make sure they are all lowercase.
// "join" = unregistered viewers
// Go to end of the script and change
// the custom alert message.

var allowed = new Array(
"bin_sleeping90",
"l0stinlife___x",
"huyana_goddess",
"j1s62091",
"x_flipflops",
"loufa",
"soccer_babie",
"x__forgiveness__x",
"yunhe",
"chilin_lee",
"demomode",
"lilazncutie",
"x_br0kenxheart",
"may18th",
"sweetchick28",
"x_breathless_o",
"keep0nfallin",
"yayleexp",
"peach_kisses13",
"imyourfriend69",
"mildly_humorous",
"mizz_sarita",
"xoaquariusstarox",
"garnetmuse",
"aloneinmyworld",
"xxbballgurl91xx",
"sweet_x_tragedy",
"mizz_evy_x3",
"f4_luv_89",
"sugaryspice1004",
"drama_mistress",
"right_hand_redx",
"katherinekck",
"waterygem",
"puremin73",
"chromefang",
"peachiemonkey",
"lycheelamb",
"xfantastical"
)

var links = document.getElementsByTagName('a');
name="";

for(i=0;i<links.length;i++)
{
if(links[i].innerText.match(/xanga/i) && links[i+2].innerText.match(/sign out/i)){
i++;
if(links[i].href.match('/private/home.aspx') || links[i].innerText.match('join')){
 name = links[i].innerText.toLowerCase();
 break;
}  
}
}
enter=false;

for(j=0;j<allowed.length;j++)
{
users = allowed[j];
if(users.indexOf(name)==0 && users.length==name.length){
enter=true;
break;
}
}

if(enter!=true){
alert('the reason why you cannot view my xanga is probably because you are not signed in. so go sign in. if it still doesn't work, IM me.'); //change the message
history.go(-1);
}
</script>
<!-- end code provided by createblog.com -->


if you can find something wrong with it, please tell me!~
 
 
Start new topic
Replies (1 - 3)
kpxanqel
post Oct 3 2004, 09:17 PM
Post #2


anna park
*****

Group: Member
Posts: 410
Joined: Jul 2004
Member No: 29,818



maybe just the code is messed up..
 
lilazneye10
post Oct 3 2004, 10:45 PM
Post #3


neat banner
****

Group: Member
Posts: 281
Joined: Feb 2004
Member No: 4,994



Can someone help me find the song my boo by usher and alisha keys please
and the code has to start with http:// not dose other one thx!!
 
avsugarhigh09
post Oct 3 2004, 10:49 PM
Post #4


Senior Member
****

Group: Member
Posts: 177
Joined: Sep 2004
Member No: 51,194



QUOTE(lilazneye10 @ Oct 3 2004, 10:45 PM)
Can someone help me find the song my boo by usher and alisha keys please
and the code has to start with http:// not dose other one thx!!

umm this doesn't belong here. if you have a question start your own topic. but for requests on music just look on music sites here

oh and to the person who started this, i tried it on one of my old xangas and it didn't work for me either. dud code i think
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: