Encrypt page code generator

Source: Internet
Author: User
Tags copy generator
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >
<!--saved from Url= (0032) http://www.ie-zone.com/index.php-->
<HTML>
<!--#BeginTemplate "/TEMPLATES/JS.DWT"-->
<HEAD>
<!--#BeginEditable "DocTitle"-->
<TITLE> Encrypt page Code builder </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", "Neo-Arial", "Song-Body"
}
INPUT {
font-size:12px; line-height:15px; font-family: "Verdana", "Arial", "Neo-Arial", "Song-Body"
}
SELECT {
font-size:12px; line-height:15px; font-family: "Verdana", "Arial", "Neo-Arial", "Song-Body"
}
P
font-size:12px; line-height:15px; font-family: "Verdana", "Arial", "Neo-Arial", "Song-Body"
}
TEXTAREA {
font-size:12px; line-height:15px; font-family: "Verdana", "Arial", "Neo-Arial", "Song-Body"
}

#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[i]+ ". location= '" "+args[i+1]+" ");
}
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[n.substring (p+1)].document; N=n.substring (0,p);}
if (!) ( X=d[n]) &&d.all) x=d.all[n]; for (i=0;! x&&i<d.forms.length;i++) X=d.forms[i][n];
for (i=0;! x&&d.layers&&i<d.layers.length;i++) X=mm_findobj (n,d.layers[i].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></TD>"
&LT;TD width= "100%" ></TD>
<td>width=11 height= "></TD>"
</TR>
</TABLE>
<table cellspacing=0 cellpadding=0 width= "100%" border=0>
<tr bgcolor= #ffffff >
<td></TD>
&LT;TD width= "100%" >
<table width= "100%" border= "0" cellpadding= "8" >
<tr>
&LT;TD align= "center" >
<script language= "JavaScript" >
document.write ("<font color= #7d070c style=\" font-size:14px\ ">" +document.title+ "</font>");
</script>
</td>
</tr>
<tr>
&LT;TD bgcolor= "#f7f7f7" ><!--#BeginEditable "Example"--><font face= "Verdana" > Hint:</font>
Copy the source code of the document you want to encrypt into the following text box, press the Build button to get a piece of encrypted page code, copy the code to the new page on it. [Note: REPEATABLE encryption!] ]
<script language=javascript>
<!--
//////////////////////////////////////////////////////////////////
Source Code Encrypter v1.0//
//////////////////////////////////////////////////////////////////
//                               //
This JavaScript can is 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= ' is generating encryption code, please later! ';
SetTimeout ("Compile ()", 1000);
}
else alert (' Please enter source file code ')
}
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 ("page is encrypted" +i+ "times!");
}
function Selectcode ()/* Selecting "compilation" for copying * *
{
if (document.pad.text.value.length>0)
{
Document.pad.text.focus ();
Document.pad.text.select ();
}
else alert (' No text content to choose! ')
}
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 (' No text content can be browsed! ')
}
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 (' You need to generate the encrypted code to retrieve the source code! ')
}
-->
</script>
<table cellspacing=0 cellpadding=0 width= "100%" border=0>
<tbody>
<tr>
&LT;TD width= "100%" >
<form name=pad method=post align= "center" >
<textarea style= "width:100%; Background-color: #ebebeb "Name=text rows=21 cols=58></textarea>
<br>
<input Onmouseover=lighton (This) onclick=generate () onmouseout=lightout (this) Type=button value= encryption Code name= Compileit>
<input Onmouseover=lighton (This) Onclick=selectcode () onmouseout=lightout (this) Type=button value= full selection code name= Select>
<input Onmouseover=lighton (This) Onclick=preview () onmouseout=lightout (this) Type=button value= pre-browsing page Name=view >
<input Onmouseover=lighton (This) onclick=uncompile () onmouseout=lightout (this) Type=button value= original code Name=retur >
<input Onmouseover=lighton (This) onmouseout=lightout (this) type=reset value= empty name=clear>
</form>

</td>
</tr>
</tbody>
</table>
<!--#EndEditable--></td>
</tr>
<tr>
<td><!--#BeginEditable "code"--><br>
<form name= "Form1" method= "Post" action= "" >
</form>
<!--#EndEditable--></td>
</tr>
</table>
</TD>
<td>width=11 height= "1" ></TD>
</TR>
</TABLE>
<table cellspacing=0 cellpadding=0 width= "100%" border=0>
<tr bgcolor= #ffffff >
<td></TD>"
&LT;TD width= "100%" ></TD>
<td>width=11 height= "></TD>"
</TR>
</TABLE>
</BODY>
<!--#EndTemplate-->
</HTML>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.