How To Disable Copy Paste in Blogger

Disable Right Click / Selection in Blogspot Templates



Most of the Genuine Blogger like us faces the problem of content duplicity. Generally the New Born Baby bloggers donot understand the value of quality content building, rather they try to be smart. They choose a topic-> gather contains on the topic from several sites -> Merge the details & publish as their own contains.


These days Duplicity has become a major concern area in field of blogging. There are two way to protect your valuable contents.


1) Disable Right Click:-  Its a very old Trick. The main problem with  this trick is that it may on work on All Web Browsers.


Step 1:-

Login to your Blogger Account-> Goto your Blog "Design" -> Click on "Edit HTML" -> Tick on "Expand Widget Templates"

Step 2 :-

Find:-   </body> in Coding (Copy ->Control F -> Control V & Enter).

Step 3:-

Just above it, paste the following :-


&lt;script language=javascript&gt;
&lt;!--
var message=&quot;&quot;;
function clickIE()
{
if (document.all) {
(message);return false;}
}
function clickNS(e)
{
if (document.layers||(document.getElementById&amp;&amp;!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(&quot;return false&quot;)
// --&gt;
&lt;/script&gt;



Save the Template.

Now Check your Blog. Right Click is Disabled.

2) Disable Selection on Your Blog:- I Believe This is the best trick for Protecting your blog contents from getting copied. It will not disable right click rather it will not allow visitors to select your content by Mouse or Cntr+A. If they cannot select the contents, they cannot copy it.


Step 1:-

Login to your Blogger Account-> Goto your Blog "Design" -> Click on "Edit HTML" -> Tick on "Expand Widget Templates"

Step 2 :-

Find:-    </head>  in Coding (Copy ->Control F -> Control V & Enter).

Step 3:-


Just Below it, paste the following :-

<!--Disable Copy And Paste Start-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<!--Disable Copy And Paste End-->


Save the Template.


Now Check your Blog. Selection is Disabled.



Please Share, if you find it Useful.

7 comments:

  1. Thanks Admin. It worked.

    ReplyDelete
  2. Thanks Neetu, It really Works - Marry

    ReplyDelete
  3. Thanks its really work on my blog......

    ReplyDelete
    Replies
    1. you are welcome Free4u. I have seen your all the blogs. They really nice. Don't you have google adsense?

      Delete
  4. Thanks man. Not only the first option works but it also allows to use the search bar (the second option blocks it)

    ReplyDelete