How to configure custom filters in Brave’s shields.

Browserfy  

Understanding Brave’s Shields

Brave’s Shields are a set of built-in protections designed to block ads, trackers, scripts and other unwanted content. By default, Brave applies several powerful filter lists, but you can enhance your browsing privacy and control by configuring custom filters. This article walks you through understanding, creating and managing custom filters in Brave’s Shields.

Why Use Custom Filters

  • Enhanced Privacy: Block specific trackers or scripts not covered by default lists.
  • Personalized Control: Allow or block content based on your unique browsing needs.
  • Performance Optimization: Prevent loading of heavy elements on frequently visited sites.
  • Troubleshooting: Temporarily disable or enable specific resources to diagnose site issues.

Accessing Brave’s Shields Settings

Step 1: Open Brave Settings

Launch Brave and click the menu icon (three horizontal lines or “hamburger”) in the top right corner. Select Settings from the dropdown.

Step 2: Navigate to Shields Privacy

In the Settings sidebar, choose Shields Privacy. You will see global Shield controls and options to manage filters.

Configuring Custom Filters

1. Enabling Advanced Filter Options

Scroll to the section labeled Block Scripts and Ad and Tracker Blocking. Ensure they are set to Standard or Strict as needed. Then locate the Custom Filter Lists subsection and click Add a Custom Filter List.

2. Adding Third-Party Filter Lists

Many communities maintain filter lists for specific purposes—malware domains, social media trackers or regional ads. To add one:

  1. Click Add a Custom Filter List.
  2. Enter the list’s URL (must use a raw text format, typically ending in .txt or .ini).
  3. Give it a descriptive name.
  4. Click Save. Brave will fetch and apply the rules automatically.

Popular Third-Party Filter Lists

Name URL Description
EasyList https://easylist.to/easylist/easylist.txt General ad-blocking
Peter Lowe’s List https://pgl.yoyo.org/adservers/serverlist.phphostformat=hostsampshowintro=0ampmimetype=plaintext Known ad servers and trackers
NoCoin https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt Cryptocurrency miner prevention

3. Creating Your Own Filter Rules

If you need precise control, you can write individual filter rules. Brave supports standard Adblock Plus syntax. Examples:

  • Block a specific script: example.com/script.js^
  • Hide page element by CSS selector: example.com##.popup-ad
  • Block entire domain: annoying-domain.com^
  • Whitelist a subdomain: @@sub.example.com^document

To add your rules:

  1. In the Custom Filters section, click Manage Custom Filters.
  2. Paste each rule on its own line.
  3. Click Save Changes. The filters apply immediately.

Troubleshooting and Best Practices

  • Check Filter Syntax: A small typo can disable the rule. Validate against Adblock Plus testers if needed.
  • Update Lists Regularly: Filters may become outdated. Brave refreshes lists every 24 hours, but you can force a manual update in the settings.
  • Test in Private Window: Some site behaviors differ between sessions. Use a private window to verify filters.
  • Backup Your Rules: Export your custom filters to a text file before major changes.
  • Avoid Overblocking: If a website breaks, disable individual rules to isolate the cause.

Conclusion

Configuring custom filters in Brave’s Shields empowers you with fine-grained control over what content loads in your browser. Whether you rely on community-maintained lists or craft your own rules, this flexibility enhances privacy, performance and the overall browsing experience. Experiment carefully, back up your configurations and enjoy a cleaner, faster web.

Be the first to leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *