Tuesday, 5 September 2017

How to Add Non Removable Credits Link?


Under:
A combination of imagination and tasks is required to create a Blogger blog template. A template designer puts extreme efforts in designing a template. A template designer also devotes hours and hours to frame the design as well as put this imagined picture into codings. For the identity, almost all designers leave their credit link as the copyright of their hard work. But most of the newbies start blogging by copy-pasting others posts without giving any credit to the copyrighted author. Also, they want to remove the template designer's credit link from footer too. They don't understand the hard work and time designers devoted in designing the template. So today I am sharing a tutorial by which you can easily protect your hard work from stealers. I will guide you how you can add a non-removable credit link to your designations. If someone wants to remove it then his/her blog will redirect to your desired link and the only option to get rid of it is giving proper credits. so let's start the tutorial on how you can add non-removable credit links.

Making your Javascript:

This JavaScript will help you protect your credits by directly redirecting to your desired page when someone removes the credit link.
The JavaScript is as follows and should be placed after <head> tag in your Blogger template.
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function()
{
var aa=$("#mycredit").val();
if (aa == null) {
    window.location.href = "http://www.bbeginner.com/";
};
 $("#mycredit").attr("href","http://www.bbeginner.com/");
});
//]]>
</script>

Things to know: 

- #mycredit : This is the name of the div class which we will use in our div setup. So if anyone removes this div class they will be redirected to the link highlighted in purple.

- http://www.bbeginner.com/ : This is the link where the page will be redirected if the credit links are changed or removed.

Once you have edited the javascript given above you can use the below div structure in correspondence with the above script. For this go to next step.

USING DIV STRUCTURE:

<div id='#mycredit'>
     Designed By <a href='
http://www.bbeginner.com.com/' id='#mycredit'>BBeginner</a>
   </div>

Make sure all the text highlighted in purple are '#mycredit' and text highlighted in orange is http://www.bbeginner.com/ or the same link that you want to redirect to.

Hiding the Javascript in External Host:

Stealers could find the div id within the template and then remove the javascript hence we can hide it by hosting the Javascript files externally.
  • Copy this code into notepad:
$(document).ready(function()
{
var aa=$("#mycontent").val();
if (aa == null) {
    window.location.href = "http://www.bbeginner.com/";
};
 $("#mycontent").attr("href","http://www.bbeginner.com/");

});

  • Make necessary changes as suggested above.

  • Click on the file menu and click on Save As
  • Navigate to the file saved.
  • Now name your file with .js at the end, in Save As type place select 'All Files' and in Encoding select 'UTF8' that is it.

See below picture:


  • Save it and then go to your browser and go to dropbox.com or Google Drive as they provide the reliable cloud file-sharing service. You can sign up for a free account there.
  • Avoid saving the file name as Credit or anything similar as it might help us bluff the copycat.
  • Then upload the file you just created to Public folder in DropBox or in Google Drive.
  • Get the link and paste it in this code
  <script src='link' type='text/javascript'/>
  • Replace link with your dropbox or Google drive link:

For example:
 <script src='https://dl.dropboxusercontent.com/s/f02wulq6zq5jary/bbeginner-credit.js' type='text/javascript'/>

Paste this below <head> tag or hide it after encrypting it in another javascript.

That's it. You have successfully learnt to hide and create non-removable credit links. You can use it to get rid of stealers and copy cats. Now It's your turn to share your views regarding this post.

0 comments:

Confused? Feel free to ask!

We love comments! We appreciate your queries but to protect from being spammed, all comments will be moderated by our human moderators. Read our full comment policy here.
Let's enjoy a happy and meaningful conversation ahead!

 

Copyright © 2017 All Rights Reserved by BBeginner.Com ׀ Designed by Hammad Ansari. DMCA.com Protection Status