XP-DARK Forum

SELAMAT DATANG DI XP-DARK


SILAKHAN LOGIN DAN DAFTAR

PERATURAM SEBELUM MASUK:
1.DILARANG MEMBERIKAN KEPADA MEMBER/PNGUNJUNG BLOG/WEBSITE HACKER
2.NO SPAM
4.BACA ATURAN SEBELUM TULIS THREAD

Indonesian Inspired Comunity

WELCOME TO XP DARK FORUM ! | BACA FORUM RULES | JANGAN ASAL MENULIS Thread | NO SARA/S*X/FLOOD | AVATAR NO S*X/SARA | Thanks For INVITE Very Happy | HAPPY Browsing ! |

    SC Anti CTRL+C DAN V DAN ANTI KLIK KANAN

    Share
    avatar
    edocosma
    XP-DARK Administrator
    XP-DARK Administrator

    Jumlah posting : 90
    Reputasi : 0
    Join date : 02.04.11
    Age : 22
    Lokasi : Muara Bulian

    SC Anti CTRL+C DAN V DAN ANTI KLIK KANAN

    Post by edocosma on Thu Apr 21, 2011 4:49 am

    Code:
    // disable keydown ctrl c & v

    <script language="[color:0821=#009900 ! important]javascript">
    function onKeyDown() {
    alert("dilarang [color:0821=#009900 ! important]copas"); // commentnya
    // current pressed key
    var pressedKey = String.fromCharCode(event.keyCode).toLowerCase();
    if (event.ctrlKey && (pressedKey == "c" ||
    pressedKey == "v")) {
    // disable key press porcessing
    event.returnValue = false;
    }
    } // onKeyDown
    </script>




    //Disable klik kanan di mouse kamu


    //pesan yang akan ditampilkan bila kamu klik kanan
    var [color:0821=#009900 ! important]message="Maaf Tidak Boleh Copy Paste dengan Click Kanan";

    //Kode selanjutnya merupakan fungsi untuk mendisable klik kanannya
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }
    function clickNS4(e){
    if ([color:0821=#009900 ! important]document.layers||document.[color:0821=#009900 ! important]getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    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("alert(message);return false")







    credit javascript.internet.com/www.javascript.com

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Tidak
    Mau kena Warn / Banned ? Baca Disini

    - No Double Posting
    - No Junk
    - No OOT
    - No Sara
    - No Flaming
    - No Capslock Berlebihan





    __________________________________________
    XP-DARK GALERY , OPEN NOW !:







    INSPIRASI XP-DARK FORUM:
    I'AM ADMIN king
    I'AM LOVE CHEATER Laughing
    I'AM NOT NEWBIE Wink
    I'AM NOT LOVE OF LECHERRR Mad Mad XP-DARK
    FACEBOOK>http://www.facebook.com/group.php?gid=303861866308&v=wall

      Waktu sekarang Tue Jun 27, 2017 2:53 pm