Skip to content

How to Block Distracting Websites in Chrome, Edge and Firefox ​

You know the site. You open it without deciding to, the tab is already loaded, and twenty minutes later you are still scrolling. A blocker earns its place by removing the decision, not by asking you to make it again every time.

This is how to block websites in Chrome, Edge and Firefox with Time Tracker - Web Habit Builder, a free, open-source extension that needs no account.

Two ways to block, and they are not the same ​

Most blockers only do the first one.

ModeWhat happens
BlockEvery site stays reachable except the ones you list. Good for three or four specific habits
Allow onlyOnly the sites on your list are reachable. Everything else is blocked, including sites you have never thought about

Allow-only is the mode to pick when the problem is not YouTube but the open tab in general: a work browser with a documentation domain, a mail client and nothing else. It is harsher than it sounds, so start with the Block list and move over if you keep adding exceptions.

There is a third list worth knowing about. Whitelisted sites are neither tracked nor blocked, which is how you keep a work tool out of both the reports and the rules.

Blocking a site completely, without a time limit ​

A daily cap rations a site. Sometimes you want it gone.

  • Put the site in the block list and leave it there, or switch the filter policy to Allow only and omit it
  • Use Blocked periods for the hours you want back, such as 9:00–12:00 on workdays, and let the site work normally outside them
  • Set a Weekly limit when a daily number is the wrong shape, for example a site you only want on weekends

Rules match URL patterns, so one rule can cover a domain, a path like www.youtube.com/shorts, or a subdomain while leaving music.youtube.com open. A + prefix excludes specific subpages from a wider pattern. The control guide has the full rule reference.

Making the block hold at 11 pm ​

The block itself is the easy part. What decides whether it works is how hard it is to undo.

The extension lets you choose per rule:

  • Direct unlock on the admin page, for rules you only want as a speed bump
  • Password, or a verification code at three difficulty levels, including retyping text against a clock, digits from the decimal part of π, or a 6-digit code from your authenticator app
  • No unlocking at all: once the daily limit is hit, the site stays covered until the next day

Two settings soften that on purpose. A snooze duration reopens the site for a fixed number of minutes each time, and a delay count allows a set number of postponements before the block is final. A rule marked Locked asks for verification even before the limit is reached.

Pick the strict option for the one site that actually costs you evenings, and leave the rest on a password. Strict rules can block something you need in a hurry, and the warning in the settings says so.

Why a blocker that also counts is worth more ​

A block list tells you what you decided to avoid. It does not tell you whether the decision was right.

Because the same extension records time per website automatically, you can read last week's numbers before writing the rule: which domain took 40 minutes a day, which hours it happened in, whether the long sessions were one visit or fifteen. Then the limit is a number you picked from evidence rather than a guess.

Afterwards the reports show whether the time moved somewhere better or just went to a different site. That is the part a standalone blocker cannot answer.

What this does not block ​

Worth being clear about, because the store listings in this category tend to blur it:

  • It runs inside the browser. Apps on your phone, other browsers on the same machine and network-level filtering are outside its reach
  • Chrome on Android does not support extensions at all. Firefox for Android does, and site blocking works there
  • It is not a parental-control or DNS product, and it does not filter anything for another user account on the device

Everything it records stays in your browser's local storage. No telemetry, no account, MIT-licensed code you can read.

A starter set that takes five minutes ​

  1. Install from your browser's store
  2. Open the dashboard, go to the control section, create a rule for the site you reopen most
  3. Give it blocked periods for your work window first, a daily cap second
  4. Set the unlock level to password, and switch the worst offender to no-unlock
  5. Look at the report in a week and adjust the number

Common questions about limits, privacy and supported browsers are in the FAQ.

Last updated: