<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title> 인코더 </title>
</head>
<style>
body {cursor:hand}
body,td {font-size:10pt}
.header{font-family:Verdana; font-size:26pt;}
.text {font-family:Verdana; font-size:10pt;}
.box {
font-size:10pt;
color:#000000;
background-color:white;
border-bottom:solid 1px;
border-color:black;
border-left:solid 1px;
border-color:black;
border-right:solid 1px;
border-color:black;
border-top:solid 1px;
border-color:black;
}
.but {
font-size:9pt;
background-color:white;
border-bottom:solid 1px;
border-color:black;
border-left:solid 1px;
border-color:black;
border-right:solid 1px;
border-color:black;
border-top:solid 1px;
border-color:black;
}
#startUp {
width:100%;
height:100%;
top:0;left:0;
background:#EEEEEE;
/*layer-background-color:#EEEEEE;*/
position:absolute;
}
#loadStat {width:305;height:10;position:absolute;}
</style>
<script language=JavaScript>
<!--
var i=0;
var s=0;
var num=0;
var seq1="",seq2="";
var boot=new Array();
boot[0]='컴~파~일~러~.~준~비~중~.~입~니~다~r.~.~.~.~..~~';
boot[1]='컴~파~일~러~.~준~비~중~.~입~니~다~r.~.~.~.~..~~';
boot[2]='컴~파~일~러~.~준~비~중~.~입~니~다~r.~.~.~.~..~~';
boot[3]='컴~파~일~러~.~준~비~중~.~입~니~다~r.~.~.~.~..~~';
var seq=new Array();
seq[0]=boot[0].split("~");
seq[1]=boot[1].split("~");
seq[2]=boot[2].split("~");
seq[3]=boot[3].split("~");
var ie=document.all?1:0;
var ns=document.layers?1:0;
var ns6=document.getElementById?1:0;
function initStyleElements()
{
var w=ie?document.body.clientWidth:window.innerWidth;
var h=ie?document.body.clientHeight:window.innerHeight;
if (ie)
{
startUp.style.width=w;
startUp.style.height=h;
loadStat.style.top=((h-192)/2)+145;
loadStat.style.left=((w-355)/2)+100;
}
else if(ns)
{
with(document.layers)
{
startUp.width=w;
startUp.height=h;
loadStat.top=((h-192)/2)+145;
loadStat.left=((w-355)/2)+100;
}
}
else if (ns6)
{
document.getElementById("startUp").style.width=w;
document.getElementById("startUp").style.height=h;
document.getElementById("loadStat").style.top=((h-192)/2)+145;
document.getElementById("loadStat").style.left=((w-355)/2)+100;
}
}
function initLoad()
{
seq1='<font face="굴림" size=2>'+seq2+'<b style="color:silver">'+seq[s][num]+'</b></font>';
seq2+=seq[s][num];
if(ie) loadStat.innerHTML=seq1;
else if(ns)
{
with(document.layers.loadStat)
{
document.write(seq1)
document.close()
}
}
else if (ns6) document.getElementById("loadStat").innerHTML=seq1
if(!(num>=seq[s].length-1))
{
num++;
setTimeout('initLoad()',1);
}
else
{
if(s<3)
{
seq1="",seq2="",num=0;
s++;
setTimeout('initLoad()',1);
}
else
{
if(ie)
{
loadStat.innerHTML="";
startUp.style.visibility="hidden";
}
else if(ns)
{
with(document.layers)
{
loadStat.document.write('');
startUp.visibility="hide";
}
}
else if (ns6)
{
document.getElementById("loadStat").innerHTML="";
document.getElementById("startUp").style.visibility="hidden";
}
}
}
}
function LightOn(what, message)
{
if (ie||ns6)
{
window.status=message;
what.style.backgroundColor='#eeeeee';
what.style.cursor='hand';
}
else window.status=message;
}
function LightOut(what)
{
if (ie||ns6)
{
what.style.backgroundColor='white';
window.status='';
}
else window.status='';
}
function generate()
{
code=document.pad.text.value;
if (code)
{
document.pad.text.value='컴파일 중입니다...';
setTimeout("compile()",1000);
}
else alert('먼저 컴파일할 내용을 넣은 후 버튼을 클릭 하세요')
}
function compile()
{
padText=document.pad.text;
padText.value='';
compilation=escape(code);
padText.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
i++;
if (i==1) alert("1회 컴파일 되었습니다");
else alert("페이지가 "+i+"번 컴파일 되었습니다!");
}
function selectCode()
{
padText=document.pad.text;
if(padText.value.length>0)
{
if (ie)
{
therange=padText.createTextRange();
therange.execCommand("Copy");
window.status="클립보드에 복사되었습니다";
setTimeout("window.status=''",1800);
}
padText.focus();
padText.select();
}
else alert('선택된 것이 없습니다')
}
function preview()
{
padText=document.pad.text;
if(padText.value.length>0)
{
pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(padText.value);
}
else alert('미리보기할 내용이 없습니다')
}
function uncompile()
{
padText=document.pad.text;
if (padText.value.length>0)
{
source=unescape(padText.value);
padText.value=source;
}
else alert('컴파일된 코드를 넣어주세요')
}
function NSfix()
{
if (ns) setTimeout("window.onresize=document.location.reload()",500)
}
// -->
</script>
<!---- [2단계] 아래 코드를 <BODY> 태그 안에 붙여 넣으세요 --->
<body bgcolor=#eeeeee onload="initStyleElements();initLoad()">
<!---- [2단계] 아래의 방법으로 <BODY> 와 <BODY> 태그 사이에 붙여 넣으세요 --->
<div id=startUp>
<table border=0 width=100% height=100% cellspacing=0 cellpadding=0>
<tr>
<td valign=middle align=center>컴파일러 준비중 입니다 .....</td>
</tr>
</table>
</div>
<div id=loadStat></div>
<table border=0 width=100% cellspacing=0 cellpadding=0>
<tr>
<td height=23 align=center><h4>인코딩할 내용을 입력한 후 컴파일 버튼을 클릭 하세요</h4></td>
</tr>
<tr>
<td height=23></td>
</tr>
<tr>
<td align=center>
<form method=post name=pad align=center>
<textarea nowrap class=box rows=11 name=text cols=58 wrap></textarea><br><br>
<input class=but type=button value=컴파일 name=compileIt onClick=generate() onMouseOver="LightOn(this, '컴파일 하기')" onMouseOut=LightOut(this)>
<input class=but type=button value="코드복사" name=select onClick=selectCode() onMouseOver="LightOn(this, '클립보드에 복사')" onMouseOut=LightOut(this)>
<input class=but type=button value="미리보기" name=view onClick=preview() onMouseOver="LightOn(this, '컴파일된 코드 브라우저에서 미리보기')" onMouseOut=LightOut(this)>
<input class=but type=button value="디컴파일" name=retur onClick=uncompile() onMouseOver="LightOn(this, '소스 환원하기')" onMouseOut=LightOut(this)>
<input class=but type=reset value="모두삭제" name=clear onMouseOver="LightOn(this, '박스 비우기')" onMouseOut=LightOut(this)>
</form>
</td>
</tr><td align=center>Javascript Source Bank - J@SKO</td></tr>
</tr>
</table>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
javascript 源码加密 web界面
共1个文件
htm:1个
5星 · 超过95%的资源 需积分: 10 8 下载量 145 浏览量
2009-05-25
09:24:08
上传
评论
收藏 2KB RAR 举报
温馨提示
辛辛苦苦编写好的有些js代码是不是想保护一下 用这个就可以了一个挺不错的js源码加密程序,界面是web形式, 这个也是韩文,好像我上传的都是韩文的呵呵 最下放有5个botton 依次是 开始加密,复制代码,预览,反编译,删除
资源推荐
资源详情
资源评论
收起资源包目录
js-encoding.rar (1个子文件)
js-encoding.htm 7KB
共 1 条
- 1
资源评论
- soso962014-07-03这个貌似很牛,但是我没用上
wdarray0829
- 粉丝: 6
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功