Skip to content

mohaneddz/Snap-Out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›‘ Snap Out - Mindful Browsing Extension

Chrome Extension Manifest V3 License

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!


๐ŸŽฏ Features

  • โœ… 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

๐Ÿ“ธ Screenshots

๐Ÿšซ Block Screen

When you try to visit a blocked website, you'll see a beautiful prompt asking for your reason.

๐Ÿ“Š Visit History

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

โš™๏ธ Settings

Easily manage your list of blocked websites with a clean, intuitive interface.


๐Ÿš€ Installation

  1. Download or clone this repository

    git clone https://github.com/yourusername/snap-out.git
  2. Open Chrome and navigate to chrome://extensions/

  3. Enable Developer mode (toggle in top-right corner)

  4. Click Load unpacked

  5. Select the Snap Out folder

  6. โœจ The extension is now installed!


๐Ÿ“– How to Use

๐Ÿ”ง Setting Up Blocked Websites

  1. Click the Snap Out extension icon in Chrome
  2. Click the Settings button
  3. Enter website domains (e.g., youtube.com, twitter.com, reddit.com)
  4. Click + Add Website

๐ŸŒ Visiting a Blocked Website

  1. Try to navigate to any blocked website
  2. You'll be presented with a block screen
  3. Enter your reason in the text field (minimum 1 character required)
  4. Click Continue to Website
  5. Browse freely in that tab until you close it

๐Ÿ“œ Viewing Your History

  1. Click the extension icon to see your 3 most recent visits
  2. Click View All History for complete logs and statistics
  3. Clear history anytime from the full history page

๐ŸŽจ Design Features

  • ๐ŸŒˆ 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

๐Ÿ› ๏ธ Technical Stack

Core Technologies

Manifest V3 Manifest V3 โ€“ Latest Chrome extension format

JavaScript Vanilla JavaScript โ€“ No frameworks needed

CSS3 CSS3 โ€“ Modern styling with gradients and animations

HTML5 HTML5 โ€“ Semantic markup

Chrome APIs Used

Chrome Storage Chrome Storage API โ€“ Sync and local storage

Chrome Tabs Chrome Tabs API โ€“ Tab management and lifecycle

Chrome WebNavigation Chrome WebNavigation API โ€“ Navigation interception

About

๐’๐ง๐š๐ฉโ€‘๐Ž๐ฎ๐ญ is a lightweight web experience focused on fast interaction, clean visual structure, and responsive front-end delivery.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors