life_skills > work_productivity
document updated 1 year, 10 months ago, on Sep 4, 2022

Website blocker options, August 2022

My goal — block ALL installed browsers under Windows (Firefox, Chrome, and Edge), not just one.

As I see it, these are the available strategies:

  1. Install a browser extension in each of the three browsers.
  2. Install an OS-wide block.

Hosts file

Again, that path is C:\Windows\System32\drivers\etc\hosts

In some cases, you may need to restart your browser, and maybe even logout of the service, before your hosts-file changes will work. (many browsers maintain an internal DNS cache)

Windows Defender Firewall

Go to Settings > Windows Defender Firewall > Advanced Settings > Outbound Rules > New Rule > Custom rule. Now navigate to Scope > "Which remote IP addresses does this rule apply to?", and add the IP range(s) to the list.

How to identify a site's IP ranges

If you get information like "Class C" or "", then you might have to plug that information into a CIDR calculator. [wikipedia #1] [wikipedia #2]

Specific services: