Kamis, 22 September 2011

0 JavaScript Password Protection

Date: Kamis, 22 September 2011 20.42
Category:
Author: 0x13
Share:
Responds: 0 Comment
Contoh halaman protect password >>> DISINI
Scriptnya gan…
<HEAD>
<SCRIPT language="JavaScript">
<!--hide

var password;

var pass1="cool";

password=prompt('Please enter your password to view this page!',' ');

if (password==pass1)
  alert('Password Correct! Click OK to enter!');
else
   {
    window.location="http://www.pageresource.com/jscript/jpass.htm";
    }

//-->
</SCRIPT>
</HEAD>

Artikel Terkait :



Posting Komentar