How to disable text selection in blog

Step-1 : Go to your blogger Dashboard  
Step-2 : Select option Layout from the left side menu in Dashboard
Step-3 : Click on Add to Gadget  
Step-4 : Choose HTML/Javascript option  
Step-5 : Now copy and paste the following code  
Step-6 : Done !!! Now text selection has been disable in your blog 

//disable text selection by

var omitformtags=["input", "textarea", "select"]
function disableselect(e){
if (omitformtags.indexOf(
return false
function reEnable(){
return true
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")

Powered by Blog Tips by KP