Saturday, November 26, 2022

Disable Copy Paste In Blogger Or Website

We are sharing How to Disable Copy Paste in Blogger or website which is very important to protect your content from being copied. If you are using a blogger or any platform website and want to prevent copy-paste your content.

How to Disable Copy Paste in Blogger

1. Go to Blogger Dashboard.

2. Click on the template section and then Edit HTML.

3. Find the code ]]></b:skin>

4. Paste the below-given code below just above this code or line.

/*----- Disable Text Selection with CSS Code--- abhishekindora----*/
.post blockquote {
-webkit-user-select: text !important;
-moz-user-select: text !important;
-ms-user-select: text !important;
user-select: text !important;
}
body {
-webkit-user-select: none !important;
-moz-user-select: -moz-none !important;
-ms-user-select: none !important;
user-select: none !important;
}

5. Now save it.

How to Disable Copy Paste in Website

1. Go to your website platform Dashboard.

2. Go to your template or themes edit section.

3. Copy the given code below and paste it into Head Section.JS

<script type="text/JavaScript">
//Provided By Abhishekindora.com
function killCopy(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=killCopy
document.onclick=reEnable
}
</script>

Sharing is caring. If this tutorial helped you then share it with those who also need to know this trick. We are also using this trick.

RELATED ARTICLES

3 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

New Updates

Categories