How to Disable Copy Paste In Blogger Blog 2016


How to Disable Copy Paste In Blogger Blog 2016

Even as we know in this kind of technical World everyone desires to be Online along with Run as quick as rabbit in this Daily growing Technology. But daily Tons of Articles Publish on Web Via Blogger, Wordpress, Facebook, Twitter and much more Social Media Sites and Blogging platforms. But Do you think the Content you Published with your Online Portal is Safe or not. There are a lot of vistors who just visit for Verifying and Comparing your Contents.

How to Disable Copy Paste In Blogger Blog 2016


These are so many peoples who wish to be a Finest Blogger in a short time span. So, In this Tutorial My goal is to share a Finest Tip Ever to Disable or Banned the Copy Paste Option Through your Site to protect them from Copycats who copy your whole contents.

How to Implement?


Just follow the below simple steps to disable copying option on your blogger blog.


Go to Blogger Account >>> Blogger Dashboard


How to Disable Copy Paste In Blogger Blog 2016


After Selecting Layout Tab will Open. Click On"  Add a Gadget ".

How to Disable Copy Paste In Blogger Blog 2016


 Now a again a New Window will Open.Here select " HTML/Java Script



How to Disable Copy Paste In Blogger Blog 2016


Now Copy the Given Below Code and Paste it Here.

How to Disable Copy Paste In Blogger Blog 2016



<!- START disable copy paste --><script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script><script type='text/javascript'> if(typeof document.onselectstart!="undefined" ) {document.onselectstart=new Function ("return false" ); } else{document.onmousedown=new Function ("return false" );document.onmouseup=new Function ("return false"); } </script><!-- End disable copy paste -->


Now Save the open window you are almost done!

Final Touch:


So this is a tutorial on disabling copy pasting in your blogger blog. I hope your perform this task well and protect your blog from copycats. Soon we post more awesome articles to protect your blog from plagiarism so keep visiting till then Peace, blessings and Happy Disabling.

How To Add Related Posts Widget To Blogger with Thumbnails

How To Add Related Posts Widget To Blogger with Thumbnails

Now here is a wonderful hack for displaying related posts beneath each of your blog posts, along with thumbnails. The related articles are chosen from other posts in that same category/label/tag. With this hack many of your readers will remain on your site for longer periods of time when they see related posts of interest.


Adding the Related Posts Widget to Blogger/Blogspot


Step 1: Log in to your Blogger account and go to Template > Edit HTML


How To Add Related Posts Widget To Blogger with Thumbnails
Click to enlarge



Step 2: Click anywhere inside the code area and press the CTRL + F keys:


How To Add Related Posts Widget To Blogger with Thumbnails
Click to enlarge


Step 3: Search for this piece of code adding it inside the search box (hit Enter to find it):



</head>




Step 4: Copy and paste the below code just before/above the </head> tag:


