Idle Detection API to avoid spam in mails?

Expected behavior

The Idle Detection API notifies developers when a user is idle, indicating such things as lack of interaction with the keyboard, mouse, screen, activation of a screensaver, locking of the screen, or moving to a different screen. A developer-defined threshold triggers the notification.

Native applications and browser extensions use idle detection base user experiences on when a user is interacting with a device. For example, chat applications can show other users of an application whether someone is available. Other applications might choose to show notifications only when a user is interacting with the app. A web application could use this API for similar use cases. Additionally, a progressive web app could use idle detection to trigger a service worker update when the app isn’t being used.

I would like to know if it would be possible to use IddleDetector to check if certain behavior of certain users is malicious or considered as spam.

Actual behavior

Applications such as email that facilitate collaboration or communication must require more global signals about whether the user is idle than those provided by existing mechanisms that only consider user interaction with the application tab itself. Because one of the current problems with email is spam. Usually, the spam is rarely sent directly by a company advertising itself. It’s usually sent by a “spammer,” a company in the business of distributing unsolicited email. An advertiser enters into an agreement with a spammer, who generates email advertisements to a group of unsuspecting recipients. And because maybe this is an alternative to the captcha thing in a way, because it’s based on behavior.

Example Images


anti-cheat on the client is a bad idea, because cheaters don’t have to run your client. Same for this idea, you can track all you want, but scammers don’t need to run your software. :person_shrugging:
Also this idea implies a central server collecting data, which is something against our principle of not tracking our users.

1 Like