From e667601bb401a28b57e31d0dd671b2768b805263 Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Sun, 21 Jul 2024 14:21:46 +0300 Subject: [PATCH] Fully activate invalid hostname detection avoidance --- patches.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches.js b/patches.js index a36ff80..e501c70 100644 --- a/patches.js +++ b/patches.js @@ -296,7 +296,7 @@ canvas.font=aY.g0.g1(1,fontSize),canvas.fillStyle="rgba("+gR+","+tD+","+hj+",0.6 // Invalid hostname detection avoidance replaceRawCode(`,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io"),`, - `,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io") || Math.random() >= 0.8,`) + `,hostnameIsValid=true,`) // Disable built-in Territorial.io error reporting replaceOne(/window\.addEventListener\("error",function (\w+)\((\w+)\){/g,