But some people may use it in a bad way or even illegal acts without permission re-publish images or text without leaving the info source image or text, and as owner of the website / blog you might not want to have some content in your website or blog copy without permission , therefore you can use the option disable right click or disable right click on your blog to protect your text, links and pictures etc .
So all what you have to do is just a simple step, How to disable right click on the blog are as follows:
- Go to your account blogger > Page Layout Elements.
- Click Add Gadget > Choose HTML / Javascript.
- Copy and Paste the following code in it.
<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="Sorry again routine maintenance. Please try again. Please use Ctrl + C";
///////////////////////////////////
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>
- Click Save.
Example NOTE :
Blue-colored HTML sentence you can replace with the desired sentence, eg "banned right click" and others. To replace the above code.
Hopefully Helpful