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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user