html_code_verschluesseln.php
Quell Code
<div class="break"></div> </div><div class="breakbox_v"> </div><div id="contentbox"> <div class="titel">HTML Code Verschlüsseln</div> <div style="text-align:center; margin:0 auto;" class="tabelle"> <div style="text-align:left; margin:0 auto; padding:4px;"> Mit diesem kostenlosen Online Tool, kann auf einfachster Weise ein HTML Dokument auf Knopfdruck verschlüsselt werden.<br> <br> Fügen Sie einfach den kompletten HTML Code unterhalb ein. Mit einem Klick auf den Button wird Ihr kompletter HTML Code im Handumdrehen versteckt sein. </div> <SCRIPT type="text/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='HTML Code wird verschlüsselt bitte warten!'; setTimeout("compile()",1000); } else alert('Bitte HTML Code einfügen') } 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++; if (i=1) alert("Code wurde verschlüsselt!"); else alert("Code wurde verschlüsselt! "+i+" Time!"); } function selectCode() /* Selecting "Compilation" for Copying */ { if(document.pad.text.value.length>0) { document.pad.text.focus(); document.pad.text.select(); } else alert('Kein Code vorhanden!') } 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('Nichts zum ansehen!') } 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 compiled code to uncompile it!') } // --> </SCRIPT> <table style="max-width:560px; text-align:center; margin:0 auto; border:0; padding:4px;"> <tr> <td style="text-align:center; margin:0 auto;"> <FORM name="pad" method="POST" > <TEXTAREA name="text" rows="14" cols="80" class="eingabe"></TEXTAREA> <br><br> <INPUT onmouseover="LightOn(this)" onclick="generate()" onmouseout="LightOut(this)" type="button" value="Verschlüsseln" name="compileIt" class="button"> <INPUT onmouseover="LightOn(this)" onclick="selectCode()" onmouseout="LightOut(this)" type="button" value="Alles markieren" name="select" class="button"> <INPUT onmouseover="LightOn(this)" onclick="preview()" onmouseout="LightOut(this)" type="button" value="Vorschau" name="view" class="button"> <INPUT onmouseover="LightOn(this)" onmouseout="LightOut(this)" type="reset" value="Reset" name="clear" class="button"> </FORM> </td> </tr> </table> <br> </div> <br> <div style="padding:6px; text-align:center; margin:0 auto; width:180px;"> <span class="button_or"> <a href="./" title="Übersicht Online-Tools">‹ Zurück zur Übersicht</a> </span>
Comments