How to Turn Off Copy Paste Function on Blogger - Satya Ki Pathshala
ब्लॉगर पे Copy Paste फंक्शन को कैसे बंद करें: नमस्कार दोस्तों, आपका हार्दिक स्वागत करता हूँ Satya Ki Pathshala ब्लॉग पर। यहाँ मैं आपलोगों को ब्लॉगिंग
How To Turn Off Copy Paste Function On Blogger Blog: Hello friends, I
warmly welcome you to (getButton) #text=(Satya Ki Pathshala) #icon=(link) #color=(#2339bd)
blog. Here I providing you information related to blogging. So today our topic
is how do we turn off the Copy-Paste function on Blogger.
If you want that no one can copy the content of your blog, then today I have
brought a solution for you. Here we are going to use two methods. The first
method is by using CSS code and the second method is by using JavaScript.
Here my opinion would be that you use CSS Code. Because we all know that using
JavaScript reduces the loading speed of the blog. Well, do whatever option you
like. My job is to provide you content.
By applying this code, you will not 100% protect your content from being
copied. This is only for normal users. Professional people can copy your
content using your blog's source code.
How to Turn Off Copy Paste Function on Blogger Blog
Now we come to our topic, how to save blog posts from being copied. For
this, I am going to tell you two ways here. So let's take a look.
#1 Turn Off Copy Paste Using CSS Code
- First of all, you have to go to your blogger dashboard.
- Now you have to go to the Theme section.
- Now you have to open the code section of your theme by clicking on Edit HTML.
- Now you have to type by ]]></b:skin> pressing Ctrl+F
- Now you have to paste the following code above the ]]></b:skin> tag
Make sure to back up your blogger theme before pasting the code(alert-error)
body { -webkit-user-select: none !important; -moz-user-select: -moz-none !important; -ms-user-select: none !important; user-select: none !important; }(code-box)
#2 Turn off copy paste using JavaScript
This process will be the same as before but you have to type here
</body> instead of ]]></b:skin>, now you have to
paste the following JavaScript above the </body> tag.
Note that a user can easily bypass this method by disabling JavaScript in the browser. (alert-warning)
<script> $('body').bind('copy cut drag drop', function (e) { e.preventDefault(); }); </script>(code-box)
According to me, it would be better if you use CSS script in both these
processes. And the loading speed of your blog will not be affected
either.
So friends, tell me by commenting how did you like this post
how to turn off the Copy-Paste function on blogger, and which
process are you going to apply to these two. Thank you very much for
reading this post. I will see you guys soon with one such post.
3 comments
!important; -ms-user-select: none !important; user-select: none !important;
}