Menu



We have always said that being a Blog Owner has become tougher these days. While working on some government website I saw that we could not select any kind of written data on that page, As said earlier plagiarism is a major cause of going down of your traffic. If someone will not be able to copy your page how will he use it against you. Only way left would be to write all the content by watching it which is very boring and time taking and copy paste spammers don't wan't to write that's why they copy other blog contents. Even if they write your content we have given few measures at the end in "see also" which if you follow then you can easily get rid of the written content also.

Steps to disable selection of font in your website.
  1. Go to Blogger Dashboard and select your blog.
  2. Go to the Template Tab and click on "Edit HTML" button.
  3. Just before closing HEAD tag (i.e. - </head>) paste the code given below :                      
    <script type="text/javascript">function disableSelection(target){if (typeof target.onselectstart!="undefined") //IE route target.onselectstart=function(){return false}else if (typeof target.style.MozUserSelect!="undefined") //Firefox route target.style.MozUserSelect="none"else //All other route (ie: Opera) target.onmousedown=function(){return false}target.style.cursor = "default"}
    //Sample usages//disableSelection(document.body) //Disable text selection on entire body//disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv"
    </script>
  4. Just before closing BODY tag (i.e. - </body>) paste the code given below :
<script type="text/javascript"> disableSelection(document.body) //disable text selection on entire body of page </script>


Post your problems in comments below....

See also :

Post a Comment

We have added "Submit Request" tab beside "Populars" in the right. So, now you can ask for our review on any topic and your Comment is very precious, so please comment your reactions and problems.

 
Top