A Chrome extension that helps you break the cycle of mindless browsing by making you conscious of why you're visiting distracting websites.
Note: This is a quick small project I made to stop myself from procrastinating. I'm sharing it so that others might benefit as well. Feel free to use, modify, or improve it!
- โ Intentional Browsing โ Before accessing blocked sites, you must state your reason
- ๐ Visit Tracking โ Keep a complete history of all visits with timestamps and reasons
- ๐ Session-Based Access โ Once you enter a reason, browse freely in that tab until you close it
- ๐จ Beautiful UI โ Modern, gradient-based design with smooth animations
- ๐ Statistics โ Track your total visits, today's visits, and weekly patterns
- โ๏ธ Easy Management โ Simple interface to add/remove blocked websites
When you try to visit a blocked website, you'll see a beautiful prompt asking for your reason.
Track all your visits with detailed logs including:
- Website domain name
- Your reason for visiting
- Relative timestamps (e.g., "5m ago", "2h ago")
- Visit statistics dashboard
Easily manage your list of blocked websites with a clean, intuitive interface.
-
Download or clone this repository
git clone https://github.com/yourusername/snap-out.git
-
Open Chrome and navigate to
chrome://extensions/ -
Enable Developer mode (toggle in top-right corner)
-
Click Load unpacked
-
Select the
Snap Outfolder -
โจ The extension is now installed!
- Click the Snap Out extension icon in Chrome
- Click the Settings button
- Enter website domains (e.g.,
youtube.com,twitter.com,reddit.com) - Click + Add Website
- Try to navigate to any blocked website
- You'll be presented with a block screen
- Enter your reason in the text field (minimum 1 character required)
- Click Continue to Website
- Browse freely in that tab until you close it
- Click the extension icon to see your 3 most recent visits
- Click View All History for complete logs and statistics
- Clear history anytime from the full history page
- ๐ Gradient Backgrounds โ Modern purple gradient theme throughout
- โจ Smooth Animations โ Hover effects, transitions, and micro-interactions
- ๐ฑ Responsive Design โ Works beautifully on all screen sizes
- ๐ข Character Counter โ Real-time feedback while typing
- ๐ฌ Visual Feedback โ Status messages and loading states
- ๐ด Card-Based Layout โ Clean, organized information display
- ๐ญ Animated Icons โ Pulse and float effects for visual interest
Manifest V3 โ Latest Chrome extension format
Vanilla JavaScript โ No frameworks needed
CSS3 โ Modern styling with gradients and animations
HTML5 โ Semantic markup
Chrome Storage API โ Sync and local storage
Chrome Tabs API โ Tab management and lifecycle
Chrome WebNavigation API โ Navigation interception