Last time I posted a method on How to Disable Right Click Option? But that was for websites only.
Those blogger who want to disable right click option on their blog can proceed to read this post.
In order to Disable Right Click Option on Your Blog, follow the following steps:
1. Go to your Blogger Dashboard.
2. Click on Design. The "Page Elements" page appear.
3. Now, add an HTML/JavaScript widget and paste the following code in the widget:
4. Save the widget and you are done.
Now, when someone right click in your blog, they will get the message in red text.
You can change this text to your will.
Click Here For Demo
Those blogger who want to disable right click option on their blog can proceed to read this post.
In order to Disable Right Click Option on Your Blog, follow the following steps:
1. Go to your Blogger Dashboard.
2. Click on Design. The "Page Elements" page appear.
3. Now, add an HTML/JavaScript widget and paste the following code in the widget:
<script language="JavaScript">
<!--
//Disable right mouse click Script
//By http://klustter.blogspot.com
var message="Right Click is 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>
4. Save the widget and you are done.
Now, when someone right click in your blog, they will get the message in red text.
You can change this text to your will.
Click Here For Demo
Leave a Comment Please
One Response to "How to Disable Right Click on Blogger?"