Wednesday, 9 December 2015

How to Disable Right Click in Blogger Blog 2015-2016

{ *How To GuideDisable Right Click in Blogger Blog, Want to Disable Mouse Right Click Button on Blogger Blog } Tutorial about how to add Mouse Right Click Disable Script in Blogger Blog ( protect your copyright content from being used in any other website.)

Have you ever noticed? that in some websites or blogger blog do not allow their visitors to USE Mouse Right Click button,So that we can not copy anything from their blog.

In this post i will be sharing how you can also Disable Mouse Right Click Button on Blogger Blog, Here is the latest Java Script to protect your copyright content from being used in any other website.



How to Disable Right Click on Blogger Blog

Follow these steps to add Disable Right Click on Blogger Blog ( Java Script)

1) Log in to Blogger Dashboard --> Layout

2) Click on 'Add a Gadget' on the sidebar

3) Select 'HTML/Javascript' and add the code given below and click save.

---------------------------------------------------------------------------------------


<script language=JavaScript>
<!--
//Disable right mouse click JavaScript
//By HackerSpedia
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>


After Saving Visit Your Blog When you will try to do Right Click, a message will tell you that "Function disabled" , and if you want to change this words” Function Disabled” Then simply find it in code and replace it. 

By Using this Script you can protect your Images and Copyrights Content from Being Use in Other Websites

No comments:

Post a Comment