|
1.首先,新建一个js文件,将以下内容输入进去:点击保存複製代碼
- function password()
- {
- var i=1;
- var passwd=prompt('Please enter the password(你要设定的密码)');
- while(i<3){
- if(passwd=="你要设定的密码")
- break;
- i++;
- alert('Input error');
- var passwd=prompt('Please input afresh.');
- }
- if(passwd!="sclubplugin"&&i==3)javascript:;
- location.href="iForgot.html";
- return "";
- }
- password();
歡迎光臨 SCLUB免費論壇申請-使用者論壇 (http://hotbbs.info/discuz/) | Powered by Discuz! 7.2 |