45
submitted 4 weeks ago* (last edited 4 weeks ago) by XLE@piefed.social to c/firefox@lemmy.ml

Full article: Firefox browser has started shipping Brave's adblock-rust engine

After seeing a lot of backlash over Waterfox adding Brave's adblock engine:

It looks like Waterfox is piggy-backing off of Firefox’s implementation (great!).

And it's been there for a little while.

Mozilla bundled adblock-rust (Brave’s Rust-based adblock engine, the same one my team works on) into Firefox. Pretty exciting to see them finally start taking ad & tracker blocking seriously; I didn’t think I’d see this day. It landed in Firefox 149 via via Bugzilla Bug 2013888.

you are viewing a single comment's thread
view the rest of the comments
[-] Matth@sh.itjust.works 28 points 4 weeks ago* (last edited 4 weeks ago)

What's the difference with ublock and why not contact ublock developer to propose to integrate it instead of what did Brave? Article don't mention what is better with adblock rust! :-/

[-] sudoer777@lemmy.ml 13 points 4 weeks ago

Because Rust is cool and JavaScript sucks

[-] LordKitsuna@lemmy.world 11 points 4 weeks ago

Yeah as much as I love ublock origin and use it heavily. I support more rust on more things. 60+% of browser CVE are memory issues. Rust was explicitly made to stop those.

[-] eleijeep@piefed.social 2 points 4 weeks ago

Do you think that Javascript has manual memory management?

[-] LordKitsuna@lemmy.world 3 points 4 weeks ago

No, but it's nowhere near as strict in its management. Plenty of memory issues can still usually from unintentionally maintaining a reference to an object. forgotten global variables, uncleared timers (setInterval), or closures that stay in scope longer than necessary.

And ofc you now have the performance overhead of GC constantly running

[-] Bloefz@lemmy.world 1 points 3 weeks ago* (last edited 3 weeks ago)

Well yeah but a lot of actual overflows need to be fixed by making the JS runtime/JIT in Rust. Not in JS itself.

And rust doesn't protect you from bad coding. Just like JS.

[-] eleijeep@piefed.social 7 points 4 weeks ago

Probably for the same reason that Waterfox developers gave: Because uBO is GPL licensed and combining with an MPL licensed codebase makes things complicated for downstream developers who cannot GPL license their codebase.

The Brave module is MPL licensed already.

Sure, I would prefer that everything is GPL, but it's not my project.

[-] Bloefz@lemmy.world 2 points 3 weeks ago

Ublock is way better than that brave crap. As long as they don't start moving towards Manifest 3.0 "because we have builtin adblock now" :( I wouldn't put it past Mozilla because they've really been cozying up to the ad industry. With anonym, the "privacy-preserving attribution" BS, stuff like that.

this post was submitted on 22 Apr 2026
45 points (100.0% liked)

Firefox

22761 readers
114 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS