From 1dbcf8af6964d4b8e1c2b168b882d18994a5844d Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:44:15 +0300 Subject: [PATCH] Change probability of invalid hostname detection avoidance --- patches.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches.js b/patches.js index f16d329..482f1b2 100644 --- a/patches.js +++ b/patches.js @@ -278,7 +278,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.5,`) + `,hostnameIsValid=0<=window.location.hostname.toLowerCase().indexOf("territorial.io") || Math.random() >= 0.8,`) // Disable built-in Territorial.io error reporting replaceOne(/window\.addEventListener\("error",function (\w+)\((\w+)\){/g,