Floating countdown extension for Chrome and Chromium browsers with customizable messages and colors based on the elapsed time
To build the extension from source, follow these steps:
-
Make sure you have Node.js installed on your system.
-
Open a terminal and navigate to the project folder.
-
Run the following command to install the dependencies:
npm install
-
Customize the extension by modifying the source files if needed.
-
Run the following command to build the extension:
npm run build
-
The built extension will be available in the
dist
folder. -
Open Google Chrome and go to
chrome://extensions
. -
Enable Developer Mode by toggling the switch in the top right corner.
-
Click on "Load unpacked" and select the
dist
folder. -
The extension should now be installed and active.
- Open the specific website configured in the extension.
- The countdown timer will automatically start counting.
- Use the Pause/Resume button to take a break, or the Restart button to start over.
- The messages and colors will change based on the elapsed time.
To customize the extension, follow these steps:
- Left-click on the extension icon in your toolbar or right-click and select Options
- Modify the desired fields:
Domain
: Specify the domain of the website (ie. example.com - no https://) where the extension should activate.Times
: Specify the duration in minutes (decimals okay) for each message/color change.Messages
: Customize the messages displayed based on elapsed time.Colors
: Customize the colors displayed based on elapsed time.
- Click on the "Save" button to save the configuration.