How to Disable Text Selection Functions On Blogs Using CSS

How to Disable Text Selection Functions in Blogs Using CSS - One way to avoid your blog articles in copy paste is to turn off the text selection function on the blog using css, why should it use css? Many script codes to prevent posting on the blog from Copas or copy paste using JavaScript but this can still be above by disabling the javascript function in the browser used.

Disable text or block text selection on blogs or websites using CSS, much safer than using javascript, besides using css will not affect the loading of your blog. The use of this css code will deactivate the function from left-clicking on the text section but still can if we click the link or url on the blog. To prevent your content or articles from being avoided from copying, you can also turn off the right-click function on the blog, for more detailed tutorials you can read the post below.
How to Disable Text Selection Functions On Blogs Using CSS
Disabling the css selection function on the blog means that all the text on your blog cannot be selected or blocked. If your blog or website discusses coding or programming languages you should not need to deactivate this selection function, because your blog visitors will have difficulty when copying the programming code they need. 

But if you still want to keep turning off the selection function with css on the blog, you should leave a few important parts of your blog to be able to copy and paste, for example blockquote, pre, and code. Usually this section is often used to store codes such as HTML, CSS, JavaScript, PHP, and other programming codes.

We immediately discussed how to disable text selection, please follow the steps below.

1. Log in to Blogger.com
2. Then go to the Themes section> click Edit HTML
3. Copy the css code below, then Paste before the code]]> </ b: skin> or </ style>
.post-body {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
4. Click Save theme

The css code above will deactivate the text selection function on your blog, so your blog will be safer to avoid copas. If by applying the above method it is still not comfortable I suggest that you read the full article on how to avoid blogs from copy pasting others in the article below.

That is a tutorial on how to disable the text selection function with css on the blog, hopefully it is useful.

0 Belum ada Komentar untuk "How to Disable Text Selection Functions On Blogs Using CSS"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel