Now i'm going to share How to protect your Blog from copy cats.
It is awful to see word for word copy of your original content on
others’ blogs. Content filching has become a real nuisance for those who
post quality content on their blogs but soon see it exactly copied and
pasted on other blogs. The most annoying thing is when this copied
content mars the ranking of your own blog in search engines.
Though it is impossible to totally wipe out the content stealing, yet
there is an effective way to prevent the content stealers to a large
extent from pinching your hard worked content. Through this post I
intend to tell you about a simple JavaScript code to prevent copycats
from copying your text or scrapping your RSS feed.
It
is a very simple script preventing the stealers from Copy option as
well as Select All option even using short cut keys. This keeps the
people away from scraping your content. Follow the cool trick mentioned
below to install the JavaScript code in your blog and get rid content
scrappers.
- Go to Blogger
- Layout >> Add a Gadget >> Select HTML/JavaScript Gadget
- Now Copy below code and paste inside that HTML/JavaScript gadget
<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>
Save your template and view your blog. Just select any text and try to
copy it; you'll see the you can’t do it. It has disabled all options of
copying, i.e. CTRL+A and CTRL+C on keyboard. Hope you enjoy and benefit
from it.