Thursday, March 26, 2015

How to make a blog copy protected by adding a widget or html code


    How to make a blog copy protected by adding a widget or html code 
  1. Just go here and log in your blog with your ID.
  2. Go to Layout.
  3. Click on Gadget.
  4. Select HTML/Java Script
  5. Paste this code.

Make your blog or website copy protected by adding a widget. By this way you can keep privacy of your blog being copied.











<?php
}
// no selection header - now your content is protected from copy and paste guys
function copyprotect_no_select()
{
?>
<script type="text/javascript">function disableSelection(a){if(typeof a.onselectstart!="undefined"){a.onselectstart=function(){return false}}else{if(typeof a.style.MozUserSelect!="undefined"){a.style.MozUserSelect="none"}else{a.onmousedown=function(){return false}}}a.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.facebook.com/Bdporinam/" target="_blank">bd.porinam</a>.</small>
<?php
}
// tuning your wp-copyprotect
function copyprotect_options_page()
{
?></?php }></?php }></?php }><br />
<a href="http://www.copyscape.com/originality-check/"><img src="http://banners.copyscape.com/images/cs-bk-88x31.gif" alt="Protected by Copyscape Originality Check" title="Protected by Copyscape Plagiarism Checker - Do not copy content from this page." width="88" height="31" border="0"/></a>
<script type="text/javascript">/*<![CDATA[*/var scrolltotop={setting:{startline:100,scrollto:0,scrollduration:1000,fadeduration:[500,100]},controlHTML:'<img src="http://i60.tinypic.com/ir3ou1.png" />',controlattrs:{offsetx:5,offsety:5},anchorkeyword:"#top",state:{isvisible:false,shouldvisible:false},scrollup:function(){if(!this.cssfixedsupport){this.$control.css({opacity:0})}var a=isNaN(this.setting.scrollto)?this.setting.scrollto:parseInt(this.setting.scrollto);if(typeof a=="string"&&jQuery("#"+a).length==1){a=jQuery("#"+a).offset().top}else{a=0}this.$body.animate({scrollTop:a},this.setting.scrollduration)},keepfixed:function(){var c=jQuery(window);var b=c.scrollLeft()+c.width()-this.$control.width()-this.controlattrs.offsetx;var a=c.scrollTop()+c.height()-this.$control.height()-this.controlattrs.offsety;this.$control.css({left:b+"px",top:a+"px"})},togglecontrol:function(){var a=jQuery(window).scrollTop();if(!this.cssfixedsupport){this.keepfixed()}this.state.shouldvisible=(a>=this.setting.startline)?true:false;if(this.state.shouldvisible&&!this.state.isvisible){this.$control.stop().animate({opacity:1},this.setting.fadeduration[0]);this.state.isvisible=true}else{if(this.state.shouldvisible==false&&this.state.isvisible){this.$control.stop().animate({opacity:0},this.setting.fadeduration[1]);this.state.isvisible=false}}},init:function(){jQuery(document).ready(function(c){var a=scrolltotop;var b=document.all;a.cssfixedsupport=!b||b&&document.compatMode=="CSS1Compat"&&window.XMLHttpRequest;a.$body=(window.opera)?(document.compatMode=="CSS1Compat"?c("html"):c("body")):c("html,body");a.$control=c('<div id="topcontrol">'+a.controlHTML+"</div>").css({position:a.cssfixedsupport?"fixed":"absolute",bottom:a.controlattrs.offsety,right:a.controlattrs.offsetx,opacity:0,cursor:"pointer"}).attr({title:"Scroll Back to Top"}).click(function(){a.scrollup();return false}).appendTo("body");if(document.all&&!window.XMLHttpRequest&&a.$control.text()!=""){a.$control.css({width:a.$control.width()})}a.togglecontrol();c('a[href="'+a.anchorkeyword+'"]').click(function(){a.scrollup();return false});c(window).bind("scroll resize",function(d){a.togglecontrol()})})}};scrolltotop.init();/*]]>*/</script>


For copying this code click here

You can also read How to open a Gmail or Google account.

You can also read How to open blog for publishing your life style.

You can also read How to complete SEO optimization for your blog.

You can also read How to make YouTube video auto play on your blog.


All Rights Reserved
Porinam blog for solution of Daily Life, Android, Windows, News, Live TV, Radio.

0 comments:

    Post a Comment