1
3
Fork
You've already forked webBlocker
0
Stop wasting time on the Web!
  • JavaScript 54.7%
  • HTML 28.9%
  • CSS 13.1%
  • Python 2.4%
  • Shell 0.9%
Find a file
2025年03月24日 06:44:49 +00:00
css Add block button 2025年03月12日 17:37:52 +01:00
images Change badge on off setting 2019年12月12日 10:36:04 +00:00
js Fid duration fat-finger 2025年03月14日 19:53:47 +00:00
promo Add screenshot 2025年03月24日 06:44:49 +00:00
.gitignore Build that works for Opera 2015年10月05日 10:58:39 +00:00
blocked.html Fail at showing a block page 2025年03月12日 17:37:52 +01:00
build.py Upgrade build.py to python3 2024年10月06日 01:58:51 +02:00
help.html Update help.html 2020年12月06日 14:50:00 +00:00
icon.html Mostly working on Firefox 2015年09月21日 14:44:37 +00:00
LICENSE Add MIT License 2016年10月25日 12:00:21 +00:00
manifest.json Use own block page 2025年03月12日 17:37:52 +01:00
nex-build.sh Build that works for Opera 2015年10月05日 10:58:39 +00:00
popup.html Better showing of factor and stuff 2025年03月12日 17:37:52 +01:00
privacy.md Privacy 2017年09月17日 23:27:49 +00:00
README.md Add screenshot 2025年03月24日 06:44:49 +00:00
redirector.html Better showing of factor and stuff 2025年03月12日 17:37:52 +01:00

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.

A popup box showing that the page is unblocked for 12h every 3 days. There is a button to limit the site more.

Tribute

Thanks to all people behind Redirector, which I shamelessly stole.

Usage

  1. Download the git repo.
  2. Go to URL about:debugging.
  3. Click "This Firefox".
  4. Click "Load temporary addon"
  5. 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).

Can't be bothered to register on Mozilla. Feel free to.

Debugging

  1. Go to URL about:debugging.
  2. 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!