So you determined to disable replica-paste feature for the Blogger weblog? This article will help you to apprehend the pros and cons of doing so, and the way you could disable reproduction-paste.
While you write a weblog on the Blogger content management system and need no person to copy the content material, you can observe this manual. Blogger supports XML subject matter. We’ve to use a few code to the XML theme report to generate a blanketed HTML output.
First, we’ll apprehend how we can disable reproduction-paste characteristic for the complete web page and a particular part. In order to provide extra manipulate over the Blogger blog.
How to disable copy Paste of whole web page in Blogger
While you disable replica-paste of complete blog, your blog will no longer aid proper-click, ctrl+c, ctrl+v, or selection device in cellular.
The following script will disallow any feature below the frame section. You’ve to edit the Blogger XML report and paste this code simply above the </body> tag. The </body> tag can be located in the last lines of the XML Blogger subject.
<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>
The above script will perform actions,
The primary part will disable copy-paste characteristic from the page,
The second part will disable the proper click of the mouse.
This code will now will no longer permits internet site traffic to copy any content from the page.
Want to Protect a specific part like content only? (Recommended)
The beneath code is most useful as this will feature only for a particular part of the page. You may paste the code simply above the </body> tag in the XML subject matter file of the Blogger blog.
<script type="text/javascript">You’ve to stick save this code into the topic HTML and achieved. Whatever content material you’ll write may be blanketed. Please be aware that this code will no longer provide any warning like content is protected, so as to aggravate the site visitors.
$(document).ready(function() {
//Disable cut copy paste
$('article').bind('cut copy paste', function(e) {
e.preventDefault();
});
});
</script>
Assume a traveller wants to examine a entire article of your weblog, and you provided an outside link for reference. If so, the consumer will right-click on from the mouse, and if there is no response of click on, it's going to annoy the consumer. In that case, the person may additionally depart your internet site, that is referred to as pogo-sticking. So you’ve to take care of the internet site site visitors too.
If you need to disable right-click too, you may paste the following code in place of the above. However we’ll propose you to apply the above code.
<script type="text/javascript">If the above code isn't operating: you're the use of a fundamental HTML theme that isn't seo friendly because the above code will work handiest with the HTML5 page structure subject. In that case, you can download the Oyedad Blogger subject designed through our SEONeurons team.
$(document).ready(function() {
//Disable cut copy paste
$('article').bind('cut copy paste', function(e) {
e.preventDefault();
});
//Disable mouse right click
$("article").on("contextmenu", function(e) {
return false;
});
});
</script>
I'm hoping you preferred our article on disable copy-paste function in Blogger. In case of any doubt or question, sense free to invite inside the remark segment provided under.
-----------
how to disable copy paste in blogger,how to disable copy paste in website,how to disable copy paste option in a blog post,how to disable copy paste on blogger,how to disable text selection in blogger,copy paste work on blogger,how to find content for blogging,how to create pages in blogger,how to add post in blogger pages,how to make pages in blogger,disable copy paste in blogger,how to disable copy and paste on blogger,disable copy and paste in blogger