How to 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.
How to keep you blog copy protected
- 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 .
<?php
}
// 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:// www.music2radio.blogspot.com /" target="_blank">Shakil Wahid.</a><a href=" www.music2radio.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
}
>
}
// 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:// www.music2radio.blogspot.com /" target="_blank">Shakil Wahid.</a><a href=" www.music2radio.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
}
>
- Now Save and EnjoY!
If you face any problem in this post please let me know your problem. To inform your problem you can leave a comment below. And if you like my post please click the Facebook like button or spread this post by clicking the Twitter, Facebook etc. icons below. Because, it will be a great support for me.
No comments