Ads Top

Blogger How To Remove Encrypted Footer Links


Many Premium Blogger Theme's like to include encrypted links within the Footer of their website. The issue here is if you go to delete them you will be redirected to the author's website and in some cases, if you attempt to change the rel to nofollow you will get redirected. Now you can hide it (sometimes) using display:none or opacity=0 but the fact of the matter is they are still getting a backlink from your site to theirs. So here is how to properly remove the links.

If you open your Blogger Template so you can view the HTML you might notice some incredibly long scripts, however, you will notice something similar in a lot of them. All "encrypted" code will start with something like this /*<![CDATA[*/ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?

Take note of that eval(function(p,a,c,k,e,r) code. Now here is some good news,   this code is actually not encrypted and is simply packed let's explain what that means below.

What Is Packed JavaScript Code

JavaScript code can be packed in order to compress and obfuscate the code so in a way it simply scrambles it to where it can't be read. The fundamental issue is that Packed JavaScript typically makes it considerably larger and its also used to hide the contents which means you don't know what's in there. Furthermore, if you try to add this to an external JS file you might run into some annoying issues. 

When To Pack JS

There is almost 0 reason to ever run backed JS you could argue some value in HTML 5 games where the source code can easily be read and copied or used to cheat the game but there is almost no reason too use it considering it's fairly easy to remove. 


How To Remove

In your Blogger template look through all the eval(functions(p,a,c,k,e,r) code and run it through one of these online tools. 
After you have pasted the code one of two things might happen it might return nothing or you included the CDATA make sure to remove this from your document after it's been unpacked because it should no longer be required. 

After you have unpacked it you are going to get this incredibly long stream of JS scroll down to the very bottom and you should see something similar to this. 

window.onload = function () {
var e = document.getElementById("mycontent");
if (e == null) {
window.location.href = "SomeURL"
}
e.setAttribute("href", "SomeURL");
e.setAttribute("ref", "dofollow");
e.setAttribute("title", "Free Blogger Templates");
e.innerHTML = "SomeAuthorName"
}

Delete that code and paste the remaining code into your template files (if you wish to minify it please do so before adding it back in). 

Repeat this for all the eval code in your template and remove the link credits as shown above. After doing this your website should be cleared and you can safely remove the Footer Credits. 

Need Help? 

If you need help comment below and I can help! 

No comments:

Powered by Blogger.