DwDesigner

Bienvenido, Te recive el Equipo de Webdejuegosya y Team-Drakox, Elige una de estas opciones!

Registrar;Conectar;No Preguntar

Que te diviertas

Unirse al foro, es rápido y fácil

DwDesigner

Bienvenido, Te recive el Equipo de Webdejuegosya y Team-Drakox, Elige una de estas opciones!

Registrar;Conectar;No Preguntar

Que te diviertas

DwDesigner

¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
DwDesigner

Diseño Webmaster Todo lo que tu web necesita


    [Codigo JavaScript]Codificador de codigos

    super-ayuda-webmaster
    super-ayuda-webmaster
    Moderador
    Moderador


    Masculino Cantidad de envíos : 133
    Fecha de inscripción : 29/03/2009
    Edad : 27

    Hoja De Personaje
    Juego1:
    Juego1[Codigo JavaScript]Codificador de codigos Empty
    [Codigo JavaScript]Codificador de codigos Empty

    [Codigo JavaScript]Codificador de codigos Empty [Codigo JavaScript]Codificador de codigos

    Mensaje  super-ayuda-webmaster Lun Mar 30, 2009 4:46 pm


    Este es un codificador de codigos osea codifica cualquier codigo html. (Exelente para proteger las plantillas es casi indispensable.
    Código:
    <html>
    <head>
    <script language="JavaScript">
    <!--
    //////////////////////////////////////////////////////////////////
    // Source Code Encrypter v1.0  //
    //////////////////////////////////////////////////////////////////
    // Copyright 2002 Kelly Johnson.  http://pgi.8m.net  //
    //////////////////////////////////////////////////////////////////

    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)
    {
    http://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='¡Codificando, por favor espera...!';
    setTimeout("compile()",1000);
    }
    else alert('First enter something to compile and then press CompileIt')
    }
    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("Página compilada 1 vez");
    else alert("Página compilada "+i+" veces");
    }
    function selectCode() /* Selecting "Compilation" for Copying */
    {
    if(document.pad.text.value.length>0)
    {
    document.pad.text.focus();
    document.pad.text.select();
    }
    else alert('Nothing for be selected!')
    }
    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 hay nada que previsualizar')
    }
    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('¡Hace falta un código compilado para decompilarlo!')
    }
    // -->
    </script>
    </head>

    <body bgcolor="white" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" onload="initStyleElements()">

    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="100%" height="23">

        <p align="center"><b>Codificador de código <br>
    &nbsp;</b></td>
      </tr>
      <tr>
        <td width="100%">
        <!-- Compilation Panel -->
        <form method="post" name="pad" align="center">
          <p align="center">
          <textarea rows="11" name="text" cols="58" style="background-color:#EBEBEB;width:95%"></textarea><br>

          <input type="button" value="Codificar" name="compileIt" onClick="generate()" onMouseOver="LightOn(this)" onMouseOut="LightOut(this)">
          <input type="button" value="Seleccionar" name="select" onClick="selectCode()" onMouseOver="LightOn(this)" onMouseOut="LightOut(this)">
          <input type="button" value="Previsualizar" name="view" onClick="preview()" onMouseOver="LightOn(this)" onMouseOut="LightOut(this)">
          <input type="button" value="Decodificar" name="retur" onClick="uncompile()" onMouseOver="LightOn(this)" onMouseOut="LightOut(this)">
          <input type="reset" value="Borrar" name="clear" onMouseOver="LightOn(this)" onMouseOut="LightOut(this)">
          </p>
        </form>
        <!-- Compilation Panel --></td>
      </tr>

    </table>

    </body>

    </body>

    </html>

    </html>

    Espero que les guste tambien sirve para decompliar

    No se necesita editar nada.

      Fecha y hora actual: Dom Mayo 12, 2024 7:53 pm