Today I am going to tell you how you can disable copy and paste on your blog on the Blogger website. So let us first know why should the copy-paste feature be disabled in the blog?
Why copy paste should be blocked in the blog?
We should do this because many times people copy the content from your website and paste it into the post of their website and publish it. Due to this, someone else takes advantage of your hard work.
Due to this the contact of your blog website goes to different websites. Because any blogger copies the content from your website and puts it on his own website. In this way, after the content of your website is stolen, it reaches many other websites.
And those people do not even give credit to your website on their blog. Due to this, your contact gets ranked on any other website. So to stop this copy-paste, we should block copy-paste on our blogger website.
Simple Steps to disable copy-paste in blogger.
- log in to the Blogger Account Dashboard
- Now Go to the Theme Section
- In the Theme Section go to Edit HTML
- Now Search </body> tag using Ctrl + F
- Copy the code given below and paste it before the </body >tag.
<script>
window.onload = function() {
document.addEventListener("contextmenu", function(e) {
e.preventDefault();
}, false);
function disabledEvent(e) {
if (e.stopPropagation) {
e.stopPropagation();
} else if (window.event) {
window.event.cancelBubble = true;
}
e.preventDefault();
return false;
}
};
document.onkeydown = function(e) {
return false;
}
navigator.keyboard.lock();
</script>
In this way, you can protect your content from being stolen by closing the copy-paste of your website blog.
How to disable right-click on blogger
If you want to disable right click on the blogger's website You can read this article
How To Disable Right Click On Blogger?
Stay connected With itsutkarshk And Follow Us On Instagram & Facebook Subscribe Our YouTube Channel