Wah! You finally wrote a blog post that
- Will get your audience get excited.
- Will go viral with shares
- Could market your brand for free
- Rank well in Google
But wait, what if users or other bloggers copy the information and use it somewhere else without any credits?
Which may
- Make your audience feel awkward
- Bring down search rankings
To solve this problem, you can add a small code to your blog, which makes your posts non copyable and protect articles from copycats, this code is called no copy code
Code to Protect Webpage from Copying
<!-- No copy code by booost bloggers -->
<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>
<!-- Visit booostbloggers.com for more-->
Add this code before </head>
If you are using it in your blog post, make sure to link back to this post
Happy Blogging!!
All comments will be moderated before they are displayed, so do not include hyperlinks in comments