Halaman

Isnin, 14 Februari 2011

~cmane nk disable right click kt blog??~

hye ^_^
actually dh lme dh trpk nk wat entry pasal bnde nih
tp sbb kn idea yg dh mmbuak2..
hahahah
(sgt laa..)
terlupe lak nk share ngn blogger laen
especially my sista
yg kateny kne wat blog as assisgnment
yeay!!!
mmg the very the interesting pny work..
hahahah

ape die ni disable right click??
cm nih cite die..
kdg2 kite rse ade jek pihak2 yg xbest suke2 nk copy bnde kt blog kite
especially entry kite..
so bile kite wat cmnih
diorg xleh ler nk suke2 copy n paste
bkn nk kate kite ni kdekut bebeno
tp takotlaa lau disalah gunekn kn??
haaa..
paham??
bagus..bagus..hehehe

kt cni aku bg step by step yg terpaling mudah
haa..
dh 'ter' 'paling' lg
lau SPM ni dh kire nk fail dh paper BM aku
ehehehe

  1. copy code yg aku dh taruk kt bwh ni.
  2. pastu g kt dashboard > edit layout > add gadget > edit HTML/JavaScript
  3. pastu paste kn code kt situ
  4. n korang save..
<script language="JavaScript">
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Function Disabled!";

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

    stlh korang meng'save' kn gadget yg br korang tmbh td..
    korang try ler view blog korang
    & try right click
    nnt akan kuar message kate function disabled
    haa..yg best nye kt cni..
     korang blh tukar msg korang
    klu korang xnk pkai wording 'function disabled' tu
    aku dh wat kaler merah kt wording kt code kt atas ni,
    so korang tinggal tukar jek sesuke hati jiwe rage korang..
     contoh.. 'alamak..sape soh copy nih?kn dh xboleh..heheh'
     so stiap kali ade org try nk right click kt blog korang,
    akn kuar laa warning nih??
     x caye??
    cube wat kt blog aku??
     amacam..best x??
     try tau..jgn xtry..
    hehehehe.. ^_^

Tiada ulasan:

Catat Ulasan

Related Posts Plugin for WordPress, Blogger...