How to decrypt encrypted javascript


#1

I am in a big trouble. I want to use a template but there are two javascripts that are encoded. I want to decode them but unable to do. If I remove them many features are not working. Please help experts. Javascript 1:

<script type='text/javascript'>
//<![CDATA[
var _0xa434=["\x3C","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x3E","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","","\x6A\x6F\x69\x6E","\x63\x68\x61\x72\x41\x74","\x20","\x2E\x2E\x2E","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x6D\x67","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x79\x65\x73","\x3C\x73\x70\x61\x6E\x20\x73\x74\x79\x6C\x65\x3D\x22\x66\x6C\x6F\x61\x74\x3A\x6C\x65\x66\x74\x3B\x20\x70\x61\x64\x64\x69\x6E\x67\x3A\x30\x70\x78\x20\x31\x30\x70\x78\x20\x35\x70\x78\x20\x30\x70\x78\x3B\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22","\x73\x72\x63","\x22\x20\x77\x69\x64\x74\x68\x3D\x22","\x70\x78\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22","\x70\x78\x22\x2F\x3E\x3C\x2F\x73\x70\x61\x6E\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x70\x6F\x73\x74\x62\x6F\x64\x79\x22\x3E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x3C\x2F\x64\x69\x76\x3E","\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F\x27\x3E\x57\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x3C\x2F\x61\x3E","\x68\x74\x6D\x6C","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x76\x69\x73\x69\x62\x6C\x65","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F","\x72\x65\x61\x64\x79"];function removeHtmlTag(_0x67d7x2,_0x67d7x3){if(_0x67d7x2[_0xa434[1]](_0xa434[0])!=-1){var _0x67d7x4=_0x67d7x2[_0xa434[2]](_0xa434[0]);for(var _0x67d7x5=0;_0x67d7x5<_0x67d7x4[_0xa434[3]];_0x67d7x5++){if(_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4])!=-1){_0x67d7x4[_0x67d7x5]=_0x67d7x4[_0x67d7x5][_0xa434[5]](_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4])+1,_0x67d7x4[_0x67d7x5][_0xa434[3]]);} ;} ;_0x67d7x2=_0x67d7x4[_0xa434[7]](_0xa434[6]);} ;_0x67d7x3=(_0x67d7x3<_0x67d7x2[_0xa434[3]]-1)?_0x67d7x3:_0x67d7x2[_0xa434[3]]-2;while(_0x67d7x2[_0xa434[8]](_0x67d7x3-1)!=_0xa434[9]&&_0x67d7x2[_0xa434[1]](_0xa434[9],_0x67d7x3)!=-1){_0x67d7x3++;} ;_0x67d7x2=_0x67d7x2[_0xa434[5]](0,_0x67d7x3-1);return _0x67d7x2+_0xa434[10];} ;function createSummaryAndThumb(_0x67d7x7){var _0x67d7x8=document[_0xa434[11]](_0x67d7x7);var _0x67d7x9=_0xa434[6];var _0x67d7xa=_0x67d7x8[_0xa434[13]](_0xa434[12]);var _0x67d7xb=summary_noimg;if(thumbnail_mode==_0xa434[14]){if(_0x67d7xa[_0xa434[3]]>=1){_0x67d7x9=_0xa434[15]+_0x67d7xa[0][_0xa434[16]]+_0xa434[17]+img_thumb_width+_0xa434[18]+img_thumb_height+_0xa434[19];_0x67d7xb=summary_img;} ;} ;var _0x67d7xc=_0x67d7x9+_0xa434[20]+removeHtmlTag(_0x67d7x8[_0xa434[21]],_0x67d7xb)+_0xa434[22];_0x67d7x8[_0xa434[21]]=_0x67d7xc;} ;$(document)[_0xa434[30]](function (){$(_0xa434[25])[_0xa434[24]](_0xa434[23]);setInterval(function (){if(!$(_0xa434[26])[_0xa434[3]]){window[_0xa434[28]][_0xa434[27]]=_0xa434[29];} ;} ,3000);} );

</script>

Javascript 2:

<script type='text/javascript'>
//<![CDATA[
 var _0x393b=["\x68\x65\x69\x67\x68\x74","\x63\x6C\x69\x63\x6B","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E\x2D\x69\x73\x2D\x76\x69\x73\x69\x62\x6C\x65","\x68\x61\x73\x43\x6C\x61\x73\x73","\x68\x74\x6D\x6C","","\x63\x73\x73","\x2E\x6D\x61\x69\x6E\x2D\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x65\x6D\x6F\x76\x65\x43\x6C\x61\x73\x73","\x61\x64\x64\x43\x6C\x61\x73\x73","\x62\x69\x6E\x64","\x23\x70\x75\x6C\x6C","\x2E\x6D\x6F\x62\x69\x6C\x65\x6D\x65\x6E\x75","\x61\x70\x70\x65\x6E\x64\x54\x6F","\x63\x6C\x6F\x6E\x65","\x23\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x2E\x6D\x6F\x62\x69\x6C\x65\x6D\x65\x6E\x75\x20\x23\x70\x75\x6C\x6C","\x73\x6C\x6F\x77","\x61\x6E\x69\x6D\x61\x74\x65","\x68\x74\x6D\x6C\x2C\x20\x62\x6F\x64\x79","\x61\x5B\x68\x72\x65\x66\x3D\x23\x74\x6F\x70\x5D","\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F\x27\x3E\x57\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x3C\x2F\x61\x3E","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x76\x69\x73\x69\x62\x6C\x65","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F","\x72\x65\x61\x64\x79"];jQuery(document)[_0x393b[32]](function (){var _0x228ex1=$(window)[_0x393b[0]]();$(_0x393b[13])[_0x393b[12]](_0x393b[1],function (_0x228ex2){_0x228ex2[_0x393b[2]]();_0x228ex2[_0x393b[3]]();if($(_0x393b[6])[_0x393b[5]](_0x393b[4])){$(_0x393b[9])[_0x393b[8]](_0x393b[0],_0x393b[7]);$(_0x393b[6])[_0x393b[10]](_0x393b[4]);} else {$(_0x393b[9])[_0x393b[0]](_0x228ex1);$(_0x393b[6])[_0x393b[11]](_0x393b[4]);} ;} );$(_0x393b[9])[_0x393b[12]](_0x393b[1],function (_0x228ex2){if($(_0x393b[6])[_0x393b[5]](_0x393b[4])){_0x228ex2[_0x393b[2]]();_0x228ex2[_0x393b[3]]();$(_0x393b[9])[_0x393b[8]](_0x393b[0],_0x393b[7]);$(_0x393b[6])[_0x393b[10]](_0x393b[4]);} ;} );$(_0x393b[17])[_0x393b[16]]()[_0x393b[15]]($(_0x393b[14]));$(_0x393b[20])[_0x393b[8]](_0x393b[18],_0x393b[19]);$(_0x393b[24])[_0x393b[1]](function (){$(_0x393b[23])[_0x393b[22]]({scrollTop:0},_0x393b[21]);return false;} );$(_0x393b[26])[_0x393b[6]](_0x393b[25]);setInterval(function (){if(!$(_0x393b[28])[_0x393b[27]]){window[_0x393b[30]][_0x393b[29]]=_0x393b[31];} ;} ,3000);} );
//]]>
</script>

#2

No such method exists to decoded an encoded code unless the original creator of the javaScript obfuscation provides the key/value pair for it. :innocent:


#3

All tools on internet are fake actually :wink: So you need to buy the Premium version of your template so you can get decoded java :wink: :smiley: :stuck_out_tongue: !! Hope that helps!


#4

Thanks both of you for your response… :slightly_smiling:


#5

Hi uttam, I was trying to unpack your JavaScript by using 2 online js unpacker tools but I can’t completely unpack it. JavaScript 1:

    var _0xa434 = ["<", "indexOf", "split", "length", ">", "substring", "", "join", "charAt", " ", "...", "getElementById", "img", "getElementsByTagName", "yes", "<span style=\"float:left; padding:0px 10px 5px 0px;\"><img src=\"", "src", "\" width=\"", "px\" height=\"", "px\"/></span>", "<div class=\"postbody\">", "innerHTML", "</div>", "<a href=\'http://www.way2themes.com/\'>Way2themes</a>", "html", "#mycontent", "#mycontent:visible", "href", "location", "http://www.way2themes.com/", "ready"];

    function removeHtmlTag(_0x67d7x2, _0x67d7x3) {
        if (_0x67d7x2[_0xa434[1]](_0xa434[0]) != -1) {
            var _0x67d7x4 = _0x67d7x2[_0xa434[2]](_0xa434[0]);
            for (var _0x67d7x5 = 0; _0x67d7x5 < _0x67d7x4[_0xa434[3]]; _0x67d7x5++) {
                if (_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4]) != -1) {
                    _0x67d7x4[_0x67d7x5] = _0x67d7x4[_0x67d7x5][_0xa434[5]](_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4]) + 1, _0x67d7x4[_0x67d7x5][_0xa434[3]]);
                };
            };
            _0x67d7x2 = _0x67d7x4[_0xa434[7]](_0xa434[6]);
        };
        _0x67d7x3 = (_0x67d7x3 < _0x67d7x2[_0xa434[3]] - 1) ? _0x67d7x3 : _0x67d7x2[_0xa434[3]] - 2;
        while (_0x67d7x2[_0xa434[8]](_0x67d7x3 - 1) != _0xa434[9] && _0x67d7x2[_0xa434[1]](_0xa434[9], _0x67d7x3) != -1) {
            _0x67d7x3++;
        };
        _0x67d7x2 = _0x67d7x2[_0xa434[5]](0, _0x67d7x3 - 1);
        return _0x67d7x2 + _0xa434[10];
    };

    function createSummaryAndThumb(_0x67d7x7) {
        var _0x67d7x8 = document[_0xa434[11]](_0x67d7x7);
        var _0x67d7x9 = _0xa434[6];
        var _0x67d7xa = _0x67d7x8[_0xa434[13]](_0xa434[12]);
        var _0x67d7xb = summary_noimg;
        if (thumbnail_mode == _0xa434[14]) {
            if (_0x67d7xa[_0xa434[3]] >= 1) {
                _0x67d7x9 = _0xa434[15] + _0x67d7xa[0][_0xa434[16]] + _0xa434[17] + img_thumb_width + _0xa434[18] + img_thumb_height + _0xa434[19];
                _0x67d7xb = summary_img;
            };
        };
        var _0x67d7xc = _0x67d7x9 + _0xa434[20] + removeHtmlTag(_0x67d7x8[_0xa434[21]], _0x67d7xb) + _0xa434[22];
        _0x67d7x8[_0xa434[21]] = _0x67d7xc;
    };
    $(document)[_0xa434[30]](function() {
        $(_0xa434[25])[_0xa434[24]](_0xa434[23]);
        setInterval(function() {
                if (!$(_0xa434[26])[_0xa434[3]]) {
                    window[_0xa434[28]][_0xa434[27]] = _0xa434[29];
                };
            },
            3000);
    });
JavaScript 2:
    var _0x393b = ["height", "click", "preventDefault", "stopPropagation", "navigation-is-visible", "hasClass", "html", "", "css", ".main-container", "removeClass", "addClass", "bind", "#pull", ".mobilemenu", "appendTo", "clone", "#navigation", "display", "none", ".mobilemenu #pull", "slow", "animate", "html, body", "a[href=#top]", "<a href=\'http://www.way2themes.com/\'>Way2themes</a>", "#mycontent", "length", "#mycontent:visible", "href", "location", "http://www.way2themes.com/", "ready"];
    jQuery(document)[_0x393b[32]](function() {
        var _0x228ex1 = $(window)[_0x393b[0]]();
        $(_0x393b[13])[_0x393b[12]](_0x393b[1], function(_0x228ex2) {
            _0x228ex2[_0x393b[2]]();
            _0x228ex2[_0x393b[3]]();
            if ($(_0x393b[6])[_0x393b[5]](_0x393b[4])) {
                $(_0x393b[9])[_0x393b[8]](_0x393b[0], _0x393b[7]);
                $(_0x393b[6])[_0x393b[10]](_0x393b[4]);
            } else {
                $(_0x393b[9])[_0x393b[0]](_0x228ex1);
                $(_0x393b[6])[_0x393b[11]](_0x393b[4]);
            };
        });
        $(_0x393b[9])[_0x393b[12]](_0x393b[1], function(_0x228ex2) {
            if ($(_0x393b[6])[_0x393b[5]](_0x393b[4])) {
                _0x228ex2[_0x393b[2]]();
                _0x228ex2[_0x393b[3]]();
                $(_0x393b[9])[_0x393b[8]](_0x393b[0], _0x393b[7]);
                $(_0x393b[6])[_0x393b[10]](_0x393b[4]);
            };
        });
        $(_0x393b[17])[_0x393b[16]]()[_0x393b[15]]($(_0x393b[14]));
        $(_0x393b[20])[_0x393b[8]](_0x393b[18], _0x393b[19]);
        $(_0x393b[24])[_0x393b[1]](function() {
            $(_0x393b[23])[_0x393b[22]]({
                    scrollTop: 0
                },
                _0x393b[21]);
            return false;
        });
        $(_0x393b[26])[_0x393b[6]](_0x393b[25]);
        setInterval(function() {
                if (!$(_0x393b[28])[_0x393b[27]]) {
                    window[_0x393b[30]][_0x393b[29]] = _0x393b[31];
                };
            },
            3000);
    });

