Here’s a great tip that can protect your blog content from thieves. Vijay Prakash shows you how by disabling the right click of your Blogger. By doing this, you’ll be able to keep others from copying your precious work.
Below are his simple steps:
- Go to Blogger Dashboard > Layout > Add a Gadget.
- Select HTML/Javascript.
- Paste the code below inside it:
<script language=javascript>
<!--
//Disable right mouse click Script
var message="Maaf !!! Klik Kanan Tidak Berfungsi ... Gunakan CTRL C untuk mengcopy !!!";
///////////////////////////////////
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 the gadget then save the layout.
0 komentar:
Posting Komentar