Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function chunkArray(_0x57c9x2, _0x57c9x3) {
- var _0x57c9x4 = 0;
- var _0x57c9x5 = _0x57c9x2.length;
- var _0x57c9x6 = [];
- for (_0x57c9x4 = 0; _0x57c9x4 < _0x57c9x5; _0x57c9x4 += _0x57c9x3) {
- myChunk = _0x57c9x2.slice(_0x57c9x4, _0x57c9x4 + _0x57c9x3);
- _0x57c9x6.push(myChunk)
- };
- return _0x57c9x6
- }
- function getInfo(_0x57c9x8, _0x57c9x9) {
- $.ajax({
- type: "POST",
- url: "https://uid.nguyenhainam.net/api/index.php",
- dataType: "json",
- data: {
- list: _0x57c9x8[0],
- access_token: _0x57c9x9
- },
- success: function (_0x57c9xa) {
- if (_0x57c9xa.hasOwnProperty("status")) {
- if (_0x57c9xa.status === true) {
- $kq = _0x57c9xa.data;
- $("textarea[name=\"result2\"]").val($("textarea[name=\"result2\"]").val() + $kq.mes)
- } else {
- $kq = _0x57c9xa.data
- }
- }
- },
- error: function (_0x57c9xb, _0x57c9xc, _0x57c9xd) {}
- })
- }
- $(".btn_info").click(function () {
- if (window.location.hostname != "facebook.fsale.vn") {
- return
- };
- $("span.allphone").html(0);
- $("span.allnophone").html(0);
- $(this).attr("disabled", true);
- var _0x57c9x9 = "";
- var _0x57c9xe = $("textarea[name=\"result\"]").val().split(/\n/);
- var _0x57c9xf = _0x57c9xe.length;
- if (_0x57c9xf > 500) {
- $("#cmess").show();
- $("span#cmes2").text("(Max 500) Liên hệ Fsale nếu cần sử dụng nhiều ");
- return
- };
- var _0x57c9x10 = Array.from(_0x57c9xe.reduce((_0x57c9x12, _0x57c9x13) => _0x57c9x12.set(_0x57c9x13.trim(), _0x57c9x13.trim()), new Map())).map((_0x57c9x11) => _0x57c9x11[1]);
- _0x57c9x10 = chunkArray(_0x57c9x10, 100);
- getInfo(_0x57c9x10, _0x57c9x9)
- });
- function getInfo3(_0x57c9x8, _0x57c9x9) {
- $.ajax({
- type: "POST",
- url: "https://uid.nguyenhainam.net/api/phonetouid.php",
- dataType: "json",
- data: {
- list: _0x57c9x8[0],
- access_token: _0x57c9x9
- },
- success: function (_0x57c9xa) {
- if (_0x57c9xa.hasOwnProperty("status")) {
- c = _0x57c9x8.toString();
- c = c.substr(0, 1);
- if (c != 0) {
- $("#dmess").show();
- $("span#dmes2").text("Số điện thoại phải bắt đầu từ 0");
- return
- };
- if (_0x57c9xa.status === true) {
- $kq = _0x57c9xa.data;
- $re = $kq.mes;
- $re = $re.replace("\t\t\t", "");
- $re = $re.replace("\t\t", "");
- li = _0x57c9x8.toString();
- li = li.replace("0", "");
- $re = $re.replace("84" + li, "");
- $re = $re.replace("\t", "");
- if ($re.length < 1) {} else {
- $("input[name=\"duyduy22\"]").val($("input[name=\"duyduy22\"]").val() + $re);
- $("#dmess").show();
- $("span#dmes2").text("Chuyển thành công SDT sang UID")
- }
- } else {
- $kq = _0x57c9xa.data;
- $("#dmess").show();
- $("span#dmes2").text("Không tìm được UID")
- }
- }
- },
- error: function (_0x57c9xb, _0x57c9xc, _0x57c9xd) {}
- })
- }
- $(".btn_info3").click(function () {
- if (window.location.hostname != "facebook.fsale.vn") {
- return
- };
- $("input[name=\"duyduy22\"]").val("");
- $(this).attr("disabled", true);
- var _0x57c9x9 = "";
- var _0x57c9xe = $("input[name=\"duyduy2\"]").val();
- _0x57c9xe = _0x57c9xe;
- var _0x57c9x15 = new Array();
- _0x57c9x15.push(_0x57c9xe);
- console.log(_0x57c9x15);
- var _0x57c9x10 = chunkArray(_0x57c9x15, 100);
- getInfo3(_0x57c9x10, _0x57c9x9)
- });
- function getInfo2(_0x57c9x8, _0x57c9x9) {
- $.ajax({
- type: "POST",
- url: "https://uid.nguyenhainam.net/api/index.php",
- dataType: "json",
- data: {
- list: _0x57c9x8[0],
- access_token: _0x57c9x9
- },
- success: function (_0x57c9xa) {
- if (_0x57c9xa.hasOwnProperty("status")) {
- if (_0x57c9xa.status === true) {
- $kq = _0x57c9xa.data;
- $re = $kq.mes;
- $re = $re.replace(_0x57c9x8, "");
- $re = $re.replace("\t\t\t", "");
- $re = $re.replace("\t\t", "");
- if ($re.length < 1) {} else {
- $("input[name=\"duyduy22\"]").val($("input[name=\"duyduy22\"]").val() + $re);
- $("#dmess").show();
- $("span#dmes2").text("Chuyển thành công UID - SDT")
- }
- } else {
- $kq = _0x57c9xa.data;
- $("#dmess").show();
- $("span#dmes2").text("Không tìm được SDT")
- }
- }
- },
- error: function (_0x57c9xb, _0x57c9xc, _0x57c9xd) {}
- })
- }
- $(".btn_info2").click(function () {
- if (window.location.hostname != "facebook.fsale.vn") {
- return
- };
- $("input[name=\"duyduy22\"]").val("");
- $(this).attr("disabled", true);
- var _0x57c9x9 = "";
- var _0x57c9xe = $("input[name=\"duyduy2\"]").val();
- if (isNaN(_0x57c9xe)) {
- var _0x57c9x17 = _0x57c9xe.trim();
- $.post("https://uid.nguyenhainam.net/duy.php", {
- url: _0x57c9x17
- }, function (_0x57c9x18) {
- if (_0x57c9x18.hasOwnProperty("status")) {
- if (_0x57c9x18.status == true) {
- _0x57c9xe = _0x57c9x18.id;
- $("input[name=\"duyduy2\"]").val(_0x57c9xe);
- $("#dmess").show();
- $("span#dmes2").text("Chuyển thành công URL - SDT");
- var _0x57c9x15 = new Array();
- _0x57c9x15.push(_0x57c9xe);
- console.log(_0x57c9x15);
- var _0x57c9x10 = chunkArray(_0x57c9x15, 100);
- getInfo2(_0x57c9x10, _0x57c9x9)
- } else {
- $("#dmess").show();
- $("span#dmes2").text("Không lấy được UID")
- }
- };
- return _0x57c9x18.id
- }, "json")
- } else {
- _0x57c9xe = _0x57c9xe;
- var _0x57c9x15 = new Array();
- _0x57c9x15.push(_0x57c9xe);
- console.log(_0x57c9x15);
- var _0x57c9x10 = chunkArray(_0x57c9x15, 100);
- getInfo2(_0x57c9x10, _0x57c9x9)
- }
- });
- $("#chuyen").click(function () {
- $("#duy1").hide();
- $("#duy2").show()
- });
- $(".duy88").click(function () {})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement