Firefox Now Runs Brave's Ad Blocker — And That's a Big Deal

4 min read 1 source clear_take
├── "Mozilla adopting a competitor's engine demonstrates the maturity of Brave's adblock-rust and is a pragmatic win for users"
│  ├── It's FOSS News (It's FOSS) → read

The article frames Mozilla's decision to integrate Brave's adblock-rust as validation of the library's battle-tested quality, noting it has processed tens of thousands of filter rules with sub-millisecond matching inside Brave for years. The piece emphasizes that choosing to adopt rather than build their own speaks volumes about the implementation's maturity.

│  └── @nreece (Hacker News, 90 pts)

Submitted the story with a framing that highlights the cross-browser collaboration angle — Firefox integrating Brave's engine — suggesting this is noteworthy as a case of open-source competition yielding cooperative outcomes.

├── "Native Rust-based blocking is a generational performance leap over JavaScript extension-based ad blockers"
│  └── top10.dev editorial (top10.dev) → read below

The editorial argues that compiled Rust code running inside Firefox's own process can evaluate filter lists 10-100x faster than equivalent JS implementations like uBlock Origin, with negligible memory overhead. This performance gap becomes increasingly significant as filter lists grow in the escalating arms race with the advertising industry, especially for users running 50,000+ rules.

├── "This integration threatens the future relevance of browser extension-based content blockers"
│  └── top10.dev editorial (top10.dev) → read below

The editorial identifies the future of browser extensions as one of three key dimensions of this change. By moving content blocking below the extension layer into the browser's network stack, Firefox reduces the need for standalone ad-blocking extensions, which has political and ecosystem implications for the extension marketplace.

└── "The political significance — a major browser legitimizing ad blocking as a core feature — matters more than the technical details"
  └── top10.dev editorial (top10.dev) → read below

The editorial explicitly calls out 'politics' as one of three levels of significance, noting that Firefox shipping native ad blocking as part of Enhanced Tracking Protection reframes content blocking from a user add-on into a browser-endorsed default capability. This is notable given the broader industry trend of Chrome restricting blocker capabilities via Manifest V3.

What happened

Mozilla has shipped Brave's open-source `adblock-rust` engine as a native component inside Firefox. The engine — written in Rust, the same language underpinning much of Firefox's rendering pipeline — handles content blocking at a level below browser extensions, parsing and applying filter lists (like EasyList and EasyPrivacy) directly within the browser's network stack.

This makes Firefox the second major browser to run Brave's ad-blocking engine natively, and the first to adopt a competitor's blocking technology wholesale. The `adblock-rust` library has been battle-tested inside Brave for years, processing tens of thousands of filter rules with sub-millisecond matching times. Mozilla's decision to integrate it rather than build their own speaks volumes about the maturity of Brave's implementation.

The integration lands as part of Firefox's Enhanced Tracking Protection (ETP) stack. Rather than replacing ETP, `adblock-rust` augments it — handling the computationally expensive filter list matching that previously required either a separate extension (like uBlock Origin) or Mozilla's own more limited disconnect.me-based blocklist approach.

Why it matters

This is significant on three levels: performance, politics, and the future of browser extensions.

Performance. JavaScript-based content blockers — even excellent ones like uBlock Origin — operate in a fundamentally constrained environment. They run in an extension sandbox, intercept network requests via the WebRequest API, and apply filter rules in JS. The `adblock-rust` engine sidesteps all of that. Running as compiled Rust code inside Firefox's own process, it can evaluate filter lists 10-100x faster than equivalent JS implementations, with negligible memory overhead. For users with aggressive filter lists (50,000+ rules), the difference is measurable in page load times.

This matters especially as filter lists grow. The advertising industry's escalating cat-and-mouse game with blockers means lists like EasyList have ballooned in size over the years. A native Rust engine scales with that growth in ways that interpreted JS cannot.

Politics. The browser market rarely sees competitors share core infrastructure this openly. Google, Mozilla, Apple, and Brave are locked in a four-way battle over user attention, privacy defaults, and web standards. For Mozilla to adopt Brave's engine is a pragmatic acknowledgment that Brave solved this problem well, and that reimplementing it would be wasted effort.

