Tutorial Disabled Right Click With Alert
Saturday, [1] Stalker

Photobucket

Okay today , zakirah nak tunjukkan cane nk buat disabled right click with alert , yg with no alert , nnt zakirah tunjukkan kn nnt yeh .


1) Dashboard>> Design>> Page Elements>> Add A Gatget>> HTML/Javascript

2) Copy and paste code di bwh:

<script language=JavaScript>
<!--

//edit by unwanted


var message="URL MESSAGE HERE";

///////////////////////////////////
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>



URL MESSAGE HERE tu , tukar dgn ayat korang la ehh . goodluck :D



Disclaimer
Welcome to my world


Hello Hi. Welcome to Princess Rawrr. I dont used to "follow me, i'll follow you back". Hate my blog, fine. We almost always see only what's wrong with other people and not what's wrong with us. Best view Google Chrome

Le owner Le stuff Le entry

Taggie Board
Tell me something fun



Music Here
Music describes what words cant

Shut up and enjoy the music



Twitter | Facebook | Tumblr