#Erfanani
Saturday, June 25 | 1:21 AM | 2 strawberriess
Cik Erfa menaip...

okay, hari ini Erfa nak ajar macam mana nak buat disable right click nih tanpa alert.
senang saja noks ~
jum kita mulakan :)

1. dashboard > design > add a gadjet > HTML/javascript.
2. then, copy code kat bawah ini yee dan paste kan di content :)
<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>
3. and dah siap :) senag bukan? then, save jelah :)


?

Given name, Norerfa Nani. Born on 10th May 1997. I'm a big fans of JUSTIN BIEBER. Forever a BELIEBERS
orang skodeng blog saya.

Ask me | Facebook

Leave your footprint here. Thank you.


Follow my Twitter: