A chrome extension to prevent users from using the browser after bedtime. Allows users to create an arbitrary number of alarms active on days of the users choosing. When bedtime is near a warning prompting the user to conclude their activity will be shown, and thereafter whenever a window loads the warning is again shown. When bedtime arrives, the content of all pages will be hidden in order to render the browser unusable so that the user is not tempted to stay up past bedtime.
The Chrome browser: download
Install via one of the following:
- From the Chrome Web Store
- From local files
- Clone this repository
- Build the project via
npm run build
- Open chrome://extensions/
- Choose "Load Unpacked" and select this project's "dist" folder
- Set a bedtime alarm via the extension popup:
- multiple alarms can be added and deleted as needed
- alarms can be set to only activate on certain days
- A warning is shown when bedtime is near:
- this warning will be shown automatically 1 hour from bedtime as well as every time a page loads
- this should make it possible to continue using the browser while keeping in mind that the user should begin wrapping up
- The contents of the page is hidden once bedtime arrives:
- this should render the browser unusable so that the user will not be tempted to stay up past bedtime
- Build the unpacked extension via
npm run build
- Build the unpacked extension and watch for changes via
npm run dev
- Build the unpacked extension and zip the extension as required for submission to the chrome web store via
npm run build-prod
This project is licensed under the MIT License - see the LICENSE.md file for details