TUTORIAL: Right Click Disable Without Alert.

Nak? Hehehehe.

Hah...kan Ain ada buat tuto right click disable kan? Apa bezanye dgn yang ni? Yang ni kalau kita nak copy, dia tak keluar message, dia just tak boleh. Haha. Apa apa jela. So nak try? Mari ikut step ini.

First step - Dashboard >> Layout / Design >> Add a Gadjet >> HTML/JavaScript.

Second step - Copy code di bawah ini dan paste kan:

<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dauspozi.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>

Last step - SAVE dan try jadi tak? Hehe. Selamat mencuba!

Nak lagi??? Tekan TUTORIAL ok!

No comments:

Post a Comment

Ce komen ce komen :)