Commit a13947e
Archith
Replace complex behavior tracking with simpler activity monitoring
- Remove unreliable behavior-tracking.js
- Add activity-monitor.js using reliable browser APIs:
- Visibility API for tab switch detection (actually works!)
- Idle detection using mouse/keyboard activity
- Focus/blur events for window tracking
- Basic paste detection (limited by browser security)
- Simplified approach that doesn't fight browser restrictions
- Activity score calculation (0-100%)
- Cleaner UI with activity dashboard
- Works without special libraries
This approach uses only standard browser APIs that are proven to work.1 parent 365e421 commit a13947e
5 files changed
Lines changed: 426 additions & 75 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
613 | | - | |
614 | | - | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
0 commit comments