How to Disable Copy Paste or text selection from your Blog


How to disable Control  C Copy pasting on Blogger - JavaScript code Disable text selection


Recently some of my posts were copied by 2 bloggers & it took me some time to realize that these copies posts were ranked above my posts in Google & it was affecting my traffic. I somehow found that & sent them a warning to delete the copies post. That made me think about adding some barriers to my blogs so that nobody will be able to steal my content easily.

Disabling control c or Copy pasting is good option which makes quite tough to copy any content. Please keep in mind that keeping your content 100% secure is impossible but using these methods will make sure that copying content from your blog will not  be easy for layman.

You need add few lines of code to make it happen.

There are 2 ways to do this
1. Using javascript code
2. Using CSS

How to disable text selection using Css

1. Blogger >> Edit HTML
2. Control + F & search "body {" tag
3. add following code aftre body {

-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
  
4. Save the template.

How to disable Control  C Copy pasting on Blogger - JavaScript code Disable text selection


Recently some of my posts were copied by 2 bloggers & it took me some time to realize that these copies posts were ranked above my posts in Google & it was affecting my traffic. I somehow found that & sent them a warning to delete the copies post. That made me think about adding some barriers to my blogs so that nobody will be able to steal my content easily.

Disabling control c or Copy pasting is good option which makes quite tough to copy any content. Please keep in mind that keeping your content 100% secure is impossible but using these methods will make sure that copying content from your blog will not  be easy for layman.

You need add few lines of code to make it happen.

There are 2 ways to do this
1. Using javascript code
2. Using CSS

How to disable text selection using Css

1. Blogger >> Edit HTML
2. Control + F & search "body {" tag
3. add following code aftre body {

-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
  
4. Save the template.

Was that useful? Why not share it?

By: