




What it can do
Block rules with schedules
Group sites to block by purpose. Each rule can have its own days and hours, including overnight ranges. Block a whole domain, a single section (like youtube.com/shorts) or URL keywords.
Daily limits
Give a site a number of minutes per day; once used up it's blocked until midnight. Only time you actually spend on it counts.
Focus timer
Once a focus session starts, every rule applies right away regardless of its schedule; the toolbar icon shows the minutes left.
Fully local, no slowdown
Built on the browser's native blocking rules and never routed through a server, so pages don't slow down; no login, no uploads, and nothing breaks on a bad connection.
Statistics
Blocks today and over the last 7 days, plus time spent on each site — counted only on this computer.
Password lock and custom block page
Lock the settings with a password so you can't switch rules off on impulse; customize the block page's title and message.
Install and use
- Download the zip and double-click to unzip it into a folder (you can't drag the zip straight into the browser).
- Chrome open chrome://extensions (edge://extensions in Edge), turn on “Developer mode” at the top right, click “Load unpacked” and select the unzipped LocalBlock folder.
- Click the LocalBlock icon in the toolbar to block the current site in one click or start a focus session; for all settings, click “打开设置” (Open settings).
Free and open source
All the source code is public, so you can read, change and build it yourself. Questions or ideas? Open an issue on GitHub.