- JavaScript 54.7%
- HTML 28.9%
- CSS 13.1%
- Python 2.4%
- Shell 0.9%
| css | Add block button | |
| images | Change badge on off setting | |
| js | Fid duration fat-finger | |
| promo | Add screenshot | |
| .gitignore | Build that works for Opera | |
| blocked.html | Fail at showing a block page | |
| build.py | Upgrade build.py to python3 | |
| help.html | Update help.html | |
| icon.html | Mostly working on Firefox | |
| LICENSE | Add MIT License | |
| manifest.json | Use own block page | |
| nex-build.sh | Build that works for Opera | |
| popup.html | Better showing of factor and stuff | |
| privacy.md | Privacy | |
| README.md | Add screenshot | |
| redirector.html | Better showing of factor and stuff | |
Blocker
A Firefox extension blocking to stop you from wasting days on infinite feeds.
It blocks domains for a selected period of time, by default it allows one 10 hour window every 3 days. So you don't go cold turkey, you will visit your addiction sources soon enough! Just not now.
And it's long enough in the future that all the essential (/s) articles and gossip will scroll away without ever being seen by you, freeing up some time to live your life.
If you ever have a moment of weakness, Blocker makes unblocking what you blocked once ust inconvenient enough to maybe not bother.
Testimony: having Mastodon blocked with a prototype version is how I managed to find the time to write this.
Recommended blocking: Wikipedia, Hacker News, Amazon.
Tribute
Thanks to all people behind Redirector, which I shamelessly stole.
Usage
- Download the git repo.
- Go to URL about:debugging.
- Click "This Firefox".
- Click "Load temporary addon"
- Select manifest.json.
WARNING: restarting Firefox will unload the extension.
Status
Works for me. Tested on Firefox. Some things might not work.
Happy to take contributions. Will refuse anything that interferes with how I use it (fork it).
Download Links
Can't be bothered to register on Mozilla. Feel free to.
Debugging
- Go to URL about:debugging.
- Click "Inspect".
Dark Theme
If you are a Firefox user and use a dark theme, you can add these lines to your userChrome.css file to make Blocker's extension button more visible:
/* Blocker button for dark Firefox themes */
toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="active"] { filter: invert(1) brightness(6); }
toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="disabled"] { filter: invert(1) brightness(2.5); }
If you don't know what the userChrome.css file is, or how to edit it, please look it up on a Firefox forum instead of asking about it in this repository. Thanks!