Footer Credit Decrypter De4js - JavaScript Deobfuscator and Unpacker
Footer Credit Decrypter De4js - JavaScript Deobfuscator and Unpacker
./ de4js 1.12.0
View on GitHub
Line numbers Format Code Unescape strings Recover object-path Execute expression
https://lelinhtinh.github.io/de4js/ 1/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
function darkMode() {
localStorage.setItem("mode", "darkmode" === localStorage.getItem("mode") ? "light" : "darkmode"), "da
rkmode" === localStorage.getItem("mode") ? document.querySelector("#mainCont").classList.add("drK") : doc
ument.querySelector("#mainCont").classList.remove("drK")
};
function gridMode() {
localStorage.setItem("list", "listmode" === localStorage.getItem("list") ? "grid" : "listmode"), "lis
tmode" === localStorage.getItem("list") ? document.querySelector("#mainCont").classList.remove("grD") : d
ocument.querySelector("#mainCont").classList.add("grD")
};
(function () {
var youtube = document.querySelectorAll(".lazyYt");
for (var i = 0; i < youtube.length; i++) {
var source = "https://img.youtube.com/vi/" + youtube[i].dataset.embed + "/sddefault.jpg";
var image = new Image();
image.setAttribute("class", "lazy");
image.setAttribute("data-src", source);
image.setAttribute("src", "data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=");
image.setAttribute("alt", "Youtube video");
image.addEventListener("load", function () {
youtube[i].appendChild(image)
}(i));
youtube[i].addEventListener("click", function () {
var iframe = document.createElement("iframe");
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("allowfullscreen", "");
iframe.setAttribute("src", "https://www.youtube.com/embed/" + this.dataset.embed + "?rel=0&sh
owinfo=0&autoplay=1");
https://lelinhtinh.github.io/de4js/ 2/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
this.innerHTML = "";
this.appendChild(iframe)
})
}
})();
for (var imageslazy = document.querySelectorAll('.pS .separator img, .pS .tr-caption-container img, .pS .
psImg >img, .pS .btImg >img'), i = 0; i < imageslazy.length; i++) imageslazy[i].setAttribute('onclick',
'return false');
function wrap(o, t, e) {
for (var i = document.querySelectorAll(t), c = 0; c < i.length; c++) {
var a = o + i[c].outerHTML + e;
i[c].outerHTML = a
}
}
wrap('<div class="zmImg">', '.pS .separator >a', '</div>');
wrap('<div class="zmImg">', '.pS .tr-caption-container td >a', '</div>');
wrap('<div class="zmImg">', '.pS .separator >img', '</div>');
wrap('<div class="zmImg">', '.pS .tr-caption-container td >img', '</div>');
wrap('<div class="zmImg">', '.pS .psImg >img', '</div>');
wrap('<div class="zmImg">', '.pS .btImg >img', '</div>');
for (var containerimg = document.getElementsByClassName('zmImg'), i = 0; i < containerimg.length; i++) co
ntainerimg[i].onclick = function () {
this.classList.toggle('s')
};
Defer.dom('.lazy', 100, 'loaded', null, {
rootMargin: '1px'
}), 'undefined' != typeof infinite_scroll && infinite_scroll.on('load', function () {
Defer.dom('.lazy', 100, 'loaded', null, {
https://lelinhtinh.github.io/de4js/ 3/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
rootMargin: '1px'
})
});
function changeWord() {
for (var r = wordArray[currentWord], e = currentWord == words.length - 1 ? wordArray[0] : wordArray[c
urrentWord + 1], t = 0; t < r.length; t++) animateLetterOut(r, t);
for (var t = 0; t < e.length; t++) e[t].className = "letter behind", e[0].parentElement.style.opacity
= 1, animateLetterIn(e, t);
currentWord = currentWord == wordArray.length - 1 ? 0 : currentWord + 1
}
function animateLetterOut(r, e) {
setTimeout(function () {
r[e].className = "letter out"
}, 80 * e)
}
function animateLetterIn(r, e) {
setTimeout(function () {
r[e].className = "letter in"
}, 340 + 80 * e)
}
function splitLetters(r) {
var e = r.innerHTML;
r.innerHTML = "";
for (var t = [], n = 0; n < e.length; n++) {
var a = document.createElement("span");
https://lelinhtinh.github.io/de4js/ 4/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
https://lelinhtinh.github.io/de4js/ 5/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
isInit() {
this.allAccord = document.querySelectorAll(this.accordSelector);
let error = false;
for (let i = 0; i < this.allAccord.length; i++) {
if (this.allAccord[i].classList.contains('initiated')) {
error = true;
break
} else {
this.allAccord[i].classList.add('initiated')
}
}
return error
}
onClick(e) {
if (e.target.classList.contains(this.accordSelectorTitle.split('.')[1]) || e.target.closest(this.
accordSelectorTitle)) {
this._elem = e.target.closest(this.accordSelector);
this.content = this._elem.querySelector(this.accordSelectorInner);
if (this.content.style.maxHeight && this.content.style.maxHeight !== '0px') {
this.close(this._elem)
} else {
this.open()
}
}
}
close(elem) {
elem.querySelector(this.accordSelectorInner).style.maxHeight = '0px';
elem.classList.remove(this.classOpened)
}
https://lelinhtinh.github.io/de4js/ 6/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
open() {
if (this.onlyOneOpened) {
this.allAccord.length && this.allAccord.forEach(accor => {
this.close(accor)
})
}
this.content.style.maxHeight = this.content.scrollHeight + "px";
this._elem.classList.add(this.classOpened)
}
}
new Accordion({
onlyOneOpened: true,
});
$(document).ready(function () {
$('#credit').html('<a href="https://www.bloggertheme9.com/" style="visibility:visible !important;disp
lay:inline-block!important;opacity:1!important;position:static!important;text-indent:0px!important;color:
var(--mainC)!important" rel="dofollow">Bloggertheme9</a>');
setInterval(function () {
if (!$('#credit:visible').length) window.location.href = 'https://www.bloggertheme9.com/'
}, 3000)
})
Sponsors Credits
https://lelinhtinh.github.io/de4js/ 7/8
4/15/23, 9:04 AM de4js | JavaScript Deobfuscator and Unpacker
https://lelinhtinh.github.io/de4js/ 8/8