how to disable copy paste in blogger blog 2024

how to disable copy paste in blogger blog 2021
hello friends, today I'm gonna tell you how to disable copy paste in blogger blog 2024
how to disable copy paste in blogger blog 2021
how to disable copy paste in blogger blog 2024-cosmicy.blogspot.com
I have 2 methods, 

1st methods


If you have the following questions in your mind, then this post will give you a solution for this.


How to disable text selection in blogger?
How to protect your blog content from copying?


In my first blog post, I gonna told you why you should start blogging. But as time passes you will get to know that there are so many wicked people around here who will steal content from your blogs by copy-pasting.

To prevent them all you have to do is apply the HTML/Javascript of disabling text selection in your blog.
I know you are not an expert like me. But I have found this script that will disable copy option on your blog. Remember this it will not disable right-click. 

Here are the steps to remove copy paste option on your website:

Step 1: Go Layout Tab on the Left side of blogger menu.



add html/javascript to blogger


Step 2: Click on Add a Gadget. (You can choose anywhere on the sidebar or lower bar or footer as this won't appear.)


blogger tips


Step 3: Now choose the widget name HTML/Javascript.



The blank space for entering the script will show in the window. Paste the below-mentioned script.


<!- 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 --></!->

and click on save.

TIP: I have also applied this script and currently it is ON. so you cant copy this script from here. so I have provided a link from where you can copy this script. There are no side effects [Your blog's SEO will not be affected].


2nd method

how to disable copy paste in blogger using CSS

How to disable copy-paste in Blogger blog: If your blog is created on Blogger and another blogger-user is copying the content of your Blogspot blog and pasting it on your blog, then how to stop it, you Full information will be found in this post. Now many people do the same thing to earn quick money on their blog.

When new bloggers see a well-established blog, they are more likely to copy site content. Of course, they start copying its content and pasting it on their blog. Because they want to earn money online from their blog but do not want to make some efforts to create some real content for their blog.

In my opinion, it is disgusting. As you know, when we write a comprehensive blog post, it takes at least 5 to 8 hours, i.e. we work hard to create unique and genuine content for our sites, but there are many so-called bloggers who Call themselves bloggers. But in reality, they are not.

They start copying our content and pasting them on their sites. The post that we write in 5 to 8 hours, they copy it and paste it on their blog in just one minute. This affects our sites very badly. As you know, sometimes Google or other search engines rank that copy-paste blog higher than us.

To avoid this, we have two methods with which you can disable copy-paste on your blogger website.



1. How can I close Copy and Paste on Blogger?

You can disable copy-paste on your blog using JavaScript code. After using this code, no part of your site will be able to be copied. To permanently disable the copy-paste feature on your site, copy the code below and paste it above the </head> tag of the template, and finally, save the theme.

<script language='JavaScript1.2'> function disableselect(e){ return false } function reEnable(){ return true } //if IE4+ document.onselectstart=new Function (&quot;return false&quot;) //if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>

Note: - This code is not so effective because after disabling JavaScript in the browser the content of the site can be copied very easily, so I will not repeat this method at all. Because this method is very useless when someone disables JavaScript. To avoid this, use another method.

2. How to disable copy-paste except for the code on Blogger?

This is the best way to disable the copy-paste option on the Blogger site because the CSS code is not as heavy as the JavaScript code which does not affect the speed of your site too much. While JavaScript slows down your site.


Copy the CSS code below and paste it on the tag of]]> </b: skin> Blogger template and finally save the template.

body{user-select:none!important;-moz-user-select:-moz-none!important;-webkit-user-select:none!important;-ms-user-select:none!important}.post-body blockquote,.post-body code,.post-body pre{user-select:text!important;-webkit-user-select:text!important;-ms-user-select:text!important;-moz-user-select:text!important}


Last word

Now your query 'how to disable copy paste in blogger blog' has been resolved, no one will be able to copy content from your site even after disabling javascript because the code we used is not javascript but CSS is. In this post, I told you two methods with the help of which you can disable the copy-paste option in any blogger site. Write down which method you are going to use in the comment box below.

LookClosedComment

5 Comment

Cancel