TestPage2: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<SCRIPT> | |||
function passWord() { | |||
var testV = 1; | |||
var pass1 = prompt('Please Enter Your Password',' '); | |||
while (testV < 3) { | |||
if (!pass1) | |||
history.go(-1); | |||
if (pass1.toLowerCase() == "letmein") { | |||
alert('You Got it Right!'); | |||
window.open('protectpage.html'); | |||
break; | |||
} | |||
testV+=1; | |||
var pass1 = | |||
prompt('Access Denied - Password Incorrect, Please Try Again.','Password'); | |||
} | |||
if (pass1.toLowerCase()!="password" & testV ==3) | |||
history.go(-1); | |||
return " "; | |||
} | |||
</SCRIPT> | |||
<CENTER> | |||
<FORM> | |||
<input type="button" value="Enter Protected Area" onClick="passWord()"> | |||
</FORM> | |||
</CENTER> | |||
This is the full list of all {{#ask: | This is the full list of all {{#ask: | ||
[[Category:Samurai Homes]] | [[Category:Samurai Homes]] |
Revision as of 10:27, 13 February 2021
<SCRIPT> function passWord() { var testV = 1; var pass1 = prompt('Please Enter Your Password',' '); while (testV < 3) { if (!pass1) history.go(-1); if (pass1.toLowerCase() == "letmein") { alert('You Got it Right!'); window.open('protectpage.html'); break; } testV+=1; var pass1 = prompt('Access Denied - Password Incorrect, Please Try Again.','Password'); } if (pass1.toLowerCase()!="password" & testV ==3) history.go(-1); return " "; } </SCRIPT>
<FORM> <input type="button" value="Enter Protected Area" onClick="passWord()"> </FORM>
This is the full list of all 169 Samurai Residences currently documented on Jcastle.info. So far I've only documented the residences with an extant house, but will slowly add those without a house but have a gate or other original structures.