ivan's profileWwW.MsTr.Bo.Kz - Herrami...PhotosBlogListsMore Tools Help

Blog


    May 11

    Codigos Java Script

    CODIGOS JAVA SCRIPT

    Codigo Para que Aparezca Una Alerta Al Pulsar Boton Derecho Del Raton 

    <script language="JavaScript">
    <!-- Begin
    function right(e) {
    var msg ="Opps - http://thewinmaster.spaces.live.com ";
    if (navigator.appName == 'Netscape' && e.which == 3) {
    alert(msg);  // Delete this line to disable but not alert user
    return false;
    }
    else
    if (navigator.appName == 'Microsoft Internet Explorer' &&
    event.button==2) {
    alert(msg); // Delete this line to disable but not alert user
    return false;
    }
    return true;
    }
    document.onmousedown = right;
    // End -->
    </script> 


    Al Dar Con El Boton Derecho Nos Penaliza Con 10 Clicks

    <script language="Javascript">
    zaehler=0;
     function right(e) {
     if (navigator.appName == 'Netscape'){
     if (e.which == 3 || e.which == 2){
     alert("Boton Derecho Desactivado,Hey Trankilo Viejo");
     for(i=0;i!=zaehler;i++)alert("Penalizado con \n               
    "+(zaehler-i)+"\n              clicks.");
     zaehler+=10;
     alert("No Tan Fuerte :)");
     return false;}}
     if (navigator.appName == 'Microsoft Internet Explorer'){
     if (event.button == 2 || event.button == 3){
     alert("Boton Derecho Desactivado,Hey Trankilo Viejo");
     for(i=0;i!=zaehler;i++)alert("Penalizado con \n               
    "+(zaehler-i)+"\n              clicks.");
     zaehler+=10;
     alert("No Tan Fuerte ");
     return false;}}
     return true;
     }
     document.onmousedown=right;
     if (document.layers) window.captureEvents(Event.MOUSEDOWN);
     window.onmousedown=right;
     // --></script>

      


    Cambiar el puntero por uno A Nuestro Gusto
    <!-- en el style -->
    BODY {  cursor:url(cursor.cur); }
     

    Para que el cursor sea un punto de Mira
    <<style type="text/css">
    <!--
    body {  cursor: crosshair}
    -->
    </style>

    Que se abra una ventana al Entrar en la Web
    <SCRIPT language=Javascript> open('tuweb.html','Lo
    Que
    Quieras',"toolbar=0,location=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=490,height=232");</SCRIPT>
     

    Añademe a Tus Favoritos

    <SCRIPT LANGUAGE="JavaScript">
        <!--
        function addBookmark()
        {
          if (window.external)
            external.AddFavorite("http://thewinmaster.spaces.live.com", "-/.·:_=\)м5тR™(/=_:·.\-")
          else
            alert("Tu navegador no soporta esta caracteristica");
        }
        // -->
        </SCRIPT> 


    Texto que va Cambiando de Color

    <script language="JavaScript">
    <!--
    function initArray() {
     for (var i = 0; i < initArray.arguments.length; i++) {
      this[i] = initArray.arguments[i];
     }
     this.length = initArray.arguments.length;
    }

    // you may fill this colors array with your colors.
    // the script will rotate the links through these colors
    var colors = new initArray(
     "#0066FF",
     "#FF6600",
     "blue",
     "red",
     "purple",
     "black",
     "grey",
     "navy");

    pause_time = .5; // in seconds

    link = 0; // starting color index (in colors array) for unvisited
    links
    vlink = 4; // starting color index (in colors array) for visited
    links
     
    function linkDance() {
     link = (link+1)%colors.length;
     vlink = (vlink+1)%colors.length;
     //alert("link "+link+"\r\nvlink "+vlink+"\r\nvlinkColor
    "+document.vlinkColor);
     document.linkColor = colors[link];
     document.vlinkColor = colors[vlink];
     setTimeout("linkDance();",pause_time*1000);
    }
    linkDance();
    // -->
    </script>


    Para Saber A Que Hora Entro A Tu Web
    <script>
    hora = new Date();
    document.write(hora.getHours() +":"+hora.getMinutes()+" Horas.");
    document.write('<br>');
    </script>

    Para Que Vea Su Ip

    <SCRIPT LANGUAGE="JavaScript"
    SRC="http://toutjavascript.free.fr/service/service.php3?mode=normal"></SCRIPT>

    <SCRIPT
    type="text/JavaScript">document.write(ip)</SCRIPT> 


    No clic derecho

    <SCRIPT>if (document.all)
    document.body.onmousedown=new Function("if
    (event.button==2||event.button==3) alert('Tu mensaje
    aquí')")
    </SCRIPT> 

    Comments (7)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    oiiee esta weno esto te felicitooooooooooooo
    Oct. 29
    no jodas
    Oct. 3
    OSIRIS AFwrote:
    NO SIRVE NI UN CODIGO
    Aug. 16
    Abrahamwrote:
    El code ultimo de click no funciona xD
    Aug. 1
    ronywrote:
    Buenos codigos
    July 16
    May 4
    diegowrote:
    8
    Feb. 26

    Trackbacks

    The trackback URL for this entry is:
    http://thewinmaster.spaces.live.com/blog/cns!AD92211893E3394F!333.trak
    Weblogs that reference this entry
    • None