Fazeera Kahar
Short Profile
Dashboard +Follow

The site welcomes colorful and bright people! but if you are RIPPERS , SPAMMERS or HATERS , I will kick you out of my site ! Feel free to roam around !

Hot Clicks

Be My Friends


Memories



Big Claps

Template is 100% made by Fazeera Kahar
All rights reserved ® Fazeera Kahar 2011-2017


posted on Saturday, August 13, 2011 | Add comment [0]


Hello semua . faz kat sini nak ajar pulak cemane nak buad disable right-click dengan
alert2 sekali ! haa suka ann ? ann ? takde lah korang punye post diciplak oleh 
copycats2 di luar sana kan ?

meyh sini faz ajar ye .

1. dashboard > design > page element > add gadget > html/javascript
2. copy code ni then paste kat ruangan tu ye .

<script language=JavaScript>
<!--

//edit by unwanted


var message="
Tulis message alert anda";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.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")

// -->
</script>

* haa ! yang faz merahkan tu korang tulis lah ape2 yang korang nak erk .
 3. mm rasenye dah siap ! save tau . tinggalkan la satu-dua comment utk faz .

toceh !



Post a Comment