If you go to the web page, unplug your computer from the internet, the script won’t verify even if you have the right password.
Anything that uses AJAX (XMLHTTPRequest), form submitting (form.submit()), setting the URL (window.location), is not client-side.
It’s the server that checks whether the file is there or not.
]]>var password = prompt(“Enter in the password.”,””)
if (password == null) {
history.back();
}
else {
location = password.toLowerCase() “.html”
You cant hack what javascript password script!