How to Disable Copy Content from Blogger

Do you want to shield your internet site content material from being copied? Right here in this article, we're going to find out how you can disable copy-paste in blogger, so permit started.
In our first method, we're going to use natural CSS code, so you do not should fear approximately the performance of your blog. You could additionally exclude some of the content from being copied just like the code snippets, etc.

By using the strategies you cannot guard your content material a hundred%, as a few advanced users can without problems copy the content material from the look at element, i.e. the source code. But it may protect your content from regular customers.


How to Disable Copy Content from Blogger

Now let's discuss some of the methods to put in force it for your website.

Disable Copy Content Using CSS

  • Open Blogger Dashboard
  • Then click on Theme
  • Now click on "Edit HTML"
  • After that press CTRL+F and find ]]></b:skin>
  • Now copy the code given below and paste it above the ]]></b:skin> tag
body {
	-webkit-user-select: none !important;
	-moz-user-select: -moz-none !important;
	-ms-user-select: none !important;
	user-select: none !important;}

Now the textual content selection can be disabled completely for your internet site. Now the question arises that a way to exclude certain parts and allow users to copy the content.

Warning!
Earlier to including this code, take a backup of your blog theme for protection and smooth recovery.

Disable Text Selection Using Javascript

Now let's have a look at one greater technique to disable reproduction paste in blogger, but this time we are not going to apply CSS, we're going to use Javascript.
  • Open Blogger Dashboard
  • Then click on Theme
  • Now click on "Edit HTML"
  • After that press CTRL+F and find </body> tag
  • Now copy the code given below and paste it above the </body> tag
<script>
    $('body').bind('copy cut drag drop', function (e) { e.preventDefault(); });
</script>

Note
Observe that an advanced user can without problems skip this method by way of disabling the Javascript inside the browser.

I advise the CSS Method as it is simple to personalize and doesn't have an effect on the weight time of your website.
I'm "Mustakim Nur Salin" Aka "RealCodeMind"... I'm A Teenager Boy Who Loves To Code. I Started Coding As A Hobby. I Know Much Of Web Development. I Do Only Frontend Coding. I Usually Use HTML, CSS And JavaScript For Frontend. I'm Creative Director And UI/UX Designer From Dhaka, Bangladesh, Working In Web Development And Print Media. I Enjoy Turning Complex Problems Into Simple, Beautiful And Intuitive Designs. My Job Is To Build Your Website So That It Is Functional And User-Friendly But At The Same Time Attractive. Moreover, I Add Personal Touch To Your Product And Make Sure That Is Eye-Catching And Easy To Use. My Aim Is To Bring Across Your Message And Identity In The Most Creative Way.