refactor: remove client-side 0x0 screen check, handled server-side

IsSuspiciousEvent already scores 0x0 screens as +5 (bot threshold).
Keeping the check client-side hides bot traffic from analysis and
is trivially bypassable.
This commit is contained in:
Usman Baig
2026-03-17 10:20:52 +01:00
parent ebd25770b4
commit e7ebe2a923

View File

@@ -284,11 +284,6 @@
height: window.innerHeight || window.screen.height,
};
// * Skip bots with no screen dimensions (0x0)
if (screenSize.width === 0 && screenSize.height === 0) {
return;
}
const payload = {
domain: domain,
path: path,