By
Akhil Swatantra -
Thursday, 14 February 2013
-
No Comments
How To Disable Text Selection
- Open Blogger.com :-> Open Layout :-> Click "Add A Gadgets"
- Now Select Html/Javascript
- Copy & Paste Below Code By Using :-> CTRL + V
<script type="text/javascript">
/***********************************************
* Disable select-text script- © TNT4F
***********************************************/
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
- Now Click Save button Wait Few Secound
- All done Enjoy Now Check Your Blog And Try To Select Any Word
Share This:
Jillur Rahman
I'm Jillur Rahman. A full time web designer. I enjoy to make modern template. I love create blogger template and write about web design, blogger. Now I'm working with Themeforest. You can buy our templates from Themeforest.
No Comment to " Disable Bloggers Blog Text Selection "