Friday 12 July 2013

How To Disable Right Click In Blogger / Blogspot

Posted by Ronak
How To Disable Right Click In Blogger / Blogspot
Hello my friends!! today we will learn how to disable right click in Blogger / Blogspot blog. have you noticed on many websites / Blogs does not allow you to right click on their Blog this is because they have done some changes in their html. by adding some html code.
this feature is very useful for every Blogger Blog owner

so that no one can copy their article / posts 

so are you thinking how to do this ??? don't worry it is not a difficult task it only take some minutes :)

Advantages of disabling right click on your Blogger / Blogspot Blog
Disable right click so that no one can copy your articles, images, pitures, links etc from your blogger blog.

So How To Disable Right Click on Blogger / Blogspot Code :

Step 1) Login to Blogger

Step 2) Go to Dashboard > Layout > Add Gadget > and choose Html / JavaScript. as shown in the below figure.

Step 3) Copy this below code and paste it in content area.

<script language=JavaScript>
<!--

//Disable right mouse click Script
//By HackerX4pc
//For full source code, visit http://www.hackerx4pc.blogspot.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>








Tags:
How to, disable right click, blogger, how to disable right click in html, how to disable right click in blogger, blogspot, how to disable right click in blogger/blogspot blogs, how to disable right click on blogger for pictures.

Read More