1.

Solve : Silent password protection?

Answer»

I saw a script about 2 years ago, where the page loads, but when you're on the page, you type in a message (it doesn't show the message) and it leads you to a different page. It doesn't have an annoying alert saying you need to login, it's quite secretive. Has anyone else seen this? It would be really cool to use it.White betters on white background?Quote from: Geek-9pm on May 10, 2009, 02:58:22 PM

White betters on white background?
I can't remember what the page looked like, other than you just typed a word and it sent me to a different page...Sorry for double post, but I edited my last one, no one would know. Anyway, I found the page (or at least 1 version). It bring up an alert when you type in the password.
http://www.java-scripts.net/javascripts/Secret-Alert-Popup.phtml

Is there a way to make it so it goes to a different page instead of bringing up an alert box? (I'm dealing with people who have LITTLE to no knowlage about WEBPAGES [and me creating them], so they won't read the script)Okay, so here's the full THING sending USER to new location:
Code: [Select]<script LANGUAGE="JavaScript">
//Free Scripts on http://www.ScriptBreaker.com
var nav=navigator.appName;
var ns=(nav.indexOf("Netscape")!=-1);

if(ns){
if(document.layers){
document.captureEvents(Event.KEYPRESS);
document.onkeypress = cheat;
}
if(document.getElementById){
document.onkeypress = cheat;
}
}
else
{document.onkeypress = cheat;}

var SpecialWord = "here";
var SpecialLetter = 0;
var vcheat = false;
function cheat(keyStroke)
{
var eventChooser = (ns)?keyStroke.which: event.keyCode;
var which = String.fromCharCode(eventChooser).toLowerCase();
if(which == SpecialWord.charAt(SpecialLetter)){
SpecialLetter++;
if (SpecialLetter == SpecialWord.length)
{
window.location="mypage.htm";
}
}
else {SpecialLetter = 0;vcheat = false}

}
</script>

window.location=""; being the exact code...Quote from: kpac on May 22, 2009, 02:57:39 PM
Okay, so here's the full thing sending user to new location:
Code: [Select]<script language="JavaScript">
//Free Scripts on http://www.ScriptBreaker.com
var nav=navigator.appName;
var ns=(nav.indexOf("Netscape")!=-1);

if(ns){
if(document.layers){
document.captureEvents(Event.KEYPRESS);
document.onkeypress = cheat;
}
if(document.getElementById){
document.onkeypress = cheat;
}
}
else
{document.onkeypress = cheat;}

var SpecialWord = "here";
var SpecialLetter = 0;
var vcheat = false;
function cheat(keyStroke)
{
var eventChooser = (ns)?keyStroke.which: event.keyCode;
var which = String.fromCharCode(eventChooser).toLowerCase();
if(which == SpecialWord.charAt(SpecialLetter)){
SpecialLetter++;
if (SpecialLetter == SpecialWord.length)
{
window.location="mypage.htm";
}
}
else {SpecialLetter = 0;vcheat = false}

}
</script>

window.location=""; being the exact code...
Ahh...thanks!Is that what you wanted? If you don't understand something, just ask.Quote from: kpac on May 22, 2009, 03:05:26 PM
Is that what you wanted? If you don't understand something, just ask.
Thanks, that's what I wanted!Great.


Discussion

No Comment Found