Chào các bạn, bài viết này mình sẽ hướng dẫn các bạn thêm featuredpost dành cho blogspot
HƯỚNG DẪN CÁCH LÀM
Bước 1: Thêm đoạn code bên dưới vào chỗ bạn muốn nó hiển thị<b:if cond='data:blog.url == data:blog.homepageUrl'>Bước 2: Tìm thẻ </head> và thêm đoạn bên dưới lên trên nó (bước này dành cho ai chưa thêm thư viện jquery)
<div class='featured row' id='featured'>
<div id='featuredpost'/>
</div>
<div class='clear'/>
</b:if>
<script src='//code.jquery.com/jquery.min.js'></script>Bước 3: Thêm đoạn bên dưới lên trên </body> để nó làm đẹp & hoạt động code
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<style type='text/css'>
#featuredpost:before{content:'';background:#fff url(http://i.imgur.com/FwB3zFM.pngg)no-repeat;width:70px;height:70px;position:absolute;left:45%;top:45%;animation-duration:2s;animation-iteration-count:infinite;animation-name:loadlogo}@keyframes loadlogo{0%{transform: rotate(720deg)}100%{transform: rotate(0deg)}}#slides ul,#featuredpost{height:500px}#featuredpost{background:#fff}#slides li:nth-child(1),#slides li:nth-child(2),#slides li:nth-child(3),#slides li:nth-child(4),#slides li:nth-child(5),#slides li:nth-child(6),#slides li:nth-child(7){display:block}#slides li:nth-child(1){left:0;top:0;height:68%}#slides li:nth-child(2){left:50%;top:0;width:50%;height:68%}#slides li:nth-child(3){left:0;top:68%;width:20%;height:32%}#slides li:nth-child(4){left:20%;top:68%;width:20%;height:32%}#slides li:nth-child(5){left:40%;top:68%;width:20%;height:32%}#slides li:nth-child(6){left:60%;top:68%;width:20%;height:32%}#slides li:nth-child(7){left:80%;top:68%;width:20%;height:32%}#slides li:nth-child(1) h4,#slides li:nth-child(2) h4{font-size:22px;font-weight:400}#slides li:nth-child(1) h4{padding:10px 10px 10px 90px}#featuredpost{margin:0 auto;position:relative}#slides *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#slides li,#slides ul{padding:0;margin:0;list-style:none;position:relative}#slides li{width:50%;height:100%;position:absolute;display:none;overflow:hidden}#slides li h4{overflow:hidden;bottom:0;color:#fafafa;box-shadow:5px 2px 20px 8px rgba(0, 0, 0, 0.78);width:100%;padding:10px;text-align:left;text-transform:Capitalize;background:rgba(0,0,0,.65);height:100px;font-family:Roboto,sans-serif;text-shadow:2px 2px 0 rgba(0,0,0,.2);line-height:1.2em;left:0;font-weight:400}#slides .overlayx,#slides a,#slides img{width:100%;height:100%}#slides li:nth-child(1) .label_text{font-size:30px;display:block;bottom:10px;left:10px;padding:0;font-family:Roboto,sans-serif;box-shadow:5px 3px 0 rgba(0,0,0,.2)}#slides li:nth-child(1) span.dd{display:block;font-size:30px;padding:12px 15px;background:#1c9dd8;margin:0}#slides li:nth-child(1) span.dm{display:block;font-size:14px;background:#333;color:#fff;padding:5px 21px;text-transform:uppercase;margin:0}#slides a{display:block}#slides img{display:block;border:0;padding:0;background-color:#333;-moz-transform:scale(1) rotate(0);-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0);transition:all .6s linear}.newsletter,.newsletter__input{border:1px solid #E1E1E1}#slides li:nth-child(1) .overlayx,#slides li:nth-child(1) span.autname,#slides li:nth-child(1) span.dy,#slides li:nth-child(2) .autname,#slides li:nth-child(3) .autname,#slides li:nth-child(4) .autname,#slides li:nth-child(5) .autname,#slides li:nth-child(6) .autname,#slides li:nth-child(7) .autname{display:none}#slides li a:hover img{-moz-transform:scale(1.1) rotate(1deg);-webkit-transform:scale(1.1) rotate(1deg);-ms-transform:scale(1.1) rotate(1deg);transform:scale(1.1) rotate(1deg);transition:all .3s linear}#slides .overlayx{position:absolute;z-index:2;background:-moz-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,.65) 100%);background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,.65) 100%);background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.65) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#a6000000',GradientType=0)}#slides .label_text,#slides h4{z-index:3;left:10px;position:absolute;font-family:Roboto,sans-serif}#slides h4{bottom:40px;margin:0 10px 0 0;font-size:13px;font-weight:500;padding:5px 10px;color:#f9f9f9;line-height:1.1;text-align:left;text-transform:Capitalize}#slides .label_text{font-size:11px;color:#ddd;bottom:10px;padding:3px 0}#slides .overlayx,#slides li{transition:all .4s ease-in-out}#slides li:hover .overlayx{opacity:.1}@media only screen and (max-width:800px){#slides ul,#featuredpost{height:450px;overflow:hidden}.resumo span{display:none!important}#slides li:nth-child(1){width:100%;height:100%}#slides li:nth-child(2),#slides li:nth-child(3),#slides li:nth-child(4),#slides li:nth-child(5),#slides li:nth-child(6),#slides li:nth-child(7){top:0;left:100%;height:100%;width:0}}@media only screen and (max-width:640px){#slides ul,#featuredpost{height:350px}#slides li:nth-child(1) h4{font-size:18px;line-height:24px}}@media only screen and (max-width:414px){#slides ul,#featuredpost{height:250px}}@media only screen and (max-width:375px){#slides li:nth-child(2) h4,#slides li:nth-child(3) h4,#slides li:nth-child(4) h4{font-size:12px!important;line-height:14px}}@media only screen and (max-width:320px){#slides li:nth-child(1) h4{font-size:16px;line-height:1.1em}#slides li:nth-child(2) h4,#slides li:nth-child(3) h4,#slides li:nth-child(4) h4,#slides li:nth-child(5) h4{font-size:10px!important;line-height:1.1em}}h2.post-title{font-size:14px;margin-bottom:3px;margin-top:7px}.idb-komentar i{font-size:20px;color:#4e6f74;float:left;margin-right:5px}.idb-komentar{padding:5px}.snippets{color:#999;line-height:1.5}.post-body{font-size:12.5px;font-family:'Roboto',sans-serif}.tags a:nth-child(n+3){display:none}
</style>
<script>
//<![CDATA[
var _0x5547 = ["extend", "idcontaint", "blogURL", "MaxPost", "", "protocol", "location", "//", "host", "loadingClass", "addClass", "<div id=\"slides\"><ul class=\"randomnya\"></ul></div><div id=\"buttons\"><a href=\"#\" id=\"prevx\" title=\"prev\"></a><a href=\"#\" id=\"nextx\" title=\"next\"></a></div>", "html", "entry", "feed", "length", "link", "alternate", "rel", "href", "media$thumbnail", "/s", "ImageSize", "replace", "url", "$1", "pBlank", "$t", "title", "substring", "published", "name", "author", "<li><a target=\"_blank\" href=\"", "\" title=\"", "\"><div class=\"overlayx\"></div><img class=\"random lazyload\" src=\"", "\"><h4>", "</h4></a><div class=\"label_text\"><span class=\"date\"><span class=\"dd\">", "</span> <span class=\"dm\">", "MonthNames", "</span> <span class=\"dy\">", "</span></span> <span class=\"autname\">", "</span></div></li>", "append", "ul", "/-/", "tagName", "/feeds/posts/default", "?max-results=", "&orderby=published&alt=json-in-script", "jsonp", "ajax", "#slides li:last", "before", "#slides li:first", "click", "#prevx", "after", "#nextx", "autoplay", "interval", "rotate()", "hover", "#slides", "removeClass", "ready", "InfiniteScroll", "querySelectorAll", "function", "object", "innerHTML", "loading", "text", "state", "add", "classList", "className", " ", "load", "div", "createElement", "post", "target", "anchors", "anchor", "afterend", "<span class=\"fi\" id=\"#fi:", "\"></span>", "insertAdjacentHTML", "appendChild", "error", "loaded", "firstChild", "onclick", "type", ".posts", ".post", ".anchors", ".anchor", "%s", "infinite-scroll-state-", "on", "push", "off", "XMLHttpRequest", "onreadystatechange", "readyState", "status", "responseText", "GET", "open", "send", "posts", "body", "documentElement", "offsetTop", "offsetHeight", "innerHeight", "afterbegin", "<span class=\"fi\" id=\"#fi:0\"></span>", "scrollTop", "scroll", "clearTimeout", "setTimeout", "addEventListener", ".blog-posts", ".date-outer", ".blog-pager", ".blog-pager-older-link", "<a class=\"js-load waves-effect waves-light\" href=\"javascript:;\">Load More</a>", "<span class=\"js-loading\" style=\"cursor:wait;\">Loading...</span>", "<span class=\"js-loaded\">ALL POST SHOW</span>", "<a class=\"js-error\" href=\"javascript:;\">ERROR</a>", "write", "origin", "#featuredpost", "loadingxx", "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg90h4wxg1jJNqSv7jJ655IIx6Jql5cv9gLiihSqv2lJ3Xn3LxKE3n0lAW5iKrCviZCmGt8CP07LMVXsEIDR9o0YeQ-V6eXBz1TAk6Fk9nPCGZbpiigfxpuWUvaf9vVDKss9QykvTI7YnEn/s400/blanternoimage.png", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
var _0xeb33 = [_0x5547[0], _0x5547[1], _0x5547[2], _0x5547[3], _0x5547[4], _0x5547[5], _0x5547[6], _0x5547[7], _0x5547[8], _0x5547[9], _0x5547[10], _0x5547[11], _0x5547[12], _0x5547[13], _0x5547[14], _0x5547[15], _0x5547[16], _0x5547[17], _0x5547[18], _0x5547[19], _0x5547[20], _0x5547[21], _0x5547[22], _0x5547[23], _0x5547[24], _0x5547[25], _0x5547[26], _0x5547[27], _0x5547[28], _0x5547[29], _0x5547[30], _0x5547[31], _0x5547[32], _0x5547[33], _0x5547[34], _0x5547[35], _0x5547[36], _0x5547[37], _0x5547[38], _0x5547[39], _0x5547[40], _0x5547[41], _0x5547[42], _0x5547[43], _0x5547[44], _0x5547[45], _0x5547[46], _0x5547[47], _0x5547[48], _0x5547[49], _0x5547[50], _0x5547[51], _0x5547[52], _0x5547[53], _0x5547[54], _0x5547[55], _0x5547[56], _0x5547[57], _0x5547[58], _0x5547[59], _0x5547[60], _0x5547[61], _0x5547[62], _0x5547[63], _0x5547[64], _0x5547[65], _0x5547[66], _0x5547[67], _0x5547[68], _0x5547[69], _0x5547[70], _0x5547[71], _0x5547[72], _0x5547[73], _0x5547[74], _0x5547[75], _0x5547[76], _0x5547[77], _0x5547[78], _0x5547[79], _0x5547[80], _0x5547[81], _0x5547[82], _0x5547[83], _0x5547[84], _0x5547[85], _0x5547[86], _0x5547[87], _0x5547[88], _0x5547[89], _0x5547[90], _0x5547[91], _0x5547[92], _0x5547[93], _0x5547[94], _0x5547[95], _0x5547[96], _0x5547[97], _0x5547[98], _0x5547[99], _0x5547[100], _0x5547[101], _0x5547[102], _0x5547[103], _0x5547[104], _0x5547[105], _0x5547[106], _0x5547[107], _0x5547[108], _0x5547[109], _0x5547[110], _0x5547[111], _0x5547[112], _0x5547[113], _0x5547[114], _0x5547[115], _0x5547[116], _0x5547[117], _0x5547[118], _0x5547[119], _0x5547[120], _0x5547[121], _0x5547[122], _0x5547[123], _0x5547[124], _0x5547[125], _0x5547[126], _0x5547[127], _0x5547[128], _0x5547[129], _0x5547[130], _0x5547[131], _0x5547[132], _0x5547[133], _0x5547[134], _0x5547[135], _0x5547[136], _0x5547[137], _0x5547[138], _0x5547[139], _0x5547[140], _0x5547[141], _0x5547[142], _0x5547[143], _0x5547[144], _0x5547[145], _0x5547[146], _0x5547[147], _0x5547[148], _0x5547[149]];
function FeaturedPost(_0x5762x3) {
! function (_0x5762x4) {
h = _0x5762x4[_0xeb33[0]]({}, h, _0x5762x3);
var _0x5762x5 = _0x5762x4(h[_0xeb33[1]]),
_0x5762x6 = h[_0xeb33[2]],
_0x5762x7 = 200 * h[_0xeb33[3]];
_0xeb33[4] === h[_0xeb33[2]] && (_0x5762x6 = window[_0xeb33[6]][_0xeb33[5]] + _0xeb33[7] + window[_0xeb33[6]][_0xeb33[8]]), _0x5762x5[_0xeb33[12]](_0xeb33[11])[_0xeb33[10]](h[_0xeb33[9]]);
var _0x5762x8 = function (_0x5762x3) {
for (var _0x5762x6, _0x5762x7, _0x5762x8, _0x5762x9, _0x5762xa, _0x5762xb, _0x5762xc, _0x5762xd = _0xeb33[4], _0x5762xe = _0x5762x3[_0xeb33[14]][_0xeb33[13]], _0x5762xf = 0; _0x5762xf < _0x5762xe[_0xeb33[15]]; _0x5762xf++) {
for (var _0x5762x10 = 0; _0x5762x10 < _0x5762xe[_0x5762xf][_0xeb33[16]][_0xeb33[15]]; _0x5762x10++) {
if (_0xeb33[17] == _0x5762xe[_0x5762xf][_0xeb33[16]][_0x5762x10][_0xeb33[18]]) {
_0x5762x6 = _0x5762xe[_0x5762xf][_0xeb33[16]][_0x5762x10][_0xeb33[19]];
break
}
};
_0x5762x9 = _0xeb33[20] in _0x5762xe[_0x5762xf] ? _0x5762xe[_0x5762xf][_0xeb33[20]][_0xeb33[24]][_0xeb33[23]](/.*?:\/\//g, _0xeb33[7])[_0xeb33[23]](/\/s[0-9]+\-c/g, _0xeb33[21] + h[_0xeb33[22]]) : h[_0xeb33[26]][_0xeb33[23]](/\/s[0-9]+(\-c|\/)/, _0xeb33[21] + h[_0xeb33[22]] + _0xeb33[25]), _0x5762x7 = _0x5762xe[_0x5762xf][_0xeb33[28]][_0xeb33[27]], _0x5762xc = _0x5762xe[_0x5762xf][_0xeb33[30]][_0xeb33[27]][_0xeb33[29]](0, 10), _0x5762x8 = _0x5762xe[_0x5762xf][_0xeb33[32]][0][_0xeb33[31]][_0xeb33[27]], _0x5762xa = _0x5762xc[_0xeb33[29]](0, 4), _0x5762xb = _0x5762xc[_0xeb33[29]](5, 7), _0x5762xd += _0xeb33[33] + _0x5762x6 + _0xeb33[34] + _0x5762x7 + _0xeb33[35] + _0x5762x9 + _0xeb33[34] + _0x5762x7 + _0xeb33[36] + _0x5762x7 + _0xeb33[37] + _0x5762xc[_0xeb33[29]](8, 10) + _0xeb33[38] + h[_0xeb33[39]][parseInt(_0x5762xb, 10) - 1] + _0xeb33[40] + _0x5762xa + _0xeb33[41] + _0x5762x8 + _0xeb33[42]
};
_0x5762x4(_0xeb33[44], _0x5762x5)[_0xeb33[43]](_0x5762xd)
};
_0x5762x4(document)[_0xeb33[65]](function () {
var _0x5762x3 = _0xeb33[45] + h[_0xeb33[46]];
!1 === h[_0xeb33[46]] ? (_0x5762x3 = _0xeb33[4], _0x5762x4[_0xeb33[51]]({
url: _0x5762x6 + _0xeb33[47] + _0x5762x3 + _0xeb33[48] + h[_0xeb33[3]] + _0xeb33[49],
success: _0x5762x8,
dataType: _0xeb33[50],
cache: !0
})) : _0x5762x4[_0xeb33[51]]({
url: _0x5762x6 + _0xeb33[47] + _0x5762x3 + _0xeb33[48] + h[_0xeb33[3]] + _0xeb33[49],
success: _0x5762x8,
dataType: _0xeb33[50],
cache: !0
}), setTimeout(function () {
if (_0x5762x4(_0xeb33[56])[_0xeb33[55]](function () {
return _0x5762x4(_0xeb33[54])[_0xeb33[53]](_0x5762x4(_0xeb33[52])), !1
}), _0x5762x4(_0xeb33[58])[_0xeb33[55]](function () {
return _0x5762x4(_0xeb33[52])[_0xeb33[57]](_0x5762x4(_0xeb33[54])), !1
}), h[_0xeb33[59]]) {
var _0x5762x3 = h[_0xeb33[60]],
_0x5762x6 = setInterval(_0xeb33[61], _0x5762x3);
_0x5762x4(_0xeb33[54])[_0xeb33[53]](_0x5762x4()), _0x5762x4(_0xeb33[63])[_0xeb33[62]](function () {
clearInterval(_0x5762x6)
}, function () {
_0x5762x6 = setInterval(_0xeb33[61], _0x5762x3)
})
};
_0x5762x5[_0xeb33[64]](h[_0xeb33[9]])
}, _0x5762x7)
})
}
(jQuery)
}
function rotate() {
$(_0xeb33[58])[_0xeb33[55]]()
}! function (_0x5762x3, _0x5762x4) {
_0x5762x3[_0xeb33[66]] = function (_0x5762x5) {
function _0x5762x6(_0x5762x3, _0x5762x5) {
return (_0x5762x5 = _0x5762x5 || _0x5762x4)[_0xeb33[67]](_0x5762x3)
}
function _0x5762x7(_0x5762x3) {
return void((0)) !== _0x5762x3
}
function _0x5762x8(_0x5762x3) {
return _0xeb33[68] == typeof _0x5762x3
}
function _0x5762x9(_0x5762x3, _0x5762x4) {
_0x5762x3 = _0x5762x3 || {};
for (var _0x5762x5 in _0x5762x4) {
_0x5762x3[_0x5762x5] = _0xeb33[69] == typeof _0x5762x4[_0x5762x5] ? _0x5762x9(_0x5762x3[_0x5762x5], _0x5762x4[_0x5762x5]) : _0x5762x4[_0x5762x5]
};
return _0x5762x3
}
function _0x5762xa(_0x5762x3, _0x5762x4) {
if (_0x5762x7(_0x5762xe[_0x5762x3])) {
for (var _0x5762x5 in _0x5762xe[_0x5762x3]) {
_0x5762xe[_0x5762x3][_0x5762x5](_0x5762x4)
}
}
}
function _0x5762xb() {
return _0x5762x15[_0xeb33[70]] = _0x5762xd[_0xeb33[72]][_0xeb33[71]], _0x5762x13 = !0, _0x5762x16 ? (_0x5762x18[_0xeb33[75]][_0xeb33[74]](_0x5762xd[_0xeb33[73]][_0xeb33[71]]), _0x5762xa(_0xeb33[71], [_0x5762xd]), void((_0x5762x10(_0x5762x16, function (_0x5762x3, _0x5762x5) {
_0x5762x18[_0xeb33[76]] = _0x5762x19 + _0xeb33[77] + _0x5762xd[_0xeb33[73]][_0xeb33[78]], (_0x5762xf = _0x5762x4[_0xeb33[80]](_0xeb33[79]))[_0xeb33[70]] = _0x5762x3;
var _0x5762x7 = _0x5762x6(_0xeb33[28], _0x5762xf),
_0x5762x8 = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[81]], _0x5762xf),
_0x5762x9 = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[83]] + _0xeb33[77] + _0x5762xd[_0xeb33[82]][_0xeb33[84]], _0x5762xf),
_0x5762xb = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[81]], _0x5762x14);
if (_0x5762x7 = _0x5762x7 && _0x5762x7[0] ? _0x5762x7[0][_0xeb33[70]] : _0xeb33[4], _0x5762x8[_0xeb33[15]] && _0x5762xb[_0xeb33[15]]) {
var _0x5762xe = _0x5762xb[_0x5762xb[_0xeb33[15]] - 1];
_0x5762x4[_0xeb33[28]] = _0x5762x7, _0x5762xe[_0xeb33[88]](_0xeb33[85], _0xeb33[86] + _0x5762x1e + _0xeb33[87]), _0x5762xf = _0x5762x4[_0xeb33[80]](_0xeb33[79]);
for (var _0x5762x10 = 0, h = _0x5762x8[_0xeb33[15]]; h > _0x5762x10; ++_0x5762x10) {
_0x5762xf[_0xeb33[89]](_0x5762x8[_0x5762x10])
};
_0x5762xe[_0xeb33[88]](_0xeb33[85], _0x5762xf[_0xeb33[70]]), _0x5762xc(), _0x5762x16 = !!_0x5762x9[_0xeb33[15]] && _0x5762x9[0][_0xeb33[19]], _0x5762x13 = !1, _0x5762x1e++, _0x5762xa(_0xeb33[78], [_0x5762xd, _0x5762x3, _0x5762x5])
}
}, function (_0x5762x3, _0x5762x4) {
_0x5762x18[_0xeb33[75]][_0xeb33[74]](_0x5762xd[_0xeb33[73]][_0xeb33[90]]), _0x5762x13 = !1, _0x5762xc(1), _0x5762xa(_0xeb33[90], [_0x5762xd, _0x5762x3, _0x5762x4])
})))) : (_0x5762x18[_0xeb33[75]][_0xeb33[74]](_0x5762xd[_0xeb33[73]][_0xeb33[91]]), _0x5762x15[_0xeb33[70]] = _0x5762xd[_0xeb33[72]][_0xeb33[91]], _0x5762xa(_0xeb33[91], [_0x5762xd]))
}
function _0x5762xc(_0x5762x3) {
if (_0x5762x15[_0xeb33[70]] = _0xeb33[4], h) {
_0x5762xf[_0xeb33[70]] = _0x5762xd[_0xeb33[72]][_0x5762x3 ? _0xeb33[90] : _0xeb33[78]];
var _0x5762x4 = _0x5762xf[_0xeb33[92]];
_0x5762x4[_0xeb33[93]] = function () {
return 2 === _0x5762xd[_0xeb33[94]] && (h = !1), _0x5762xb(), !1
}, _0x5762x15[_0xeb33[89]](_0x5762x4)
}
}
var _0x5762xd = {
target: {
posts: _0xeb33[95],
post: _0xeb33[96],
anchors: _0xeb33[97],
anchor: _0xeb33[98]
},
text: {
load: _0xeb33[99],
loading: _0xeb33[99],
loaded: _0xeb33[99],
error: _0xeb33[99]
},
state: {
load: (_0x5762x10 = _0xeb33[100]) + _0xeb33[78],
loading: _0x5762x10 + _0xeb33[71],
loaded: _0x5762x10 + _0xeb33[91],
error: _0x5762x10 + _0xeb33[90]
}
},
_0x5762xe = {
load: [],
loading: [],
loaded: [],
error: []
};
(_0x5762xd = _0x5762x9(_0x5762xd, _0x5762x5 || {}))[_0xeb33[101]] = function (_0x5762x3, _0x5762x4, _0x5762x5) {
return _0x5762x7(_0x5762x3) ? _0x5762x7(_0x5762x4) ? void(((_0x5762x7(_0x5762x5) ? _0x5762xe[_0x5762x3][_0x5762x5] = _0x5762x4 : _0x5762xe[_0x5762x3][_0xeb33[102]](_0x5762x4)))) : _0x5762xe[_0x5762x3] : _0x5762xe
}, _0x5762xd[_0xeb33[103]] = function (_0x5762x3, _0x5762x4) {
_0x5762x7(_0x5762x4) ? delete _0x5762xe[_0x5762x3][_0x5762x4] : _0x5762xe[_0x5762x3] = []
};
var _0x5762xf = null,
_0x5762x10 = function (_0x5762x4, _0x5762x5, _0x5762x6) {
if (_0x5762x3[_0xeb33[104]]) {
var _0x5762x7 = new XMLHttpRequest;
_0x5762x7[_0xeb33[105]] = function () {
if (4 === _0x5762x7[_0xeb33[106]]) {
if (200 !== _0x5762x7[_0xeb33[107]]) {
return void(((_0x5762x6 && _0x5762x8(_0x5762x6) && _0x5762x6(_0x5762x7[_0xeb33[108]], _0x5762x7))))
};
_0x5762x5 && _0x5762x8(_0x5762x5) && _0x5762x5(_0x5762x7[_0xeb33[108]], _0x5762x7)
}
}, _0x5762x7[_0xeb33[110]](_0xeb33[109], _0x5762x4), _0x5762x7[_0xeb33[111]]()
}
},
h = 1 !== _0x5762xd[_0xeb33[94]],
_0x5762x13 = !1,
_0x5762x14 = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[112]])[0],
_0x5762x15 = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[83]])[0],
_0x5762x16 = _0x5762x6(_0x5762xd[_0xeb33[82]][_0xeb33[84]], _0x5762x15),
_0x5762x17 = _0x5762x4[_0xeb33[113]],
_0x5762x18 = _0x5762x4[_0xeb33[114]],
_0x5762x19 = _0x5762x18[_0xeb33[76]] || _0xeb33[4],
_0x5762x1a = _0x5762x14[_0xeb33[115]] + _0x5762x14[_0xeb33[116]],
_0x5762x1b = _0x5762x3[_0xeb33[117]],
_0x5762x1c = 0,
_0x5762x1d = null,
_0x5762x1e = 1;
if (_0x5762x16[_0xeb33[15]]) {
_0x5762x16 = _0x5762x16[0][_0xeb33[19]], _0x5762x14[_0xeb33[88]](_0xeb33[118], _0xeb33[119]), _0x5762xf = _0x5762x4[_0xeb33[80]](_0xeb33[79]), _0x5762xc();
var _0x5762x1f = function () {
_0x5762x1a = _0x5762x14[_0xeb33[115]] + _0x5762x14[_0xeb33[116]], _0x5762x1b = _0x5762x3[_0xeb33[117]], _0x5762x1c = _0x5762x17[_0xeb33[120]] || _0x5762x18[_0xeb33[120]], _0x5762x13 || _0x5762x1a > _0x5762x1c + _0x5762x1b || _0x5762xb()
};
_0x5762x1f(), 0 !== _0x5762xd[_0xeb33[94]] && _0x5762x3[_0xeb33[124]](_0xeb33[121], function () {
h || (_0x5762x1d && _0x5762x3[_0xeb33[122]](_0x5762x1d), _0x5762x1d = _0x5762x3[_0xeb33[123]](_0x5762x1f, 500))
}, !1)
};
return _0x5762xd
}
}
(window, document);
var infinite_scroll = new InfiniteScroll({
type: 2,
target: {
posts: _0xeb33[125],
post: _0xeb33[126],
anchors: _0xeb33[127],
anchor: _0xeb33[128]
},
text: {
load: _0xeb33[129],
loading: _0xeb33[130],
loaded: _0xeb33[131],
error: _0xeb33[132]
}
});
document[_0xeb33[133]](_0xeb33[4]), $(document)[_0xeb33[65]](function () {
FeaturedPost()
});
var h = {
blogURL: window[_0xeb33[6]][_0xeb33[134]],
MaxPost: 7,
idcontaint: _0xeb33[135],
ImageSize: 535,
interval: 4e3,
autoplay: !0,
loadingClass: _0xeb33[136],
pBlank: _0xeb33[137],
MonthNames: [_0xeb33[138], _0xeb33[139], _0xeb33[140], _0xeb33[141], _0xeb33[142], _0xeb33[143], _0xeb33[144], _0xeb33[145], _0xeb33[146], _0xeb33[147], _0xeb33[148], _0xeb33[149]],
tagName: !1
}
//]]>
</script>
</b:if>
Nguồn code: Blanter Octa
Chúc bạn thành công!