<!--Related Posts with thumbnails Scripts and Styles Start-->

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
#related-posts{float:left;width:auto;}
#related-posts a{border-right: 1px dotted #eaeaea;}
#related-posts h4{margin-top: 10px;background:none;font:18px Oswald;padding:3px;color:#999999; text-transform:uppercase;}
#related-posts .related_img {margin:5px;border:2px solid #f2f2f2;object-fit: cover;width:110px;height:100px;-webkit-border-radius: 5px;-moz-border-radius: 5px; border-radius: 5px; }
#related-title {color:#333;text-align:center;text-transform:capitalize;padding: 0px 5px 10px;font-size:12px;width:110px; height: 40px;}
</style>
<script type='text/javascript'>
//<![CDATA[
var relatedTitles=new Array();var relatedTitlesNum=0;var relatedUrls=new Array();var thumburl=new Array();function related_results_labels_thumbs(json){for(var i=0;i<json.feed.entry.length;i++){var entry=json.feed.entry[i];relatedTitles[relatedTitlesNum]=entry.title.$t;try{thumburl[relatedTitlesNum]=entry.gform_foot.url}catch(error){s=entry.content.$t;a=s.indexOf("<img");b=s.indexOf("src=\"",a);c=s.indexOf("\"",b+5);d=s.substr(b+5,c-b-5);if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")){thumburl[relatedTitlesNum]=d}else thumburl[relatedTitlesNum]='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_bUQld4mgLAMr5HbDe7fz3Z2i_NlusX2LF1SVgiaJ-SK1YthOVyzyZriLWdmFoGiIRJG5L1OWx34JwVOprU0VoHJTup7k5Ve_9p7BsWDLZ7-Hm6ERfnmuJ02lMq7ith2N6hlNo7zjFEvM/s1600/no-thumbnail.png'}if(relatedTitles[relatedTitlesNum].length>35)relatedTitles[relatedTitlesNum]=relatedTitles[relatedTitlesNum].substring(0,35)+"...";for(var k=0;k<entry.link.length;k++){if(entry.link[k].rel=='alternate'){relatedUrls[relatedTitlesNum]=entry.link[k].href;relatedTitlesNum++}}}}function removeRelatedDuplicates_thumbs(){var tmp=new Array(0);var tmp2=new Array(0);var tmp3=new Array(0);for(var i=0;i<relatedUrls.length;i++){if(!contains_thumbs(tmp,relatedUrls[i])){tmp.length+=1;tmp[tmp.length-1]=relatedUrls[i];tmp2.length+=1;tmp3.length+=1;tmp2[tmp2.length-1]=relatedTitles[i];tmp3[tmp3.length-1]=thumburl[i]}}relatedTitles=tmp2;relatedUrls=tmp;thumburl=tmp3}function contains_thumbs(a,e){for(var j=0;j<a.length;j++)if(a[j]==e)return true;return false}function printRelatedLabels_thumbs(){for(var i=0;i<relatedUrls.length;i++){if((relatedUrls[i]==currentposturl)||(!(relatedTitles[i]))){relatedUrls.splice(i,1);relatedTitles.splice(i,1);thumburl.splice(i,1);i--}}var r=Math.floor((relatedTitles.length-1)*Math.random());var i=0;if(relatedTitles.length>0)document.write('<h4>'+relatedpoststitle+'</h4>');document.write('<div style="clear: both;"/>');while(i<relatedTitles.length&&i<20&&i<maxresults){document.write('<a style="text-decoration:none;margin:0 4px 10px 0;float:left;');if(i!=0)document.write('"');else document.write('"');document.write(' href="'+relatedUrls[r]+'"><img class="related_img" src="'+thumburl[r]+'"/><br/><div id="related-title">'+relatedTitles[r]+'</div></a>');if(r<relatedTitles.length-1){r++}else{r=0}i++}document.write('</div>');relatedUrls.splice(0,relatedUrls.length);thumburl.splice(0,thumburl.length);relatedTitles.splice(0,relatedTitles.length)}
//]]>
</script>
</b:if>
<!--Related Posts with thumbnails Scripts and Styles End-->

Note:


- to change the width and height of thumbnails, modify the 110px and 100px values in red
- to change the color and size of related posts titles, change the value in blue

- remove the line in violet if you want the related posts to be displayed both in homepage and post pages. 


Step 5: Find the line below (you will find two times, but you need to stop at the second one):


<div class='post-footer'>


Step 6: Just above <div class='post-footer'> paste this code: 


<!-- Related Posts with Thumbnails Code Start-->

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='related-posts'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast != &quot;true&quot;'>
</b:if>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=5&quot;' type='text/javascript'/></b:loop>
<script type='text/javascript'>
var currentposturl=&quot;<data:post.url/>&quot;;
var maxresults=
<script type='text/javascript'>
var currentposturl=&quot;<data:post.url/>&quot;;
var maxresults=5;
var relatedpoststitle=&quot;<b>
var relatedpoststitle=&quot;<b>Related Posts:</b>&quot;;
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs();
</script>
</div><div class='clear'/><div style="font-size: 9px;float: right; margin: 5px;"><a  style="font-size: 9px; text-decoration: none;" href="https://www.facebook.com/awais.rajpoot.99" rel="nofollow" >Related Posts Widget By Awais</a></div>
removeRelatedDuplicates_thumbs();
printRelatedLabels_thumbs();
</script>
</div><div class='clear'/><div style="font-size: 9px;float: right; margin: 5px;"><a  style="font-size: 9px; text-decoration: none;" href="
https://www.facebook.com/awais.rajpoot.99 
" rel="nofollow" >Related Posts Widget By Awais</a></div>

</b:if>
<!-- Related Posts with Thumbnails Code End-->



Note:



- change the 5 value from max-results=with the number of posts you want to be displayed

- if you want the related posts to be displayed on homepage too, then remove the lines in violet.



New Google Update: If you are unable to see the related posts widget after saving the template, add the code (step 5) just above the </b:includable> tag which can be found above this line (CTRL + F to find it):




<b:includable id='postQuickEdit' var='post'>


For more info, click on this screenshot below:

How To Add Related Posts Widget To Blogger with Thumbnails
Click to enlarge



Step 7: Save the Template and that's it. Now the Related Posts widget should appear below each blog post that has labels on it. Enjoy!

Remember Me In Your Prayers.

How to Disable Right Click on Blogger Blogs

How To Disable Right Click on Blogger Blog, Want to Disable Mouse Right Click Button on Blogger Blog?. So this is a tutorial about how to add mouse right click Disable script to your blog ( protect your work to be get copied by some copycats ). Everyone wants his/her work to be protected by thief so I thought of sharing this..
How to Disable Right Click on Blogger Blogs

How to Disable Right Click on Blogger Blog

You guys have may notices that some sites don’t allow their users to copy their content from that web page. They dont allow their users to use Mouse Right Click Button, this is what they have done they just Disable Right Click in Blogger Blog so that copycats cant copy their content. This not only disables the right click but helps you to protect your work, your content from some sort of thiefs or copy-cats.
So today in this article I decided to share my views on Disable Mouse Right Click Button on Blogger Blog, we are sharing the latest and updated javascript that will protect your work from copycats..

How to Disable Right Click on Blogger Blog

Disable Mouse Right Click Button on Blogger Blog, so here we are talking about How to Disable Right Click on Blogger Blog, just follow the simple steps given below so lets get started ðŸ™‚ …
  • Log in to Blogger Dashboard and navigate to Layout.
  • Click on ‘Add a Gadget‘ on the sidebar.
  • Select ‘HTML/Javascript‘ paste the given code and finally click on save ðŸ™‚
<script language=javascript>
<!--
//Disable right click script - By Muhammad Awais
//
var message="Function Disabled";
////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>


NOTE: All the credits goes to the original creator of this script ðŸ™‚
After Saving Visit Your Blog and try to right click, Whoops “Function disabled“, hahah ðŸ˜›
If you want to change the alert message you just by simply chaning the “Function disabled” text in the above script.
By Using this Script you can protect your Images and Copyrights Content from Being Use in Other Websites..So thats it guys share it so that your friends can too protect their work if you really care about them because sharing is caring.....🙂

Note:


If you really enjoyed reading you can leave your feedback in the comments section below.. Or if the script is not working. Please ask me to comment below :) :) ðŸ™‚