Hacker GitHub

← All repos

brave/adblock-rust

View on GitHub ↗ ★ 2,909 Rust

Brave's Rust-based adblock engine

32 mentions on Hacker News by 22 people: 2 stories, 30 comments · first 2019-06-27 · latest 2026-06-10

Mentions per year 32 mentions · busiest year 2025 (7)
20082026
  1. …has its own ad blocker engine built-in rather than as an extension, and it can reuse uBlock's lists https://github.com/brave/adblock-rust I use brave on my phone and I can't really tell the difference from desktop browser+UO, so I guess it…
  2. …it. For ad-blocking, we are already working on integrating Adblock-rust, should be available soon! https://github.com/brave/adblock-rust
  3. …to block third parties from integrating their own ad blockers. You don't need MV2 for that AFAIK. https://github.com/brave/adblock-rust
    comment by homebrewer · 2025-07-13 · in Bypassing Google's big anti-adblock update
  4. …so, then why include old filters in the repo? Surely, Brave isn't using six year old filters. [0] https://github.com/brave/adblock-rust [1] https://github.com/brave/adblock-rust/tree/master/data/uBloc... [2] https://easylist.to/ [3]…
    comment by potholereseller · 2025-06-16 · in YouTube might slow down your videos if you block ads
  5. …Origin in Brave There's no need to do it, their built-in adblocker supports the same rule lists. https://github.com/brave/adblock-rust
  6. https://github.com/brave/adblock-rust
  7. …their own adblocker (which is about as effective as uBO, I believe). edit: link to their adblocker: https://github.com/brave/adblock-rust
  8. If you really wanted to know, most of the tests for Brave's adblock engine are at https://github.com/brave/adblock-rust/tree/master/tests Those are automated unit and integration tests with controlled filter data as inputs. That's the only…
  9. …think this would happen? Brave incorporates ublock as part of their Rust based adblocking library https://github.com/brave/adblock-rust
  10. …is directly integrated into the browser (ie. not an extension, so is not affected by Manifest V3). https://github.com/brave/adblock-rust Here is a (somewhat dated) article describing it by the authors:…
  11. …APIs. Brave also publicly committed [1] to continuing support for Mv2 through patches. [0] https://github.com/brave/adblock-rust [1] https://twitter.com/brave/status/1574822799700541446
  12. ▲ 5
    Brave's Rust-based adblock engine
    story by keepamovin · 2023-10-22 · 0 comments
  13. ▲ 2
    Brave's Rust-based adblock engine
    story by behnamoh · 2023-07-25 · 0 comments
  14. Brave has its own Rust implementation of an adblocker embedded in the browser: https://github.com/brave/adblock-rust; so it does not embed uBlock Origin (but the filters are mostly compatible) Disclaimer: I work at Brave but not on the…
    comment by pythux · 2023-06-08 · in uBlock Origin 1.50.0
  15. There is a solution for Chromium based browsers: https://github.com/brave/adblock-rust but you will only have it built-in in Brave currently.
  16. …- Brave has Adblock built-in natively. It's written in Rust, so Manifest v3 will not affect it. https://github.com/brave/adblock-rust - Brave is profitable on itself and not dependent on search engines money like Firefox. Not saying it's…
    comment by therealmarv · 2022-12-01 · in Brave launches private search ads
  17. …is unable to remove url based tracking. You still need uBO or the ClearURLs extension to do that. https://github.com/brave/adblock-rust/issues/166 )
  18. …the built-in ad blocker doesn't depend on MV2. https://github.com/brave/brave-browser/issues/20059 https://github.com/brave/adblock-rust
  19. Brave's adblocker is internal and written in Rust. https://github.com/brave/adblock-rust I'm pretty sure it's also faster than any adblock extension like uBlock.
  20. …the browser core written in Rust. How cool is that... Especially on mobile Brave is a game changer. https://github.com/brave/adblock-rust
  21. …doing the dynamic reranking would need to evaluate lots of rules and churn through links fast. [0] https://github.com/brave/adblock-rust
  22. …with basically all of this article, significant parts of which are just factually wrong. [1] https://github.com/brave/adblock-rust [2] https://support.brave.com/hc/en-us/articles/360056341952-How... [3]…
    comment by fastball · 2021-06-18 · in Brave, the false sensation of privacy
  23. …appear to be true. Here is the github repo for their open source adblock engine written in rust: https://github.com/brave/adblock-rust Here is a (somewhat dated) article describing it by the authors: https://brave.com/improved-ad-blocker-pe…
    comment by wmitty · 2021-06-18 · in Brave, the false sensation of privacy
  24. …about it, because ad blocking in Brave is built-in and implemented without the extension APIs. https://github.com/brave/adblock-rust
    comment by yepguy · 2021-04-09 · in uBlock Origin works best on Firefox
  25. …the better option, as far as raw performance. https://brave.com/improved-ad-blocker-performance/ https://github.com/brave/adblock-rust Using Chrome+uBO+uMatrix and Brave side by side, Brave just works better. Less knobs to fiddle with,…
  26. Because its considerably faster, they claim. https://brave.com/improved-ad-blocker-performance/ https://github.com/brave/adblock-rust They rewrote ublock origin in rust, and its native to the product, not tacked on. Shady business model…
  27. …cost. [0] Current Go code: https://github.com/hadrianw/abracabra [1] https://commoncrawl.org/ [2] https://github.com/brave/adblock-rust [3] https://docs.rs/html5ever/0.25.1/html5ever/tokenizer/index.h... EDIT: Also for the search part I…
  28. …or more important than anti-virus, for safety. https://brave.com/improved-ad-blocker-performance/ https://github.com/brave/adblock-rust Although it will make troubleshooting a nightmare, necessary protection at multiple levels of the stack…
  29. Brave is open source, so their ad blocking mechanisms are transparent: https://github.com/brave/adblock-rust Here is an excerpt of the read.me: It uses a tokenisation approach for quickly reducing the potentially matching rule search space…
  30. …adblock engine is native (written in Rust), not a Javascript-based engine like uBlock [0] [0] https://github.com/brave/adblock-rust
  31. According to https://github.com/brave/adblock-rust they use a similar algorithm as uBlock Origin. So not really "new", just reimplemented in rust.
  32. …release browser? If not, what was the first? https://github.com/brave/brave-core/search?q=rust https://github.com/brave/adblock-rust-ffi https://github.com/brave/adblock-rust