Encrypted JavaScript is used to encrypt some lines of the JavaScript code on the webpage, particularly the JavaScript which is used for keeping the credit of the theme.
In the world of blog writing and website designing, there are a lot of platforms from where we create and manage our blog, some of them are free and some of them are paid.
While the one provides better functionality and ease of use, but it is paid while the other is completely free but you don’t get that much features and functionality and have to do all through coding. Blogger is among the latter ones.
So to help you with it, this is where template designers come in. They design blogger templates and provide most of the aesthetics overhaul and features like Disqus comment integration, fast loading, easily customisable etc.
But these features come with a price tag and on the platform like blogger, people don’t want to spend money as a blogger is free to use and people start from it just because of no investment. It provides free hosting, free subdomain and even free SSL certificate.
But then the designers allowed users to download and use the same template with slightly fewer features and with encrypted javascript and permanent footer credits giving attribution to the designer. In this way, they get fame and backlinks to their website. In this way, they get fame and backlinks to their website.
But later on, people were searching for the methods and ways to remove the footer credit and started to search for many ways to achieve this.
Note:-(You should give proper credits to the particular designer and value their work as they are providing it for free.)
There are 2 ways to make this happen.
1]Hide the footer credits by adding a simple code.
2]To remove the encrypted javascript and get rid of the footer credits permanently.
What is encrypted javascript?
Encrypted JavaScript is used to encrypt some lines of the JavaScript code on the webpage, particularly the JavaScript which is used for keeping the credit of the theme. This way they get a backlink to their website through your footer section.
This particular javascript is present in the encoded form and if you remove the full script then some of the functions of your template will misbehave or won’t work at all and the biggest headache is that in most of the templates is whenever any user visits your site then instead he will be redirected to the owner’s website.
So if you have purchased the theme then there’s no problem, you can use it efficiently and it doesn’t have the encrypted javascript in them. But if you are using a free template, then you have come to the right site as I have the easiest method for you.
Note:-Most of the javascript is present at the bottom of the template so try and find them there.Don’t forget to take a backup of your template so you won’t lose any of the data if something goes wrong you can restore the previous version easily.
1]The first is packed javascript which starts from function(p, a,c,k,e,r) function which packs the javascript and can be unpacked by using a simple tool called Unpacker from Matthewfl.
The packed code looks something like this
eval(function(p,a,c,k,e,r){e=String;if(!”.replace(/^/,String)){while(c–)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return’\w+’};c=1};while(c–)if(k[c])p=p.replace(new RegExp(‘\b’+e(c)+’\b’,’g’),k[c]);return p}(‘(0(){4 1=”5 6 7 8″;0 2(3){9(3)}2(1)})();’,10,10,’function|b|something|a|var|some|sample|packed|code|alert’.split(‘|’),0,{}))
You just have to find this type of code or which is similar to this type of code given above.
- Copy the script from your template.
- Go to the link:-http://matthewfl.com/unPacker.html
- Paste the packed script inside it.
- Click Unpack
- Now again Copy the unpacked script from the results.
- Paste that unpacked script in your blogger template replacing the Original packed script. I don’t have the packed script in my template that’s why I am not showing it here.
- After replacing the packed script, You will find it easier to locate the copyright footer redirect inside it.
- So go ahead and delete that particular section.
Now you can change the footer copyright to whatever you want or even remove it if that’s what you desire.
2]The the second step is to remove encrypted javascript which is also at the bottom of the template. This is also similar to the first one but uses a different tool.
Sometimes this encrypted Javascript is inside the function(p,a,c,k,e,d). That means we need to unpack the scripts to decrypt this type of scripts.
Steps to decrypt the Encrypted Javascript from blogger custom templates.
- Find the encrypted javascript inside your template and copy the whole script from just after //<![CDATA[ …..i.e. from var_$ Obify3=[“X4C……….To the end of that particular script* until the colon; just before //]]>

Like This.
2.Open notepad and paste the script you copied as directed in step 1.
3.Save the notepad .txt file.
4.Go to this tool and select local file.
5.Select the .txt file in which you pasted the script.
Note:-When you will select the file, the script will be visible to you instantly and the result too. But that is not the result we want.



This is how you can decrypt an encrypted javascript in blogger template.
How to replace the decrypted script from Theme?
Now to remove footer credit redirect issue in this is the same as the 1st method .i.e to find the redirecting class and footer copyright section in this encrypted (now decrypted) javascript that you replaced here, and delete it or remove it. Now you can change the footer section and even remove it and it will not cause your visitors to redirect to the owner’s site even if you are using a free template.
Sometimes this encrypted Javascript is inside the function(p,a,c,k,e,r). That means we need to unpack the scripts to decrypt this type of scripts. Sometimes we can do that only by 2nd method and sometimes we can do by only method 1 and sometimes we need to use both the methods simultaneously.
I am also posting a video about it so it will make all of this a lot easier to understand.
Amazing deobfuscation guide bro. But variable names remain as “_xyz”. they aren’t decrypted.
Which theme are you using?The above tutorial was made by keeping templateify themes in mind.
Did you autodecode the whole code?Because if you even miss a single variable it will not decode as it should.
Thanks for amazing guide. But it didn’t de-obfucaste variable names. They are still “_xyz123”.
Really sorry that I wasn’t able to help you.
It mostly works for this type of template..It may vary from other ckdes