This free script provided by Website Abstraction
1. value,"free" 修改帳號
2. value,"javascript" 修改密碼
3. load('28.html'); 修改輸入帳號&密碼正確後連結網頁
原始檔如下..
<form>
<p> 輸入帳號:
<input type="text" name="text2">
</p>
<p> 輸入密碼:
<input type="password" name="text1">
<input type="button" value=" 確 定 " name="Submit"
onclick=javascript:validate(text2.value,"free",text1.value,"javascript")
>
</p>
</form>
<script language = "javascript">
/*
Script by Anubhav Misra (anubhav_misra@hotmail.com)
Submitted to Website Abstraction (http://wsabstract.com)
For this and 400+ free scripts, visit http://wsabstract.com
*/
function validate(text1,text2,text3,text4)
{
if (text1==text2 && text3==text4)
load('28.html');
else
{
load('failure.htm');
}
}
function load(url)
{
location.href=url;
}
</script>
<p align="center"><font face="arial"
size="-2">This free script provided by <a
href="http://wsabstract.com">Website
Abstraction</a></font></p>