Onbekend |
|
Ik heb een script :
<script language="JavaScript">
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 = "admin";
var SpecialLetter = 1;
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) alert("zet hier je grote geheim")
}
else {SpecialLetter = 0;vcheat = false}
}
</script>
<script language="JavaScript"> 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 = "admin"; var SpecialLetter = 1; 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) alert("zet hier je grote geheim") } else {SpecialLetter = 0;vcheat = false} } </script>
en dan wil ik in plaats van dat hij een alert geeft een pagina opent, wie kan mij helpen.
Ohja dit script is van anouksweb.nl!!!
|