the script is not encrypted, but obfuscated, But, to reduce your curiosity, see the script below after I’ve deobfuscated:
var z = ["$(i)['f'](5(){$('#3')['j']('<a 4="2://6.7.8" c="d" e="b" g="h:9!0;k:1!0;l:m!0">تصميم:عبدو تكنولوجي</a>'),n(5(){$('#3:9')['o']||(p['q']['4']='2://6.7.8')},r)});", "|", "split", "important||http|dontedit|href|function|www|abdoutech|com|visible||_blank|rel|dofollow|target|ready|style|visibility|document|html|opacity|position|relative|setInterval|length|window|location|3e3", "replace", "", "\w+", "\b", "g"];
eval(function(a, b, c, d, e, f) {
e = function(g) {
return g.toString(b)
};
if (!z[5][z[4]](/^/, String)) {
while (g--) {
f[e(g)] = d[g] || e(g)
};
d = [function(e) {
return f[e]
}];
e = function() {
return z[6]
};
g = 1
};
while (g--) {
if (d[g]) {
a = a[z[4]](new RegExp(z[7] + e(g) + z[7], z[8]), d[g])
}
};
return a
}
(z[0], 28, 28, z[3][z[2]](z[1]), 0, {}))
UPDATE 1:
See:
How does this obfuscated JavaScript work?
for the complete explain 🙂
UPDATE 2:
Since you ask me the script inside it, here what i’ve got:
$(document)['ready'](function() {
$('#dontedit')['html']('<a href="http://www.abdoutech.com" rel="dofollow" target="_blank" style="visibility:visible!important;opacity:1!important;position:relative!important">تصميم:عبدو تكنولوجي</a>'), setInterval(function() {
$('#dontedit:visible')['length'] || (window['location']['href'] = 'http://www.abdoutech.com')
}, 3e3)
})
Simplified Code:
$(document).ready(function() {
$('#dontedit').html('<a href="http://www.abdoutech.com" rel="dofollow" target="_blank" style="visibility:visible!important;opacity:1!important;position:relative!important">تصميم:عبدو تكنولوجي</a>');
setInterval(function() {
$('#dontedit:visible').length || (window.location.href="http://www.abdoutech.com")
}, 3e3);
});