MAKKAN

GSM SOFT

Gsmsoftservice.info

TRICKS TO ENJOY

Disable Right Click and copying the content in Blogger / Blogspot Blogs

 

It is too easy to disable Right Click on your BlogSpot or blogger blog, so that you can protect your blog from content thief.  The following code actually disables the mouse action on your blog.
There are many people who directly copying the content of your blogspot blog and pasting it their own blog,
This trick is also the good way to increase traffic of your blog, people can not store your content at anywhere, so every time they need to read the content, each time they require to visit your blog.
But rememer that it may affact some good users of your blog also, as many people may require the content in same form for other perose.
So if you want to disable Right Click of mouse for your blogger / Blogspot blog, just do following.
Step 1 : Go to Dashboard > Layout > Add Gadget > HTML / JavaScript
Step 2 : Copy the following code and paste it there.
<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=”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>

 

No comments:

Post a Comment