How To Disable Copy Text Selection in Blogger and Website (Html ​​Css Code)

Posted on

Blogger blog Copy text selection Disable html css code– Hello Friends Welcome To Newsancher Today we are going to give you very important information. In this information, we will tell you how to prevent the website’s post article from being copied.

If you think that someone is copying your blog information, then you can protect the text of your block from being copied in this information of ours.

There are many people who copy the article of another block and put it in their blog. Which is absolutely wrong to do so. And it is also a legal offence. That by copying the information entered from another blog or website and publishing it on your website or blog. And you don’t get any benefit from doing so. Your website may get blocked and all your posts may stop being ranked.

Copy Text Selection

Copying content is a bad thing, everyone writes hard and copying in such a situation is illegal, if you are a blogger then you should know. If you think that someone is copying your block content, then you disable the Copy Text Selection of your website block so that no one will be able to select the contact list of your website or block. And when it is not selected, it will not be able to copy.

How to Disable Blogger Blog Contents Copy Text Selection

In this tutorial, we will tell you about such Css and Html Code that no one will be able to copy anything from that side of your blog. And Right Click will be disabled in Computer or Laptop Browser too, so no word copy will be possible. Copy Text Selection is disabled not only in a computer but also in mobile. No one will be able to copy even through Mobile Browser.

Trick to Disable Copy Text Selection in Blogger Blog

Disable Blog copy from HTML code

This is on your wrong site or blog blogger, you can disable copy text selection by following the information given below. By following the steps given below, you have to add html code to your Blogger Blog. Html Code add Doing so disables the test selection. Due to which no one will be able to copy the content from your block.

Step.1 First of all, you have to log on to Blogger, after logging in, you have to go to the dashboard.

Step.2 Now you have to go to the Layout section and click on Add Gadgets to add New Gadgets.

Blog copy disable hml code

Step.3 As soon as you click on Add Gadgets you will get Gadget but you have to add gadget with Html javascript as you can see in the image given below.

Html JavaScript add in blogger

Step.4 In New Gadget you have to edit the below HTML code. As you can also see in the image.

<script language=JavaScript> 
<!-- var message="Disabled!"; /////////////////////////////////// function clickIE4()
{ if (event.button==2){ alert(message); return false; } } 
function clickNS4(e) { if (document.layers||document.getElementById&&!document.all) 
{ if (e.which==2||e.which==3){ alert(message); return false; } } } 
if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } 
else if (document.all&&!document.getElementById) { document.onmousedown=clickIE4; } 
document.oncontextmenu=new Function("alert(message); return false") // --> </script>
Html code for disable mouse right click

Step.5 After adding the Html Code, click on the button given below. Your work is done successfully, you have disabled Copy Text Selection in the block.

Now no one will be able to copy any word on your blog site and right selection has been disabled in the browser.

To disable Website or Blog Copy text selection css code

We also learned about disabling Blog Copy Text Selection through html code in the above information. Now after this we will know another way in which we can disable Copy Text Selection by adding Css Code to our Blogger Blog. By this you have to do a Css code inside the theme which is given below step by step.

Step.1 First of all go to the Dashboard of Blogger Blog, go to the Theme section in the Dashboard section.

Step.2 In the Theme section, go to Customize. On Customize, you get the option of Advanced. Have to click on it.

Add css in blogger blog

Step.3 The option of Add Css will be available in the Advanced section, where you can try both of the 2 Css Codes given below. Have to copy and paste.

CSS Code.1

.article-content {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

CSS Code.2

body {-webkit-user-select:none; -html-user-select:none; -moz-user-select:none; -ms-user-select:none; 
Css code for disable website right click

Step.4 After pasting the css code, save it. After saving your work is done, now Copy Text Selection will have been disabled from your website. Now no one will be able to copy anything from your website.

last word– So how did you like our information, in this information, we told you 2 ways about how to disable Copy Text Selection from Blogger Blog, you can disable copy by following either of the two methods, if you have anything related to this information. If you want to ask, you can ask by commenting below.

Leave a Reply

Your email address will not be published.