-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ContriHUB/main
Contributions from hacktoberfest (contrihub)
- Loading branch information
Showing
17 changed files
with
8,287 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/ | ||
**/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
The Eye Protection Google extension is designed to remind users to follow the 20-20-20 rule while using their computers. It integrates seamlessly into the browsing experience, periodically prompting users to take short breaks to reduce eye strain and prevent discomfort associated with prolonged screen exposure. | ||
# Eye Protection Google Extension | ||
|
||
# Tech Stack: | ||
HTML, CSS, Javascript | ||
The Eye Protection Google extension is designed to remind users to follow the **20-20-20 rule** while using their computers. It integrates seamlessly into the browsing experience, periodically prompting users to take short breaks to reduce eye strain and prevent discomfort associated with prolonged screen exposure. | ||
|
||
# Features: | ||
1. Two timers, for 20 minutes and 20 seconds each | ||
2. Play, pause, restart, and resume the timer | ||
3. Notifications to take breaks and to start the work | ||
## Tech Stack | ||
- **HTML** | ||
- **CSS** | ||
- **JavaScript** | ||
|
||
# How to use it: | ||
## Features | ||
- Two timers: one for **20 minutes** and another for **20 seconds** | ||
- Play, pause, restart, and resume functionality for timers | ||
- Notifications to remind users to take breaks and to start work | ||
- **Schedule Tab**: Allows users to define custom start and end times | ||
- **Dark Theme**: Enhanced visual comfort for night-time use | ||
- **Custom Settings Button**: Utilizes FontAwesome to invoke the Eye Protection extension using custom shortcut keys | ||
- Enhanced styling with CSS for improved aesthetics | ||
- Set up a testing environment to ensure all functions work properly (Testing Purpose) | ||
|
||
## How to Use | ||
1. Clone this repository | ||
2. Load this extension to chrome | ||
3. Enable the extension | ||
2. Go to `chrome://extensions/` and enable developers mode | ||
3. Load the extension in Chrome | ||
4. Enable the extension | ||
|
||
Note : For Mac Users, please enable the Alerts from system settings for your browser or else by default you won't notification for the breaks. | ||
|
||
## For Development Purposes | ||
|
||
### How to Test the Functionality | ||
1. Install the dependencies by running: | ||
```bash | ||
npm install | ||
``` | ||
2. Run the tests using: | ||
```bash | ||
npm test | ||
``` | ||
## License | ||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.