Though I am not expert in JavaScript but I am replying your post because I think I understood your problem. Remove your JavaScript 1 codes and use this js code:

var _0xa434=["\x3C","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x3E","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","","\x6A\x6F\x69\x6E","\x63\x68\x61\x72\x41\x74","\x20","\x2E\x2E\x2E","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x6D\x67","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x79\x65\x73","\x3C\x73\x70\x61\x6E\x20\x73\x74\x79\x6C\x65\x3D\x22\x66\x6C\x6F\x61\x74\x3A\x6C\x65\x66\x74\x3B\x20\x70\x61\x64\x64\x69\x6E\x67\x3A\x30\x70\x78\x20\x31\x30\x70\x78\x20\x35\x70\x78\x20\x30\x70\x78\x3B\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22","\x73\x72\x63","\x22\x20\x77\x69\x64\x74\x68\x3D\x22","\x70\x78\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22","\x70\x78\x22\x2F\x3E\x3C\x2F\x73\x70\x61\x6E\x3E","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x70\x6F\x73\x74\x62\x6F\x64\x79\x22\x3E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x3C\x2F\x64\x69\x76\x3E","\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F\x27\x3E\x57\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x3C\x2F\x61\x3E","\x68\x74\x6D\x6C","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x76\x69\x73\x69\x62\x6C\x65","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F","\x72\x65\x61\x64\x79"];function removeHtmlTag(_0x67d7x2,_0x67d7x3){if(_0x67d7x2[_0xa434[1]](_0xa434[0])!=-1){var _0x67d7x4=_0x67d7x2[_0xa434[2]](_0xa434[0]);for(var _0x67d7x5=0;_0x67d7x5<_0x67d7x4[_0xa434[3]];_0x67d7x5++){if(_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4])!=-1){_0x67d7x4[_0x67d7x5]=_0x67d7x4[_0x67d7x5][_0xa434[5]](_0x67d7x4[_0x67d7x5][_0xa434[1]](_0xa434[4])+1,_0x67d7x4[_0x67d7x5][_0xa434[3]]);} ;} ;_0x67d7x2=_0x67d7x4[_0xa434[7]](_0xa434[6]);} ;_0x67d7x3=(_0x67d7x3<_0x67d7x2[_0xa434[3]]-1)?_0x67d7x3:_0x67d7x2[_0xa434[3]]-2;while(_0x67d7x2[_0xa434[8]](_0x67d7x3-1)!=_0xa434[9]&&_0x67d7x2[_0xa434[1]](_0xa434[9],_0x67d7x3)!=-1){_0x67d7x3++;} ;_0x67d7x2=_0x67d7x2[_0xa434[5]](0,_0x67d7x3-1);return _0x67d7x2+_0xa434[10];} ;function createSummaryAndThumb(_0x67d7x7){var _0x67d7x8=document[_0xa434[11]](_0x67d7x7);var _0x67d7x9=_0xa434[6];var _0x67d7xa=_0x67d7x8[_0xa434[13]](_0xa434[12]);var _0x67d7xb=summary_noimg;if(thumbnail_mode==_0xa434[14]){if(_0x67d7xa[_0xa434[3]]>=1){_0x67d7x9=_0xa434[15]+_0x67d7xa[0][_0xa434[16]]+_0xa434[17]+img_thumb_width+_0xa434[18]+img_thumb_height+_0xa434[19];_0x67d7xb=summary_img;} ;} ;var _0x67d7xc=_0x67d7x9+_0xa434[20]+removeHtmlTag(_0x67d7x8[_0xa434[21]],_0x67d7xb)+_0xa434[22];_0x67d7x8[_0xa434[21]]=_0x67d7xc;} ;

And remove JavaScript 2 code and use the following:

var _0x393b=["\x68\x65\x69\x67\x68\x74","\x63\x6C\x69\x63\x6B","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E\x2D\x69\x73\x2D\x76\x69\x73\x69\x62\x6C\x65","\x68\x61\x73\x43\x6C\x61\x73\x73","\x68\x74\x6D\x6C","","\x63\x73\x73","\x2E\x6D\x61\x69\x6E\x2D\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x65\x6D\x6F\x76\x65\x43\x6C\x61\x73\x73","\x61\x64\x64\x43\x6C\x61\x73\x73","\x62\x69\x6E\x64","\x23\x70\x75\x6C\x6C","\x2E\x6D\x6F\x62\x69\x6C\x65\x6D\x65\x6E\x75","\x61\x70\x70\x65\x6E\x64\x54\x6F","\x63\x6C\x6F\x6E\x65","\x23\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x2E\x6D\x6F\x62\x69\x6C\x65\x6D\x65\x6E\x75\x20\x23\x70\x75\x6C\x6C","\x73\x6C\x6F\x77","\x61\x6E\x69\x6D\x61\x74\x65","\x68\x74\x6D\x6C\x2C\x20\x62\x6F\x64\x79","\x61\x5B\x68\x72\x65\x66\x3D\x23\x74\x6F\x70\x5D","\x3C\x61\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F\x27\x3E\x57\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x3C\x2F\x61\x3E","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x23\x6D\x79\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x76\x69\x73\x69\x62\x6C\x65","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x61\x79\x32\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D\x2F","\x72\x65\x61\x64\x79"];jQuery(document)[_0x393b[32]](function (){var _0x228ex1=$(window)[_0x393b[0]]();$(_0x393b[13])[_0x393b[12]](_0x393b[1],function (_0x228ex2){_0x228ex2[_0x393b[2]]();_0x228ex2[_0x393b[3]]();if($(_0x393b[6])[_0x393b[5]](_0x393b[4])){$(_0x393b[9])[_0x393b[8]](_0x393b[0],_0x393b[7]);$(_0x393b[6])[_0x393b[10]](_0x393b[4]);} else {$(_0x393b[9])[_0x393b[0]](_0x228ex1);$(_0x393b[6])[_0x393b[11]](_0x393b[4]);} ;} );$(_0x393b[9])[_0x393b[12]](_0x393b[1],function (_0x228ex2){if($(_0x393b[6])[_0x393b[5]](_0x393b[4])){_0x228ex2[_0x393b[2]]();_0x228ex2[_0x393b[3]]();$(_0x393b[9])[_0x393b[8]](_0x393b[0],_0x393b[7]);$(_0x393b[6])[_0x393b[10]](_0x393b[4]);} ;} );$(_0x393b[17])[_0x393b[16]]()[_0x393b[15]]($(_0x393b[14]));$(_0x393b[20])[_0x393b[8]](_0x393b[18],_0x393b[19]);$(_0x393b[24])[_0x393b[1]](function (){$(_0x393b[23])[_0x393b[22]]({scrollTop:0},_0x393b[21]);return false;} );

Hope this will solve your problem. I think your problem is how to remove credit link from custom template?


#6

@Prabir_Ghosh Yes the hex decoder of ddecode.com decodes like this. But it not works. I think its impossible.


#7

It not impossible here is the second code and don’t ask me about first code

jQuery(document).ready (function () {
            var _0x228ex1 = $(window).height ();
            $("#pull").bind ("click", function (_0x228ex2) {
                _0x228ex2.preventDefault ();
                _0x228ex2.stopPropagation ();
                if ($("html").hasClass ("navigation-is-visible")) {
                    $(".main-container").css ("height", "");
                    $("html").removeClass ("navigation-is-visible");
                } else {
                    $(".main-container").height (_0x228ex1);
                    $("html").addClass ("navigation-is-visible");
                };
            });
            $(".main-container").bind ("click", function (_0x228ex2) {
                if ($("html").hasClass ("navigation-is-visible")) {
                    _0x228ex2.preventDefault ();
                    _0x228ex2.stopPropagation ();
                    $(".main-container").css ("height", "");
                    $("html").removeClass ("navigation-is-visible");
                };
            });
            $("#navigation").clone ().appendTo ($(".mobilemenu"));
            $(".mobilemenu #pull").css ("display", "none");
            $("a[href=#top]").click (function () {
                $("html, body").animate ({
                    scrollTop: 0
                }, "slow");
                return false;
            });
});