Today the articles, photos are copied by others is a common in web. The blogger can disable others in coping their articles and photos he own. The process is very simple. I came to know this method from simplex and for main source you may visit Dynamic Drive.
Here you just embed a JavaScript in your blogger template and it works. Here is the tutorial for you.
Step 1: Go to Dashboard. Then, click Layout.
Step 2: Click HTML/JavaScript and paste the following 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="No 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>
Step 3: You may change No Right-Click! in any other message. So change it according you choice.
And, friends you may check it now. Yes you disable others for any right click. But remember, it may not completely prevent your articles from some very experienced web users. So, it better to register your blogger blog at . The site helps you to check whether your contents are copied by any blogger or website. You may check it here now.
I also see similar resources available in other blogger blogs. You may visit techknowl, blogger tips and tricks or myblog-log. They explained with different JavaScript.
We see here disabling the content is necessary and you try to prevent the same. I guess, you try for it!
Stay with me and happy blogging :)
Subscribe to updates |
Post a Comment