Disabling right click in Blogger websites is really easy as it does not need any technical knowledge you simply have to copy and paste some script into your <body> and that’s it everything is done.
Now why will anyone want to disable the right click in their website,Well there can be many reasons but the main reason which comes to anyone's mind is the content copying and the page source viewing well there are many another ways to view the source or copy content as you can see on my website I had also applied this script earlier which disables the right click on website but recently I just removed this script as many people were having problems.
So you can check out the steps below for disabling right click on Blogger Blogs and protecting your content from being copied.
- Go to Blogger > Template > Edit HTML.
- Now press
Ctrl +F and search for</body>
tag & paste below code above it.
<script language=javascript>
<!--
var message="";
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
That’s it now click on Save Template Button, now script is up and running on your blog just check it out refresh your blog and try to right click you will not be able to do that, ask your readers to do this thing.
(COMMENTS WILL LOAD AUTOMATICALLY)