Follow the easy steps:
Step 1: Login to your blogger account and go to Layout option in left side Menu.
Step 2: Click on Add a gadget.
Step 3: Select HTML/JavaScript
Step 4: Copy the following Code and paste into Box.
" <script type="text/javascript">
/***********************************************
* Disable select-text script- © blogger2wordpress.blogspot.com
* This notice MUST stay intact for legal use
* Visit http://blogger2wordpress.blogspot.com for full source code
***********************************************/
//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> "
Step 5: Then Click on Save and go to your blog and try to selecting.
Search tag: disable copy pasting in blogger, disable text selection in blogger, stop selection of text in blogger, stop copying from blogger,
0 comments:
Post a Comment