Assalamualaikum u all..
Hye,hari nie arrien nak buat tuto untuk blogskin pulak.. Tuto hari nie ialah disable right click,so kalau orang nak copy entry korang kew tak boleh la kan,.. :D
oke lets cheack it out!!
1.Dahsboard > Template >Edit HTML.
2.Kemudian korang tekan Ctrl+F and cari code <head>.
3.Copy code dibawah nie and paste kan bawah code <head> tadi tu yea.
<script language=JavaScript>
<!--//Disable right mouse click Script
//By Dynamicdrive (renigade@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE4(){
if (event.button==2){return false;}}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){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("return false")// -->
</script>
4.oke done,preview and save oke.
*Comment lah kalau menjadi ;)
1 Comments