Disable Mouse Right Click in your website

You are noted, that some sites don't permit their visitors to use right mouse click while pointer is in the blog. This method is helpful for the website or blog owner, who needs to minimize the possibilities of the content copying.

Right click on any web browser is imperative element and we must use it with regards to duplicate or altering texts and so on. It's so important when it come to webmaster too. At the same time some people may use in a wrong way and you may need to make click right disabled on your blogger blog or website to secure you content, pictures links and so on.


Following are the simple steps to Disable Right click in Blogger Blog.

Step # 1: Login to your account and go to Layout > Add a Gadget


Step # 2: Select the HTML/Javascript widget



Step # 3: Copy the following code and paste into the HTML/Javascript widget box

<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>
Step # 4: Save the HTML/javascript widget and view your blog. The Right Click is Disable in your blog.

Comments

Popular posts from this blog

Youtube Video Presentation

Create Quality and ClickBait Thumbnail

How to hack wifi using backtrack