" But when along train of abuses and usurpations, pursing inviably the same object, evinces a design to reduce them under absolute despotism , it is their right, it is their duty to throw of such their goverment and provide new guards for their fucture security."

မိမိ Blog မွာ Right Click အသံုးျပဳခြင့္ ပိတ္ထားျခင္း

မိမိရဲ႕ပို႔စ္ေတြ လင့္ေတြ ပံုေတြကို တစ္ျခားသူ မကူးယူႏိူင္ေအာင္ကာကြယ္တာပါ။ အဲတာေလးကို ထည့္ထားၿပီးရင္ေတာ့ မိမိရဲ႕ဘေလာ့မွာ Right Click ေပးတိုင္း Disable Right Click ဆိုၿပီး Dialog က်လာပါလိမ့္မယ္။ ေအာက္ကအတိုင္းလုပ္ပါ။

၁. Blogger Account ကုိ Sign in လုပ္ပါ။
၂. Design ထဲ၀င္ပါ။
၃. Add a Gadget ကိုႏွိပ္ပါ။
၄. HTML / Javascript ကိုေရြးေပးပါ။
၅. ေအာက္က Code ကိုထည့္ေပးလိုက္ပါ။
<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=" Disable Right Click  ";

///////////////////////////////////
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>
၆. Save ေပးလိုက္ပါ။

No comments:

Post a Comment

အခုလို လာေရာက္အားေပးၾကတာ အထူးပဲ ၀မ္းသာ ပီတိျဖစ္ရပါတယ္ဗ်ား ... ။ေက်းဇူးအထူးတင္ပါတယ္။
ေက်ာ္ထက္၀င္း နည္းပညာ (ဘားအံ)
www.kyawhtetwin.blogspot.com

Related Posts Plugin for WordPress, Blogger...