Keep Your Blog Copy Protected
Are you worried about stealing your blog posts. Perhaps many unfair people are stealing your blog posts and publishing your blog posts in their blog without your permission. I have also found some thieves who steal my post and publish my post to their blog. Actually, they are 100% mad because blogging by copy & paste is just a kind of time wasting. What should you do to prevent their stealing? Nothing, but you have to read this post. Today I am here to make your blog copy protected so that, no one can copy your blog.
- Log in your blogger account.
- Go Design > Page Elements
- Click Add a Gadget
- Choose HTML/JavaScript gadget.
- Now copy and paste the following codes in the blank HTML/JavaScript .
}
// no selection header - now your content is protected from copy and paste guys
function copyprotect_no_select()
{
?>
<script type="text/javascript">
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //For IE
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //For Firefox
target.style.MozUserSelect="none"
else //All other route (For Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>
<?php
}
// no selection footer
function copyprotect_no_select_footer()
{
?>
<script type="text/javascript">
disableSelection(document.body)
</script>
<small>Copy Protected by <a href="http://for-tech-lovers.blogspot.com/" target="_blank">Shakil Wahid.</a><a href="http://for-tech-lovers.blogspot.com/2011/10/keep-your-blog-copy-protected.html" target="_blank">Protect Yours !</a></small>
<?php
}
// tuning your wp-copyprotect
function copyprotect_options_page()
{
?></?php
}
></?php
}
></?php
}
>
- Then save your template. That's all.
No comments: