Disable text selection in blogger without Javascript yes you read it right, now you don't need to put more Javascripts on your blog as it makes your webpages load slower, in this post you will learn how to disable text selection in blogger with CSS method and save your content from being copied by other websites, So lets get started
Disable Text Selection In Blogger With CSS
- Login to your Blogger dashboard and navigate to Template > Edit HTML
- After that find </style> by pressing " Ctrl + F ".
- Now copy and paste the following code below before </style> tag.
CSS :-
body{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
- Now Click on save template, Done!


EmoticonEmoticon