- 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
Fri Mar 07, 2014 10:37 am by dede alsyahri
» Cara Membuat Blog Menjadi Transparan
Thu Oct 24, 2013 3:17 pm by andik rongolawe
» CHEAT HACK TITTLE BARET RPE (MENJELANG HARI KEMERDEKAAN 17 AGUSTUS 2012)
Wed Aug 15, 2012 11:01 am by HAPPY CHEAT COMUNITY
» Cara Memberi Pasword Pada Folder
Sat Mar 10, 2012 10:24 pm by achman
» HACK BILLING DENGAN CHEAT ENGINE
Wed Sep 14, 2011 5:26 am by renaldi312
» Spongebob (For UPDATE)
Sat Apr 30, 2011 1:58 am by edocosma
» Trik Hilangkan Waktu Tunggu 4shared
Sat Apr 30, 2011 1:50 am by edocosma
» MotoGP 2 (Rip) - 230 MB
Thu Apr 28, 2011 10:53 pm by edocosma
» OpenOffice.org 3.4.0 Beta 1
Thu Apr 28, 2011 10:51 pm by edocosma