Skip to main content
HARDENING
unclassified

Browser Hardening Guide

Configure your browser for maximum privacy

November 30, 2025

Why Harden Your Browser?

Your browser is your window to the internet—and it can also be a windowinto your life. Out of the box, most browsers prioritize convenience over privacy. This guide shows you how to change that.

We'll cover three scenarios:

  • Firefox hardening (recommended for most users)
  • Chrome privacy settings (if you must use Chrome)
  • Brave configuration (good balance of privacy/usability)

WARNING: Aggressive hardening can break websites. Start with basic settings and gradually increase protection. Test on sites you use regularly.

Firefox Hardening

Firefox is the best mainstream browser for privacy. It's open-source, non-profit, and has extensive customization options. Here's how to configure it.

Step 1: Basic Settings (GUI)

  1. Enable Enhanced Tracking Protection

    Settings → Privacy & Security → Enhanced Tracking Protection → Strict

  2. Disable telemetry

    Settings → Privacy & Security → Firefox Data Collection → Uncheck all boxes

  3. Enable DNS over HTTPS

    Settings → General → Network Settings → Enable DNS over HTTPS → Cloudflare or NextDNS

  4. Disable password manager (use Bitwarden instead)

    Settings → Privacy & Security → Logins and Passwords → Uncheck all

  5. Clear data on close

    Settings → Privacy & Security → Cookies → Delete cookies when Firefox is closed

Step 2: about:config Tweaks

Type about:config in the address bar. Accept the warning. Search for these settings:

PreferenceSet ToEffect
privacy.resistFingerprintingtrueBlocks most fingerprinting
privacy.trackingprotection.enabledtrueEnables tracker blocking
privacy.firstparty.isolatetrueIsolates cookies per site
media.peerconnection.enabledfalseDisables WebRTC (IP leaks)
geo.enabledfalseBlocks geolocation API
dom.battery.enabledfalseBlocks battery status API
network.cookie.lifetimePolicy2Deletes cookies on close
beacon.enabledfalseBlocks beacon tracking
dom.event.clipboardevents.enabledfalseBlocks clipboard snooping

Step 3: Essential Extensions

uBlock Origin

Best ad/tracker blocker. Enable all filter lists. Add annoyances filters.

Privacy Badger

Learns to block trackers. Good complement to uBlock. By EFF.

Decentraleyes

Serves CDN files locally. Prevents tracking via common libraries.

ClearURLs

Removes tracking parameters from URLs. No more ?utm_source chaos.

Pro Tip: Use arkenfox user.js

For advanced users, the arkenfox user.js project provides a comprehensive Firefox configuration file with hundreds of privacy tweaks. Download, customize, place in your profile folder.

Chrome Privacy Settings

Chrome is made by an advertising company. It's fundamentally not designed for privacy. But if you must use it, here's how to reduce the damage:

HONEST ADVICE: Switch to Firefox or Brave. Chrome's architecture limits what privacy extensions can do. Google controls the rules. But if work/sites require Chrome, these settings help.

Essential Chrome Settings

  1. Disable "Enhanced Safe Browsing"

    Settings → Privacy → Security → Choose "Standard protection"
    (Enhanced sends URLs to Google)

  2. Block third-party cookies

    Settings → Privacy → Third-party cookies → Block third-party cookies

  3. Disable "Preload pages"

    Settings → Privacy → Preload pages → No preloading

  4. Turn off Google sync

    Settings → You and Google → Sync and Google services → Turn off sync

  5. Disable all "Google services"

    Settings → You and Google → Sync and Google services → Toggle all OFF

chrome://flags Tweaks

FlagSet ToEffect
#disable-webrtcEnabledPrevents IP leaks
#enable-quicDisabledBlocks QUIC fingerprinting

Install uBlock Origin (while you still can—Google is limiting its capabilities in Manifest V3). That's really the best you can do on Chrome.

Brave Configuration

Brave is Chromium-based but with aggressive privacy defaults. Good middle ground between privacy and compatibility. Less configuration needed.

Recommended Settings

  1. Set Shields to Aggressive

    Click Shields icon → Trackers & ads blocking → Aggressive

  2. Block fingerprinting

    Settings → Shields → Fingerprinting blocking → Strict

  3. Block third-party cookies

    Settings → Shields → Cookies → Block cross-site cookies

  4. Use Brave's DNS

    Settings → Security → Use secure DNS → Cloudflare or NextDNS

  5. Disable Brave Rewards (unless you use it)

    Settings → Brave Rewards → Toggle off

Note on Brave Rewards

Brave shows optional ads and rewards you with BAT cryptocurrency. This is opt-in and privacy-respecting (matching happens locally). But if you want zero ads, disable it.

Advanced: Network-Level Protection

For maximum protection, block trackers before they reach your browser:

Pi-hole

Network-wide DNS blocking. Runs on Raspberry Pi. Blocks ads/trackers for all devices on your network.

pi-hole.net →
NextDNS

Cloud-based DNS filtering. No hardware needed. Highly customizable blocklists. Works on mobile too.

nextdns.io →
AdGuard Home

Similar to Pi-hole but with a more user-friendly interface. Supports DNS-over-HTTPS out of the box.

adguard.com →
VPN (Reputable)

Hides IP from websites. Choose no-logs providers: Mullvad, ProtonVPN, IVPN. Avoid free VPNs.

mullvad.net →

Testing Your Configuration

After hardening, test your browser with these tools:

Hardening Guide
Step-by-Step