How to Disable Copying of Text from your Blogger Posts :
Step 1: Login to your blogger dashboard > go to "Layout" and click "Add a Gadget"
Step 2: From the Popup window scroll down and choose "HTML/Java Script"
Step 3; Copy the HTML code below and paste it in to the "HTML/Java Script"
<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>
Step 4: Click on "Save" button.
You have done! Now visit your blog and try to copy text from your blog, you are unable to copy text!
I hope this short tutorial will helpful to you to protect your blog's content. If you feel any difficulty in doing this task you can comment below so that I can help you.
Please don't forget to share us to your friends.
Thanks for visiting our site.
0 comments:
Post a Comment