对以上加密程序再进一步加密的HTM代码,请另存为HTM文件。
复制内容到剪贴板
代码:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Encode 加密</title>
</head>
<body>
<script>
function EncodeFile(obj)
{
try
{
var JE = new ActiveXObject("Scripting.Encoder");
obj.value = JE.EncodeScriptFile(".html",obj.value,0,"");
}
catch(e)
{
alert("您的系统不可用Encode");
}
}
function CheckCode()
{
var win = window.open("");
win.document.write(JSbox.value)
}
</script>
<div align="center">
<center>
<table border="0" width="77%">
<tr>
<td width="100%">
<textarea id="JSbox" rows="10" cols="87">
<script>
alert()
</script>
</textarea>
</td>
</tr>
<tr>
<td width="100%">
<p align="left"><input type="button" onclick="EncodeFile(JSbox)" value="加 密">
<input type="button" onclick="CheckCode()" value="预 览">
</td>
</tr>
</table>
</center>
</div>
</body>
</html>