It also represents a quiet rebuke of Google's Manifest V3 approach. Chrome's transition to Manifest V3 deliberately limited the WebRequest API that content blockers depend on, pushing extensions toward the more restrictive DeclarativeNetRequest API. Google framed this as a performance and security improvement. Critics — including both Brave and Mozilla — argued it was designed to protect Google's advertising revenue by hobbling ad blockers.

By integrating native content blocking, Firefox is saying: we don't need the extension API to be powerful if the browser itself handles blocking. This is a structural answer to a policy problem. Even if Manifest V3 restrictions were somehow imposed on Firefox's extension system (they won't be — Firefox maintains its own extension APIs), the native engine would continue to work.

Extensions. This raises an uncomfortable question for extension developers: if browsers increasingly ship native versions of what extensions provide, where does that leave the extension ecosystem? uBlock Origin remains more configurable and powerful than any built-in blocker. But for the 90% of users who just want ads gone, a native engine that works out of the box — no extension install required — is strictly better.

The practical implication: content blocking is graduating from "power user feature you install" to "browser default you might customize." Safari started this trend with its Content Blocker API. Brave built on it with Shields. Firefox adopting `adblock-rust` continues the pattern.

What this means for your stack

If you build or maintain browser extensions that interact with network requests or content blocking, test against Firefox's new native pipeline immediately. The order of operations for request interception may change — native blocking fires before extension-based blocking, which could affect extensions that modify requests or inject content.

If you work on web applications that depend on ad-funded models, this is another data point in the long decline of display advertising reliability. Native browser-level blocking is harder for anti-adblock scripts to detect than extension-based blocking. The fingerprinting techniques that identify uBlock Origin users (checking for specific DOM modifications, timing analysis on blocked requests) may not work against native engine blocking.

If you're a web developer testing cross-browser behavior, add Firefox-with-native-blocking to your test matrix. Content that loads in Chrome but gets blocked in Firefox's default configuration is a support ticket waiting to happen. Third-party scripts, analytics beacons, and CDN-hosted resources that appear on common filter lists will behave differently across browsers without any user action.

For library and framework authors who embed third-party scripts (analytics, A/B testing, error tracking), audit your dependencies against EasyList and EasyPrivacy. If your default analytics provider gets blocked by Firefox out of the box, your onboarding documentation needs to mention that.

Looking ahead

The `adblock-rust` integration is part of a broader pattern: browsers are absorbing functionality that used to live in extensions. Password managers, content blockers, reader modes, translation — the extension ecosystem is slowly being eaten by native features. For users, this is largely positive: better performance, tighter integration, one less thing to install. For the extension developer community, it's a signal to focus on capabilities that browsers are unlikely to replicate natively — workflow-specific tools, developer utilities, deep customization. The commodity features are being commoditized by the browser vendors themselves, and Brave's willingness to open-source the engine that made this possible deserves recognition as a model for how competitors can still collaborate on shared infrastructure.

Hacker News 354 pts 201 comments

Firefox Has Integrated Brave's Adblock Engine

→ read on Hacker News
evilpie · Hacker News

> The Firefox team is experimenting with ways to improve the built-in Enhanced Tracking Protection feature in Firefox. This is one of the libraries we're going to experiment with.> - We are not, and have no plans to abandon MV2 extensions. This will ensure certain types of add-ons, like a

devsda · Hacker News

I hope this isn't a precursor to removing support for other AdBlock addons(MV2) citing native availability of an AdBlock engine and then gradually shift to acceptable ads etc.

Steve6 · Hacker News

I migrated from Firefox to Brave years ago, and it's been incredible. It's easy to turn off the crypto stuff and turn on more advanced privacy protection. Then it's just a fast browser with awesome adblocking.My favorite recent feature has been Brave Scriptlets, which are just little

gbil · Hacker News

If this means that they release a iOS version with the same Adblock features as brave then I’m sold. I use essentially all OSs and I want a browser with basic features like adblocking/custom filters on all the platforms and currently Firefox fails this on iOS devices. Still I believe the Firefo

MrAlex94 · Hacker News

I think people are reading into this too much - I don’t think Mozilla would ever implement an actual full spectrum ad blocker (although who knows with the new direction Firefox is headed), this will likely be used as an improvement/replacement for the current tracking protection implementation.

// share this

// get daily digest

Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.