密码登陆生成器
2.请把输入正确密码后进入的页面的文件名改为[密码.html]
//你可以设置后缀为其它文件格式,默认为.html var extension=".html" var enablelocking=0 var numletter="0123456789abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" var temp3='' var cur=0 function max(which){ return (pass[math.ceil(which)+(3&15)].substring(0,1)) } function testit(input){ temp=numletter.indexof(input) var temp2=temp^parseint(pass[phase1-1+(1|3)].substring(0,2)) temp2=numletter.substring(temp2,temp2+1) return (temp2) } function submitentry(){ t3='' verification=document.password1.password2.value phase1=math.ceil(math.random())-6+(2<<2) var indicate=true for (i=(1&2);i<window.max(math.log10e);i++) t3+=testit(verification.charat(i)) for (i=(1&2);i<lim;i++){ if (t3.charat(i)!=pass[phase1+math.round(math.sin(math.pi/2)-1)].charat(i)) indicate=false } if (verification.length!=window.max(math.log10e)) indicate=false if (indicate) window.location=verification+extension else alert("密码错误,请再输入!") } </script> <table border="1" cellspacing="0" cellpadding="0" bgcolor="#ffffbd"> <tr> <td width="100%"><form name="password1"><div align="center"><center><p><strong>enter password: </strong><input type="text" name="password2" size="15"><br> <input type="button" value="submit" onclick="submitentry()"></p> </center></div> </form> </td> </tr> </table>
3.按下生成按钮后同,内容已经复制到你的剪贴板了,你只需要把内容粘贴到你的html文件内就可以了.