You must have noticed that most of blogger sites have disabled copy paste and right click function, so that their hard work on writing blog cannot be copied by others.
Here’s the trick to use this function.
For disabling right click function:
You’ll need to add new html/javascript element to your layout.
Now go to your blogger account.
Navigate to Layout >> Add a GadGet >> and select html/javascript
Then copy the next code and past in in html/javascript text box area
<script language="JavaScript">
<!--
//Disable right mouse click Script
//By Cyber World (contact@esoftload.info) w/ mods by Software Store
//For full source code, visit http://www.esoftload.info
var message="Function Disabled!";
///////////////////////////////////
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>
then save the html/javascript. and view you blog.
when you try to do right click. a message will tell you that “Function disabled”
and if you want to change this words” Function Disabled”
find the next line in the code
var message="Function Disabled!";
and change Function Disabled! to what ever you want.
For disabling copy paste function:
Log in to Blogger, go to Layout -> Edit HTML
And mark the tick-box “Expand Widget Templates”
Now find this in the template:
<head>
And immediately BELOW/AFTER it, paste this code:
<!--Disable Copy And Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
Click on Save Template and you are done.













Well, copying of articles has been a major problem for all bloggers. Disabling right click really serves the purpose. Also, you can add a creative common license, just to announce your readers that your work is copyrighted and you wont tolerate copying of your articles. This can really help in reducing content theft.
Rajesh Chaukwale recently posted..Hack-Bypass Rapidshare- Get Free Rapidshare Premium account benefits
I have used that But people can copy using keyboard.
senthil recently posted..ஏப்ரல் மாத சுற்றுலா செய்திகள் – April News