Home BloggingBlogger How to disable both Copy and Paste & Right-Click on your Blog
How to disable both Copy and Paste & Right-Click on your Blog

How to disable both Copy and Paste & Right-Click on your Blog

written by Johnson Daniel April 24, 2018

Nowadays, most bloggers copy post from other bloggers that are in their niche and paste it to their own blog without seeing the fact that there are consequences attached to it. Professional bloggers find these things wrong because it affects the SEO(Search Engine Optimization) of their blog. Google which is the most popular search engine in the world, hates ‘Copy and Paste’, they termed it ‘Plagiarism‘ which means ‘Wrongful appropriation‘. From the definition, we can say that anyone who does this is a theif, and besides your blog will never be ranked high on Google.

How to disable copy and paste function on your blog

 

  • Go to your blogger account;
  • Go to your “Layout” tab in the left side of your blogger;
    How to disable both Copy and Paste & Right-Click on your Blog
  • Click on “Add a Gadget”(Put it anywhere, the sidebar, lower bar, footer);
    How to disable both Copy and Paste & Right-Click on your Blog
  • Now choose the “HTML/Java Script;
    How to disable both Copy and Paste & Right-Click on your Blog
  • The blank space for entering script will show in the window, paste the script below in the blank space:
<!- start disable copy paste –><script src=’demo-to-prevent-copy-paste-on-blogger_files/googleapis.js’></script><script type=’text/javascript’> if(typeof document.onselectstart!=”undefined” ) {document.onselectstart=new Function (“return false” ); } else{document.onmousedown=new Function (“return false” );document.onmouseup=new Function (“return false”); } </script>
<!– End disable copy paste –></!->
 
You might be wondering how can I copy this when the Copy and Paste is already enabled in my blogger, the link to copy this script is here. This copy and paste works on most browsers but it doesn’t work on Opera Mini and UC Mini.

How to disable Right-click on your  blog

  • Go to your blogger account;
  • Go to your “Layout” tab in the left side of your blogger;
    How to disable both Copy and Paste & Right-Click on your Blog
  • Click on “Add a Gadget”(Put it anywhere, the sidebar, lower bar, footer);
    How to disable both Copy and Paste & Right-Click on your Blog
  • Now choose the “HTML/Java Script;
    How to disable both Copy and Paste & Right-Click on your Blog
  • The blank space for entering script will show in the window, paste the script below in the blank space:
<script language=javascript>
<!–
 
//edit by Foxxtek
 
 
var message=”Right Click Has Been 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>
The link to the code – here. Perform both tasks to get complete protection of your blog.

Related News

3 comments

Shawn Roberts July 19, 2017 - 8:27 am

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore.

Reply
Shawn Roberts July 19, 2017 - 8:28 am

Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil.

Reply
Shawn Roberts July 19, 2017 - 8:28 am

Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere.

Reply

Leave a Comment