- blocks websites that distract you
- multiple unlock challenges (more soon):
- timer
- hold button
- typing something random (no copy/paste)
- solving a math problem
- active blocking when Claude Code is inactive
- (optionally) track your visits and success rate
- all data stays local on your device
chrome/chromium: install from the chrome web store
firefox: install from firefox add-ons
manual install (all browsers/dev builds):
- download the latest release from releases
- unzip the file
- load it in your browser:
- chrome/chromium-based browsers: go to
chrome://extensions/, enable "developer mode", click "load unpacked", select the unzipped folder - firefox/firefox-based browsers: go to
about:debugging, click "this firefox", click "load temporary add-on", select themanifest.jsonfile from the unzipped folder
- chrome/chromium-based browsers: go to
- done! configure which sites to block in the extension popup
mindless visiting is more and more common. you end up idling, and then end up on a site you didn't want to be on in the first place.
the idea of this extension is to give you a boring, non-stimulating task. having to wait, hold the button or so on is like giving your mind time to think about what you're doing consciously, or making it annoying enough that you don't want to do it.
it's similar to not remembering/saving your payment details, so you have to find your physical card/wallet when doing online purchases; giving a second chance to rethink your purchase
yes! you could also just not install it! there is only so many layers of annoyance you can add[1], after which it becomes more about your own self-control than what the technology can do for you.
...but if you do have an idea for how it could be more useful for you, open an issue and let me know!
[1] ideas
- (for windows), add another step to the uninstall process by using registry options
- operating system: Ubuntu 24.04 LTS (or compatible Linux distribution)
- package manager: Bun 1.3.6 or later
- node.js: v25.2.1 or later (required by Bun)
-
install bun (if not already installed):
curl -fsSL https://bun.sh/install | bashor follow the official installation guide: https://bun.sh/docs/installation
-
verify bun installation:
bun --version # should output: 1.3.6 or later -
install project dependencies, and build the extension:
bun install --frozen-lockfile # extension code is self-contained in the packages/extension folder. cd packages/extension bun run zip # for chrome bun run zip:firefox # for firefox
-
outputs (for release or inspection/review):
- chrome:
packages/extension/.output/chrome-mv3/packages/extension/.output/distractedextension-<version>-chrome.zip
- firefox:
packages/extension/.output/firefox-mv2/packages/extension/.output/distractedextension-<version>-firefox.zippackages/extension/.output/distractedextension-<version>-sources.zip
- chrome:
