25 May 2011

2 aq panas btol lah !

sesori banyak2..sebab kemangkukan ckit internet disini..
menyebabkan entry yg aq nk post td tergendala..
dan aq pon dh panas menengok nye..
smpaikana aq tros delete je..hahahaha
kejam x aq.. =DD
tang ni aq nk kasi tunjuk ckit..
cm ne nk show html code kt dlm blog post korang..
korang kene g kt laman web nie dlu..
pas tu korang paste la code yg nk ditunjukan kn tu...
dan tekan encode..t dye akan tukar ckit2 code html korang..
n then korang leyh la post code html tu.. =)

mcm yg aq pnyr nie...
ni contoh code utk disable right click..

<script language="JavaScript">
<!--

var message="jgn copy !!!";

///////////////////////////////////
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>
hahaha..menjdi kan???

utk sesape yg kedekut..xmau bg org copy blog entry dye..
korang bule copy code kt atas nie..
pastu g kt Dashboard > Layout > Add Gadget > HTML / JavaScript...
dan paste n save ! haha..
kompom pas ni org mesti berbulu nk copy blog ko.. =)


utk orng yg nk mengopy jgk blok yg dh disable right click tu..
leyh la usya link neyh...link neyh aq bru je post semalam..hik3
Right click disable

2 comments:

Anonymous said...

Ctrl A + Ctrl C + Ctrl V. tapayah guna kelik kanan dah. :p

Mr.Freeze a.k.a Izmal said...

kalu blogger tu disable highlight..x bule jgk.. ;)

Post a Comment

Related Posts Plugin for WordPress, Blogger...