URL Blocker is a Chrome and Edge extension that blocks navigation to distracting sites such as Douyin and Bilibili and randomly redirects you to a preset target page, helping users cut down on scrolling.
- v1.5
- Published at
- Sep 28, 2026
- 0
- Stars
- 2
- Download
- Synced at
- 5d ago
Latest release
v1.5Sep 28, 2026, 01:05 AMDownloads slow? Switch the source anytime above
README
Project Overview
URL Blocker is a Manifest V3 extension for Chrome and Edge, built for people who want to spend less time on short-video sites. When you visit a site you have marked as distracting, it stops the navigation before it starts and randomly redirects you to a destination you wrote down in advance. It does not filter content or analyze what you are watching; it simply records your decision up front and lets the browser enforce it.
Turn a block into a useful alternative, and let a little friction guard your future self.
Key Features
- Pre-navigation blocking: matches the domain and stops the navigation before the page loads
- Random redirection: one rule can hold several targets and picks one at random each visit
- Flexible match syntax: supports domain anchors, prefixes, suffixes, wildcards, and substring matching
- Visual editing: click a rule card to edit it in place and add or remove redirect targets anytime
- One-click release: temporarily allow a site, shown in gray on the card, and take it back anytime
- Release reminders: enable a reminder per rule to get prompts at a set interval
- Motivational quotes: the panel header shows a random quote in a random color on each open
- Local-only storage: rules stay in the browser locally with no network calls or uploads
Target Audience
- People who want to quit short-video scrolling
- Students who need to stay focused
- Office workers who want to be more productive
- Users who practice self-discipline
Quick Start
Install from a Release
- Download the extension zip from Releases
- Extract it to a fixed folder you will not delete by accident
- Open
chrome://extensionsin your browser and turn on Developer mode - Click Load unpacked and select the extracted folder
Install from source
- Clone the repository locally
git clone https://github.com/AIRUIMAX/UrlBlocker.git- Click Load unpacked on the extensions page
- Select the cloned repository folder
Core Advantages
- Decide early: write the rules while you are clear-headed and let the browser enforce them
- Friction, not a lock: makes a casual scroll require an active opt-out
- Privacy friendly: no network request code, with rules kept locally
- Useful substitute: sends distracting sites to a page you actually want to reach
System Requirements
| Item | Requirement | Note |
|---|---|---|
| OS | Windows, macOS, Linux | Works on any desktop platform |
| Browser | Chrome 88 or later, Edge | Chromium-based browsers |
| Extra dependencies | None | Plain JS and HTML, no build step |
Notes
- Only main-frame navigation is blocked; redirects inside iframes are unaffected
- In-page routing on single-page apps raises no navigation event and may not be blocked
- The extension can be turned off manually, so its goal is added friction rather than a hard lock
- Only Chromium-based browsers are supported for now, while Firefox needs extra adaptation
Release history
Sort