script yg mematikan fungsi klik kanan secara menyeluruh
PASTEKAN SAJA DI GADGET: HTML/JAVASCRIPT .
KEBAWAH script yg mematikan fungsi klik kanan secara menyeluruh
==================================
<script type="text/JavaScript">
//Script courtesy of d'code
var message="NoRightClicking";
function defeatIE() {if (document.all) {(message);return false;}}
function defeatNS(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=defeatNS;}
else{document.onmouseup=defeatNS;document.oncontextmenu=defeatIE;}
document.oncontextmenu=new Function("return false")
</script>
<script type="text/JavaScript">
//courtesy of d'code88
function killclickmouse(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=killclickmouse
document.onclick=reEnable
}
</script>
KEMBALI