Tuesday, August 23, 2011

Copy protect your blog posts

Hi everybody
Today I show you , how can you protect your blogger post from copy..........

any body cannot select any content of your blog

at first login your blogger account
|
|
|
__________________________________________________________

blogger---->Layout------> Add a Gadget --------->



when pop-up a window just copy these code and click to save


<?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://hack4today.blogspot.com/" target="_blank">Hack4Today</a>.</small>
<?php
}
// tuning your wp-copyprotect
function copyprotect_options_page()
{
?></?php
}
></?php
}
></?php
}
>


No comments:

Post a Comment