Our Android Application, 100K+ Downloads Download
Close ads ->
Close ads ->
-->

Random Posts

Follow US

Disable Text Selection Using CSS

Disable Text Selection Using CSS . Disable Text Selection , Blogger Text Selection Disabling , Text Selection Disabling , Disable Text Selection , Text Selection Disabling For Blogger .
Share it:
Disable Text Selection Using CSS

Refer This Post For : Disabling Text Selection On Blogger , Disable Text , Disable Text Using CSS , Disable Text Using JavaScript , Disable Text Selection Efficiently .

Are you worried of your content being stolen ?

Content getting stolen is one of the biggest problem faced by a blogger . You might have been thinking how to disable text selection in your blog and might have searched a lot through out the Internet . Am sure you might have fount some solutions too , but you might have not noticed that the majority of the solutions you fount may be done using JavaScript . You might have not noticed the problems of using JavaScript for disabling the text selection .

Problems of using JavaScript :
  • The person who copies your content will be browsing through your blog by disabling the JavaScript . This makes your JavaScript codes useless .
  • Next and the biggest problem is this that JavaScript codes takes more time to load and this makes your blogs loading time much more .
JavaScript Codes :

<script type="text/JavaScript">

function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
Now what can you do to prevent your content from being copied !!!

Here comes the simple and powerful use of CSS .

Benefits of using CSS :
  • The CSS covers the part that JavaScript didn't , that is the use of CSS codes makes your content safer than JavaScript as JavaScript can be disabled and CSS can't be .
  • Another advantage is that it won't increase your blogs loading time . 
CSS Codes :

<style type='text/css'>
.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;
 }
</style> 

How to add these codes :
  • Adding this codes is really easy just add a new Html/JavaScript gadget and past this code . Easy, simple, and power full .
Make your blog free of copycats . Try these CSS codes and disable text selection . Use the advantage of CSS over JavaScript .

Now let the copycats cry

Enjoy blogging with out the fear of your content being copied . I would surly be writing more on making your blog safe from all sorts of problems like hacking , copying , etc soon . Stay tuned and subscribe to my blog and make sure you don't miss any of my new posts .
The Adweek Copywriting Handbook: The Ultimate Guide to Writing Powerful Advertising and Marketing Copy from One of America&x2032;s Top Copywriters
Share it:

BLOGGING

Post A Comment:

0 comments: