網頁密碼1

將下列程式碼複製至<head>程式碼</head>區內

<script>
function passWord() {
var testV = 1;
var pass1 = prompt('請輸入您的密碼!',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "123456") {
alert('您輸入密碼正確!');
window.open('http://211.75.223.181');
break;
}
testV+=1;
var pass1 =
prompt('拒絕您的密碼 - 請在重新輸入一次!!.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
</script>
<div align="center">
<form>
<input type="button" value="按此前往您想要去的地方" onClick="passWord()">
</form>
</div>