Web Block is a minimal, privacy-first Firefox extension designed to help control distraction and reduce addiction by blocking specific websites or sections of websites.
Instead of blocking entire domains, Web Block allows path-level blocking, so you can block only the distracting parts (like YouTube Shorts) while keeping the rest of the site usable.
- Block specific site sections (path-based blocking)
- Example:
youtube.com/shorts
- Example:
- Works with modern SPA websites (YouTube, Instagram, Twitter, etc.)
- Keyboard-first, minimal popup UI
- Add rules by pressing Enter
- View blocked sections in a dropdown list
- Delete rules using Backspace / Delete
- Dark mode (persistent)
- Local-only storage (no tracking, no analytics)
- Lightweight and fast
Web Block does not:
- Collect any personal data
- Track browsing activity
- Send data to any external servers
All rules are stored locally using Firefox’s extension storage.
- The extension listens for page navigations and URL changes.
- If the current URL matches a blocked rule (host + path), the page is redirected to a local blocked screen.
- SPA route changes are handled correctly.
- A safe “Go back” option returns the user to the last allowed page.