1 Silent Reader [s]
Home Twitter Facebook Instagram YouTube Follow
GadisBOO
entries profile tagboard links



16 December 2011
Tutorials: Disable Right Click Without Alert @3:50 pm | 0 individual(s)

Heyy korangg .!
Haa.. kat sini , irnaa nak share kat korang ciket ... Cam ner nak buat ?? Bila orang tekan right click... takkan keluar alert message... dan tuto ini jugak .. tak kan boleh copy entry org ok ?

>> Ikut step di bawah ^^ <<

1. Dashboard > Design > Add Gadget > Pilih Html/JavaScript
2. Copy code di bawah .. and paste dekat ruangan html/javascript tuh :
<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 korang laa );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>
3. Da siap . SAVE:)

  • Warna merah : message untuk belog korang ^^

Labels: