Skip to content

How to block websites in Firefox with a free extension

Firefox on a computer has no setting that blocks a website. To block a site in Firefox, add a free extension such as Focuser from Firefox Add-ons, then add the sites that distract you. To block a site only for a while, for example during work or study hours, put it in a schedule. This guide compares the other options and then shows the setup step by step.

By ImmuneFOMOUpdated 4 min read

What Firefox offers on its own

Firefox's site permissions control what a site may do, such as sending notifications or playing sound. None of them stops the site from opening, and Firefox has no block list in its settings.

On a managed computer, an administrator can block sites with the WebsiteFilter policy, set in a policies.json file or through Group Policy on Windows. It is made for schools and companies, not for blocking your own distractions.

Outside Firefox, you can edit your computer's hosts file to block a domain in every browser at once. You need administrator rights to change it, and you have to edit the file again to undo a block.

The options compared

If you are an adult on your own computer, that leaves the hosts file or an extension. The hosts file is a hard block with no way in. Focuser asks before a site opens and lets you continue with a reason.

Ways to block a website in Firefox on a computer
OptionMade forWhat it doesHow you set it up
Firefox site permissionsEveryoneBlocks features such as notifications. The site still opens.In Firefox settings
WebsiteFilter policySchools and companiesBlocks listed URLs in a managed FirefoxAn administrator sets it
Hosts filePeople comfortable editing system filesBlocks a domain in every browser on the computerEdit a system file with administrator rights
FocuserPeople who open sites on reflexPauses the site and asks why you are there. You can continue with a reason and a time limit.Install it from Firefox Add-ons

Checked November 2026

Set up Focuser in Firefox, step by step

Focuser needs Firefox 140 or newer. Setup takes a few minutes, and you do not need an account.

  • Open Focuser in Firefox Add-ons and select Add to Firefox. Firefox lists the permissions Focuser asks for. It needs access to all websites so the prompt can appear on any site you add.
  • Firefox may ask whether Focuser can run in private windows. Allow it if you want the prompt there too.
  • Pin Focuser to the toolbar from the Extensions button, so the popup is one click away. If the popup asks for access to all websites, select Allow access.
  • Go to a site that distracts you, open the popup and add the current tab with one click. You can also type any domain. A domain covers its subdomains, and Focuser works with whole sites, not single pages.
  • Open one of those sites in a new tab to see the prompt.
The Focuser popup with a field to add a site, a list of five blocked sites and counters for sessions, closed tabs and total time.
Add the current tab or type a domain in the popup.

What you see on a listed site

Once a listed site loads, the prompt covers it and pauses any video. Press Esc to close the tab, or press Enter to continue. If you continue, pick a reason and choose how long you need. A small timer then shows your purpose and the time left. When the time is up, the prompt comes back.

To block a site only during work or study hours, create a schedule in Settings. Choose sites from your list, the days and the hours, then pick Sessions only so those sites open freely at other times. Pick Always block if they should ask on every visit.

The Focuser purpose form with reasons to choose from, three time options and a button to start the session.
If you continue, Focuser asks for a reason and a time limit.

Private windows, shortcuts and stats

To change private window access later, open about:addons, select Focuser and set Run in Private Windows to Allow. Visits in private windows are never counted in your stats.

The quick pause opens a listed site for 1, 3 or 5 minutes. The shortcut is Ctrl+Shift+Y, or Command+Shift+Y on a Mac. To use different keys, open about:addons, select the gear button and choose Manage Extension Shortcuts.

Your sites, schedules and reasons are saved in Firefox's extension storage, and stats stay on the device. Anonymous usage stats are off unless you allow them, and Firefox shows that choice as a separate data permission.

A floating Focuser timer with a round countdown, the purpose of the visit and a button to finish early.
During a visit, the countdown and your purpose stay in view.

Common questions

Can I block a website in Firefox without an extension?

Not from Firefox's own settings. The options are the WebsiteFilter policy on a managed computer or the hosts file.

Which Firefox version does Focuser need?

Firefox 140 or newer on a desktop computer.

Does Focuser work in Firefox for Android?

No. Focuser is made for Firefox, Chrome and Edge on desktop computers.

Do I need an account?

No. Install Focuser, add your first site, and it works.

Does Focuser work in private windows?

Yes, once you allow it. Open about:addons, select Focuser and set Run in Private Windows to Allow.

Give your next visit a reason

Add Focuser to your browser and start with two or three sites. It is free, it needs no account, and you can remove it from the toolbar at any time.

Add Focuser to Firefox