How to Disable Copy Paste in Blogger Blog - ProTechPoint

How to Disable Copy Paste in Blogger Blog

Everyone works hard to design and write valuable content for a blog or website. If someone steals your hard work, you will definitely pay for it. If the content on your blog or website is not plagiarized, you can follow the procedure below to know how to Disable Copy Paste In Blogger or How To Disable Text Selection can.

How to Disable Copy Paste in Blogger Blog

{tocify} $title={Table of Contents}

What is Disable Copy Paste In Blogger

Blogger is a type of CMS introduced by Google. Which provides a free service to host and manage websites. It is very easy to copy or steal content from a website hosted on Blogger or another CMS system. But if you install HTML code or plugin on the CMS of these websites. 

So with the help of this, the chances of plagiarizing the content on the website are greatly reduced. Therefore, in this article, you will be introduced to a method that you can use to prevent the content of your website from being copied or Disable Copy Paste In Blogger.

How To Disable Copy Paste or Text Selection in Blogger

Step 01: First of All Log in to Your Blogger blog account.

Step 02: In the second step, please click on the "Theme" option.

Step 03: Here you click on the "Edit HTML" option and enter in Theme HTML.

blogger HTML editing

Step 04: After entering into HTML code, here you press CTRL + F button and paste "</body>" and press enter.
html code editor

Step 05: When you find this </body> tag copy below code and paste this code just above "</body>" tag. 

<script type="text/javascript"> $(document).ready(function() { //Disable cut copy paste $('body').bind('cut copy paste', function(e) { e.preventDefault(); }); //Disable mouse right click $("body").on("contextmenu", function(e) { return false; }); }); </script>
Note: This code will perform two important functions for you in Blogger.
  1. One is that it will prevent you from selecting the content on each web page with the mouse

  2. The second will also prevent right-clicking on the content with the mouse.

Do you want to Protect Only the Content of the Site?

If you want to protect your website from being copied only by copying the code below and pasting it at the top of the </body> tag. This code will not allow the written content of your website to be copied.

<script type="text/javascript">
$(document).ready(function() {
//Disable cut copy paste
$('article').bind('cut copy paste', function(e) {
e.preventDefault();
});
});
</script>

Final Thoughts

I hope you have benefited from the content you have read by coming to this article on my website. If you have any problem in this matter, you can leave your comment in the comment section below. I will definitely reply to you.

0 Comments

Please do not enter any spam link in the comment box, Thanks.

Post a Comment

Please do not enter any spam link in the comment box, Thanks.

Post a Comment (0)

Previous Post Next Post