https://github.com/dubniczky/spytab
A native javascript web application that detects when you try to leave
https://github.com/dubniczky/spytab
cheating detection sentry website
Last synced: about 1 month ago
JSON representation
A native javascript web application that detects when you try to leave
- Host: GitHub
- URL: https://github.com/dubniczky/spytab
- Owner: dubniczky
- License: mit
- Created: 2023-06-03T13:27:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-03T13:38:34.000Z (about 3 years ago)
- Last Synced: 2025-03-31T13:32:57.074Z (about 1 year ago)
- Topics: cheating, detection, sentry, website
- Language: JavaScript
- Homepage: https://dubniczky.github.io/Spytab/
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Spytab
A native javascript web application that detects when you try to leave
## How it works
This is a native js application listening for events that indicate the loss of focus on the current tab. Similar methods are often used on online exam applications. This is a binary system that detects leaving and alerts immediately. In production systems, these events are logged and a tolerance is specified so the student is not punished for clicking out for a couple of seconds to close a popup for example.
## References
- https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
- https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event