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.
Final Word
Now you ought to have found out how you can disable replica-paste in blogger.
With the aid of the use of the above methods, you can without problems guard
your content from being copied.