Time Shield is a productivity Chrome extension designed to help users manage their time spent on restricted websites more effectively. By tracking the amount of time spent on user-defined restricted sites, Time Shield encourages healthier browsing habits and enhances focus.
- Website Restriction: Users can define a list of websites (restricted sites) that they want to spend less time on.
- Time Tracking: Time Shield tracks the time spent on these restricted sites and displays it via a badge on the extension icon.
- Daily Time Limits: Set daily maximum allowed time for browsing restricted sites. Once the limit is reached, the user is notified.
- Focus Mode: Automatically stops the timer when Chrome loses focus or when navigating away from restricted sites, ensuring that time tracking is as accurate as possible.
- Persistence: Time spent on sites and remaining time are saved across browser sessions to keep track of user progress.
- Notifications: Alerts users when their allotted time for restricted sites has been exhausted.
- Visit the Time Shield Chrome Web Store page
- Click "Add to Chrome"
- Follow the prompts to complete installation
- Download or clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked"
- Select the
src
folder from the downloaded repository
- Click the Time Shield icon in your Chrome toolbar
- Add websites you want to limit time on (e.g., "facebook.com", "twitter.com")
- Set your daily time limit in minutes
- Optional: Click "Lock Time" to prevent changes to the time limit for the rest of the day
- The extension badge will show your remaining time and change color:
- Blue: Normal operation
- Red: Less than 5 minutes remaining
Time Shield respects your privacy:
- All data is stored locally on your device
- No data is collected or transmitted to external servers
- No tracking or analytics are implemented
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Google Chrome Browser
- Basic knowledge of JavaScript and Chrome Extension APIs
- Clone the repository
- Make your changes
- Test locally using Chrome's developer mode
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have suggestions, please:
- Check the existing issues
- Create a new issue if your problem isn't already listed