https://github.com/makerflow/web-extension
https://github.com/makerflow/web-extension
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/makerflow/web-extension
- Owner: makerflow
- License: agpl-3.0
- Created: 2021-04-17T20:22:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T14:09:46.000Z (over 1 year ago)
- Last Synced: 2025-02-06T12:19:13.752Z (10 months ago)
- Language: CSS
- Size: 1.28 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Browser extension for Makerflow
Saves you from yourself by blocking distracting websites when you need to focus on a task while in Flow Mode
## Installation
Install the extension from the [Chrome store](https://chrome.google.com/webstore/detail/makerflow/codmnedpgifnlanopnolihpobepaafic)
## Developer notes
### Important files
#### index.html
Content for the popover displayed when you click on the extentsion button. Let's you setup the API key, and domains of distracting websites.
#### overlay.html
Overlay displayed on distracting websites when user is in Flow Mode
#### assets/js/background.js
Background operations for the extension. Contains logic to poll backend and stop Flow Mode
#### assets/js/cn.js
Contains logic to show or hide the overlay.
### Running the extension
1. Zip all contents of this directory
2. In Chrome, go to [Manage Extensions](chrome://extensions/)
3. Make sure "Developer mode" is toggled *on*
4. Click on "Load unpacked"
5. Navigate to Zip file created in step 1
6. Open