Howdy
I've got a little JavaScript form that I would like to figure out.
Was hoping you guys could help me with that.
<script language="JavaScript">
<!--
x=prompt('Yay\n Enter password:',' ');
x=new
String(x + " z");
var y = "1338";
var z = "1";
var f = "y - z";
if (x == f) {
location.href = "?page=soccer&pw=" + x;
}
else {
location.href = "blank.htm";
}
//-->
</script>
I can't seem to understand this. But I don't want access just to get passed it, I also want to learn how that works, so if you could explain a bit about how the code works, that would be great! Thanks
Btw, I'm Norwegian if there was any Norwegians here who finds it easier to write in our own language (if thats permitted)