Tuesday, August 27, 2013

ကိုယ့္ Blog က ပို႕စ္ေတြကို ေကာ္ပီကူးလုိ့မရေအာင္လုပ္နည္း

ဒီေန႕ေတာ့ အဲဒီလို ကိုယ့္ Blog က ပို႕စ္ေတြကို

တစ္ျခားဆိုဒ္ေတြမွာ ေကာ္ပီကူးျပီး  မတင္ေစခ်င္ႀကတဲ့ သူငယ္ခ်င္းေတြအတြက္ နည္းလမ္းေတြ မွ်ေဝေပးလိုက္ပါတယ္။

ပထမဦးဆံုး မိမိ Blog ကို Sign In လုပ္ျပီးေတာ့ Design >> Layout >> Add a Gadget >> HTML/JavaScript မွာ

ေအာက္မွာ ေပးထားတဲ့ကုတ္ကို ထည့္ျပီးေတာ့ Save လုပ္ပါ။ အဲဒီကုတ္က Right Click, Select ႏွစ္မ်ဳိးစလံုး လုပ္လို႕

မရေအာင္ ကာကြယ္ေပးပါလိမ့္မယ္။ ဒါေပမယ့္ ဒီနည္းက ေကာ္ပီမကူးႏိုင္ဖို႕ 50% ေလာက္သာ ကာကြယ္ႏိုင္မွာပါ။

ဘာေႀကာင့္လဲဆိုေတာ့ ကိုယ္တုိင္မေရးပဲ သူမ်ားပို႕စ္ေတြကို လိုက္ျပီး ေကာ္ပီကူးေလ့ရွိတဲ့သူေတြက ဒီနည္းလမ္းကို

ဖြင့္တဲ့နည္း သိထားတတ္ႀကလို႕ပါ။ အဲဒီအတြက္လည္း ေအာက္မွာ ေနာက္ထပ္ကုတ္တစ္ခု ထပ္ေပးထားပါတယ္။


<script language="JavaScript">
<!-- Disable
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//-->
</script>

အေပၚက ကုတ္ကို ထည့္ျပီးသြားျပီဆိုရင္ ေနာက္ထပ္ နည္းလမ္း Design >> Template >> Edit HTML ကိုႏွိပ္ျပီး

Template ကုတ္ေတြထဲက </head> ကို ကီးဘုတ္က Ctrl + F ( သို႕ ) F3 ႏွိပ္ျပီးေတာ့ Search Box မွာ ရိုက္ရွာလိုက္ပါ။

ကုတ္ေတြ မေပၚဘူးျဖစ္ေနရင္ေတာ့  ကီးဘုတ္က F11 ကို ၂ ခ်က္ႏွိပ္လိုက္ပါ။ ဒါဆို ကုတ္ေတြ ေပၚလာပါလိမ့္မယ္။

အဲဒီမွာ </head> ကိုေတြ႕ျပီဆိုရင္ ေအာက္မွာ ေပးထားတဲ့ကုတ္ေလးေတြကို </head> ရဲ႕ အေပၚမွာ ထည့္ျပီးေတာ့

Save ကို ႏွိပ္ပါ။ ဒါဆို သင့္ Blog က သင္ကိုယ္တုိင္ ေရးထားတဲ့ပို႕စ္ေတြကို သူတစ္ပါး ေကာ္ပီမလုပ္ႏုိင္ေတာ့ပါေႀကာင္း..

<style>
body {
-moz-user-select: -moz-none; 
-khtml-user-select: none; 
-webkit-user-select: none; 
-o-user-select: none; 
user-select: none;
}
</style>


No comments:

Post a Comment

အသိေပးစာ

Website အပြောင်းလဲ လုပ်နေပါသည်

uuuuuuuuuuuu

Blogger Tips and TricksLatest Tips For BloggersBlogger Tricks