Disable Select on Your Content Using CSS and Script

Disable Select on Your Content Using CSS and Script
There are many bloggers has been searching on the internet and find what they need and most of the newbies who are just entering in the blogosphere with the goal of copying the content and use as their own without permission. The goal to make copies is making money without making real efforts and understanding the value of original or unique contents. The original or unique contents are making good rank in search engines abut sometimes the copied content can by better than the original one, so this not fair if this thing happens you as a writer and your achievement has been copied.

So to avoid this problem we have a suggestion to disable the copy function to all of your original or unique contents by using our CSS code or JavaScript to disable your contents, disable mouse right click and CTRL+A.
Note: Place Backup Your Template first if importance to avoid some error on your work you should backup your template.

Option 1: Disable Content Using JavaScribe Code


Step 1: Login Your Blogger  Account. On the dashboard just click on "Template" menu  the click on "Edit HTML" button.

Blogger Edit HTML Tempalte

Step 2: Press anywhere in HTML code then Search for <head> tag by press CTRL+F or Command+F (Mac).

After your found, it, copy this below JavaScript then paste below it.
/*----[Disable Right Click by Script]-------------*/
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
 Then click Save Template. Done…!

Option 2: Disable Content Using SCC Code


Step 1: Login Your Blogger  Account. On the dashboard just click on "Template" menu  the click on "Edit HTML" button.

Step 2: Press anywhere in HTML code then Search for ]]></b:skin> by press CTRL+F or Command+F (Mac)

After your found, it, copy this below CSS Code then paste above it.
/*----[Disable Text Selection By CSS]-----------------*/
.post blockquote {
-webkit-user-select: text !important;
-moz-user-select: text !important;
-ms-user-select: text !important;
user-select: text !important;
}
body {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

 Then click Save Template. Done…! or Read how to disable right click on blogger

Previous Post Next Post