Introduction
scroll Instagram…
and suddenly 1 hour is gone. There are many website blockers, but most of them are too strict or too basic. So I decided to build something better.
The Problem
- block website → done
- we need a short break
- we open sites repeatedly
- we lose track of time
The Idea
- helps users stay focused
- allows controlled flexibility
- tracks behavior instead of just blocking
How It Works
1. Focus Mode
- distracting websites are restricted
- user stays in a controlled environment
2. Smart Blocking Screen
- session information
- focus status
- options like “Take a break”
3. Behavior Tracking
- time spent on websites
- frequency of visits
- repeated switching between sites
4. Adaptive Logic
- the system detects the pattern
- shows a message or reminder
5. Break System
- allow access for limited time
- automatically return to focus mode
Challenges
1. Real-time tracking
- it must be efficient
- it must not slow down the browser
2. Balancing restriction and freedom
Too little control → useless So I had to design a system that feels natural.
3. State management
- proper storage
- clean state handling
- event-based updates
What I Learned
- browser event systems
- user behavior patterns
- designing user-friendly restrictions
- building real-time systems inside browser
Final Result
- tracks behavior
- gives feedback
- helps users stay consistent
Conclusion
it supports them. And that makes a big difference.