I used this code and it worked. Thanks so much Brilliant Info Ville!
<script type="text/javascript">
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>
Copy the above code and paste it in your blog; here is how to paste:
- Log in to your blog, and click on Add Widgets.
- In the Widget elements Click on the HTML/Javascrpt
- Then copy and paste the above code in that box, You can save it without putting the Title.
- Make sure the widget is under the blog post section in your blogger layout.
After installing this element save and try to copy (test it if you can copy anything from your post)
Good Luck
Source:- Brilliant Info Ville. http://www.brilliantinfo.net/2012/08/how-to-disable-copy-and-paste-in-blog.html - Sunday, August 5, 2012