Password Prompt, add a password screen to a page |
![]() ![]() |
Password Prompt, add a password screen to a page |
Feb 25 2004, 12:38 AM
Post
#1
|
|
![]() pimpalishious ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 436 Joined: Feb 2004 Member No: 4,370 |
the code is
CODE <!-- begin code provided by createblog.com --> <script> var pass="[B]PASSWORD GOES HERE[/B]"; var attempt=prompt("What is the password?" , ""); if (pass==attempt) alert("Correct") else {location.href="about:blank";} </script> <!-- end code provided by createblog.com --> please comment on this! |
|
|
|
Feb 25 2004, 12:57 AM
Post
#2
|
|
![]() chopstix-ninja ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 325 Joined: Jan 2004 Member No: 206 |
move to scripts
|
|
|
|
Feb 25 2004, 01:05 AM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 946 Joined: Jan 2004 Member No: 603 |
nice code, easy to crack but i dont see the point for that for xanga, no offence cause yea, it will only allow people that know the pass to enter.
|
|
|
|
Feb 25 2004, 01:18 AM
Post
#4
|
|
![]() pimpalishious ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 436 Joined: Feb 2004 Member No: 4,370 |
the point was to put it on only pages like your profile part so private info dont get out
|
|
|
|
Feb 25 2004, 01:21 AM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 946 Joined: Jan 2004 Member No: 603 |
QUOTE(adoggydog195 @ Feb 24 2004, 10:18 PM) the point was to put it on only pages like your profile part so private info dont get out the the question is, how do u only put it for profile? |
|
|
|
![]() ![]() |