Friday 22 June 2012

How to stop copying content from blogger

  1. First  open your Blog.
  2. Now Goto > Layout
  3. Now Select Add A Gadget
  4. In Add A Gadget  select Html/JavaScript
  5. Now select The below given Java script And Paste and Save.

Copy Given below text and paste in your Blogger

<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>


No comments:

Post a Comment