香烟 发表于 2007-4-27 11:27:47

***代码生成***加密页面代码生成器

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
<html>
<!-- #begintemplate "/templates/js.dwt" -->
<head>
<!-- #begineditable "doctitle" -->
<title>加密页面代码生成器 </title>
<!-- #endeditable -->
<meta http-equiv=content-type content="text/html; charset=gb2312">
<link
href="/fav.ico" rel="shortcut icon">
<style type=text/css>body {
    margin: 25px 25px 25px
}
#all td {
    font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
input {
    font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
select {
    font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
p {
    font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}
textarea {
    font-size: 12px; line-height: 15px; font-family: "verdana", "arial","新宋体", "宋体"
}

#all a:active {
    color: #7d070c
}
#all a:visited {
    color: #7d070c
}

#all a:hover {
    color: #336699
}
#all a:link {
    color: #7d070c
}
</style>
<script language=javascript>
<!--

function mm_gotourl() { //v3.0
var i, args=mm_gotourl.arguments; document.mm_returnvalue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args+"'");
}
function jm_cc(ob){
var obj=mm_findobj(ob); if (obj) {
obj.select();js=obj.createtextrange();js.execcommand("copy");}
}

function mm_findobj(n, d) { //v4.0
var p,i,x;if(!d) d=document; if((p=n.indexof("?"))>0&&parent.frames.length) {
    d=parent.frames.document; n=n.substring(0,p);}
if(!(x=d)&&d.all) x=d.all; for (i=0;!x&&i<d.forms.length;i++) x=d.forms;
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=mm_findobj(n,d.layers.document);
if(!x && document.getelementbyid) x=document.getelementbyid(n); return x;
}
//-->
</script>
<meta content="mshtml 5.50.4134.600" name=generator>
</head>
<body id=all text=#000000 bgcolor=#336699>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr bgcolor=#ffffff>
    <td><img src="/images/sq_1.gif" width=11 height="14">http://code.ik8.com/images/sq_1.gif</td>
    <td width="100%"></td>
    <td><img src="/images/sq_2.gif"
width=11 height="14">http://code.ik8.com/images/sq_2.gif</td>
</tr>
</table>
<table cellspacing=0 cellpadding=0 width="100%" border=0>
<tr bgcolor=#ffffff>
    <td><img src="/images/space.gif" width=11 height="1">http://code.ik8.com/images/space.gif</td>
    <td width="100%">
      <table width="100%" border="0" cellpadding="8">
      <tr>
          <td align="center">
            <script language="javascript">
document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");
</script>
          </td>
      </tr>
      <tr>
          <td bgcolor="#f7f7f7"><!-- #begineditable "example" --><font face="verdana">提示:</font>
            把你想加密的文档的源代码拷贝到下面的文本框内,按下生成按钮就可以得到一段加密了的页面代码,把代码复制到新的页面就可以了. [注意:可重复加密啊!]
            <script language=javascript>
<!--
//////////////////////////////////////////////////////////////////
//                      source code encrypter v1.0            //
//////////////////////////////////////////////////////////////////
//                                                            //
//this javascript can be freely used as long as this message//
//stays here in the header of the script. any modifications   //
//and bugs found (and fixed) are appreciated.               //
//script submitted/featured on dynamicdrive.com               //
//visit http://www.dynamicdrive.com for source code         //
//          svetlin staev, thewebmonster@altavista.com          //
//////////////////////////////////////////////////////////////////

var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;

function initstyleelements() /* styles for buttons init */
    {
      var c = document.pad;

      if (ie)
            {
                //c.text.style.backgroundcolor="#dddddd";
                c.compileit.style.backgroundcolor="#c0c0a8";
                c.compileit.style.cursor="hand";
                c.select.style.backgroundcolor="#c0c0a8";
                c.select.style.cursor="hand";
                c.view.style.backgroundcolor="#c0c0a8";
                c.view.style.cursor="hand";
                c.retur.style.backgroundcolor="#c0c0a8";
                c.retur.style.cursor="hand";
                c.clear.style.backgroundcolor="#c0c0a8";
                c.clear.style.cursor="hand";
            }
      else return;
    }

/* buttons enlightment of "compilation" panel */
function lighton(what)
    {
      if (ie) what.style.backgroundcolor = '#e0e0d0';
      else return;
    }
function focuson(what)
    {
      if (ie) what.style.backgroundcolor = '#ebebeb';
      else return;
    }
function lightout(what)
    {
      if (ie) what.style.backgroundcolor = '#c0c0a8';
      else return;
    }
function focusoff(what)
    {
      if (ie) what.style.backgroundcolor = '#dddddd';
      else return;
    }
/* buttons enlightment of "compilation" panel */

function generate() /* generation of "compilation" */
    {
      code = document.pad.text.value;
      if (code)
            {
                document.pad.text.value='正在生成加密代码,请稍后!';
                settimeout("compile()",1000);
            }
      else alert('请输入源文件代码')
    }
function compile() /* the "compilation" */
    {
      document.pad.text.value='';
      compilation=escape(code);
      document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
      i++;
      alert("页面被加密了 "+i+" 次!");
    }
function selectcode() /* selecting "compilation" for copying */
    {
      if(document.pad.text.value.length>0)
            {
                document.pad.text.focus();
                document.pad.text.select();
            }
      else alert('没有可以选择的文本内容!')
    }
function preview() /* preview for the "compilation" */
    {
      if(document.pad.text.value.length>0)
            {
                pr=window.open("","preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
                pr.document.write(document.pad.text.value);
            }
      else alert('没有可以预浏览的文本内容!')
    }
function uncompile() /* decompiling a "compilation" */
    {
      if (document.pad.text.value.length>0)
            {
                source=unescape(document.pad.text.value);
                document.pad.text.value=""+source+"";
            }
      else alert('你需要生成被加密的代码后才能取回源代码!')
    }
// -->
</script>
            <table cellspacing=0 cellpadding=0 width="100%" border=0>
            <tbody>
            <tr>
                <td width="100%">
                  <form name=pad method=post align="center">
                  <textarea style="width: 100%; background-color: #ebebeb" name=text rows=21 cols=58>
   


http://code.ik8.com/images/space.gif http://code.ik8.com/images/sq_3.gifhttp://code.ik8.com/images/sq_4.gif

      










--------------------------------------

拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页: [1]
查看完整版本: ***代码生成***加密页面代码生成器