NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Firefox Has Integrated Brave's Adblock Engine (itsfoss.com)
evilpie 44 minutes ago [-]
> 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 ad-blockers, continue to work best in Firefox.

> - Firefox supports several ad-blockers as add-ons on Desktop and Android, including uBlock Origin.

> - We are not bundling Brave's ad-blocking system, we're testing one of their open source Rust components to improve how Firefox processes tracker lists.

https://www.reddit.com/r/firefox/comments/1sttf82/firefox_wi...

This is what the official Firefox account had to say when this came up on reddit.

lxgr 3 minutes ago [-]
> This will ensure certain types of add-ons, like ad-blockers, continue to work best in Firefox.

Oof, so even people that should really know better are now equating MV3 with "no more ad blocking"? I think at this point the entire thing just needs to be renamed.

(Only Chrome removed the request blocking API from their MV3 implementation; Firefox did not.)

devsda 5 hours ago [-]
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.
OsrsNeedsf2P 5 hours ago [-]
The day Firefox drops MV2 is the day I find a new browser. We're already at <1% usershare, it's not like there's safety in numbers here
lxgr 18 minutes ago [-]
What exactly is your gripe with MV3?

Many people seem to treat it synonymously with "no more procedural request blocking", but that's not a thing Mozilla ever did:

> For Manifest V3 extensions, Chrome no longer supports the "webRequestBlocking" permission (except for policy-installed extensions). Instead, the "webRequest" and "webRequestAuthProvider" permissions enable you to supply credentials asynchronously. Firefox continues to support "webRequestBlocking" in Manifest V3 and provides "webRequestAuthProvider" to offer cross-browser compatibility.

The permission model also seems much more reasonable (less permissions have to be requested upfront at install time) than MV2, so I actually hope Firefox does deprecate it at some point.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

https://blog.mozilla.org/en/firefox/firefox-manifest-v3-adbl...

ximm 2 hours ago [-]
Firefox supports webRequestBlocking with MV3, so even if they fully remove support for MV2, ad blocking is still available.
TiredOfLife 33 minutes ago [-]
Mozilla refused to approve MV3 version of uBlock Origin
lxgr 17 minutes ago [-]
That's a problem, but an almost completely orthogonal one to MV2 being deprecated.
pogue 4 hours ago [-]
I'd be genuinely curious what you could switch to that still has MV2 because, AFAIK, Firefox is the last holdout.

Brave still allows you to install uBlock & some other extensions that should technically not be supported under MV3, but they still ship it with support for those.

Just heard about Helium browser, which is just dechromium + uBlock and it's still beta.

Pay08 34 minutes ago [-]
I don't know if Edge supports MV2, but they do have uBlock available and it works just as well as on Firefox.
cookiengineer 4 hours ago [-]
> I'd be genuinely curious what you could switch to that still has MV2 because, AFAIK, Firefox is the last holdout.

My last hope is ladybird right now, I don't use Firefox or Chrome as my main browsers anymore, and use them only within temporary sandboxes. Without history, without cookies, without logins for the most part.

pogue 4 hours ago [-]
You use ladybird as your primary web browser? And it works?
cookiengineer 4 hours ago [-]
For the most part, it doesn't. It's not a consumer ready browser, but a pretty nice little rendering engine. If you use ladybird as bindings, it's a bit unstable right now because they are refactoring a lot of parts in the codebase.

I built my own tools on top of it, mostly to use internet websites and selfhosted kiwix archives with my local agentic env.

I guess what I am saying is that I don't have a primary browser anymore. Not a browser where I just can trust it that it doesn't do shit with my data. Being able to selfhost kiwix is a superb internet experience if you build your own search dashboard for it, I can fully recommend it.

Have to merge my things upstream with ZIMdex when I have the time (probably around June).

[1] WIP https://github.com/cookiengineer/exocomp

[2] WIP https://github.com/cookiengineer/zimdex

tgv 49 minutes ago [-]
It seems to me that --unless you really, strictly compartimentalize your browser usage--, using multiple browsers will only supply your data to more parties.
el_io 4 hours ago [-]
Ladybird supports MV2? I had no idea they have extensions.
laserbeam 3 hours ago [-]
Ladybird is many years away from being usable by a casual human. The hope is it turns out to be a great browser eventually.
Zardoz84 1 hours ago [-]
Good luck with the main developer being in the alt right.
cookiengineer 55 minutes ago [-]
> Good luck with the main developer being in the alt right.

Sources? I can't find anything on that via google/ddg (Germany)

edit: oof.

[1] https://drewdevault.com/blog/Cloudflare-and-fascists/

nuker 3 hours ago [-]
> Firefox is the last holdout.

Nope, FF is being infiltrated by adtech for last year or two. Last holdout is Safari now :)

ThePowerOfFuet 2 hours ago [-]
You cannot install uBlock Origin on Safari.
16bitvoid 2 hours ago [-]
The Lite version, same as on Chrome, is actually available for Safari. Still not as good as the full one on Firefox though.

https://apps.apple.com/us/app/ublock-origin-lite/id674534269...

trueno 14 minutes ago [-]
what's the diff between lite and full? i dont even remember what i use on safari, wipr or something. mostly use firefox but sometimes i casually just let things launch in safari
mort96 55 minutes ago [-]
Exactly.
rs_rs_rs_rs_rs 2 hours ago [-]
>Last holdout is Safari now

Why do people say crap like this... Safari was the first browser to completely remove mv2. From all the major browsers Safari has the worse adblocking experience and support for adblocking extensions...

nuker 2 hours ago [-]
> Why do people say crap like this...

1. Third-party cookie blocking by default — 2003 (Safari 1.0); industry first.

2. Intelligent Tracking Prevention (ITP), using on-device machine learning to identify and limit cross-site trackers — 2017; industry first.

3. Storage Access API prompts for embedded third-party content (e.g., social login widgets) — 2018 (ITP 2.0); industry first (co-developed by WebKit, later adopted as a web standard).

4. Full third-party cookie blocking (no exceptions) — 2020 (ITP in Safari 13.1); industry first for a major browser.

potatoproduct 17 minutes ago [-]
Apple only does things to progress their own business model. Apple failed at becoming an ad business so they pivoted to subscriptions and app revenue. Now they are building an ad business. Just look at their ad revenue.
nottorp 46 minutes ago [-]
That's what the marketing department says.

Ad/tracking blocking is one of the things that can only be trusted if it's open source, i.e. uBlock Origin.

By the way, does this Adblock Engine actually block trackers? Or it just stops the ads from displaying?

zephyreon 5 hours ago [-]
Could definitely be writing on the wall that MV2 support will be deprecated in the future but imo not necessarily a bad thing if it’s not actively developed anyways. Maintaining both MV2 & MV3 support isn’t easily sustainable long term when you factor in the need to prioritize other features.

That said, if this is writing on the wall I’d hope they’ll listen to the community this time and allow the engine to be extended / make it such that a block all ads feature always exists. I’m cautiously optimistic given Mozilla’s track record just over the past year-ish. They have released some great new features that help bring Firefox closer to feature parity with other browsers.

I am a Firefox hopeful and recently switched back to using it as my daily driver when Arc went belly up (but mainly for uBlock Origin support).

charleslmunger 5 hours ago [-]
>Maintaining both MV2 & MV3 support isn’t easily sustainable long term when you factor in the need to prioritize other features.

There is no feature Firefox provides that is more differentiating than ublock origin. As long as pages load and security issues are patched it is the reason to choose Firefox as a browser. What would they prioritize over it?

lxgr 15 minutes ago [-]
And there's nothing in MV2 that uBlock Origin needs that doesn't exist in MV3 on Firefox, unlike Chrome. This issue is completely overblown.
zephyreon 5 hours ago [-]
I’d like to see more investment in their new profile manager. It feels pretty barebones at the moment. Arc had the ability to link profiles to “spaces” and you could easily switch between them without opening a new window. It was very nice to so easily swap between personal, work, & side business.
collabs 4 hours ago [-]
The multi user containers are also very nice.
tosti 3 hours ago [-]
Why does everything have to be "actively developed"? Sometimes a program is just done. Better not touch it. I actually do downgrade packages when "actively developing" causes regressions. Not curl or anything sensitive like that, but local programs definately yes.

In case of the extension manifest, that's probably layered on top of the JS engine which does get attention and scrutiny. It's not like an API needs to be updated. If you'd always do that, nothing would ever be interoperable and we'd likely have a hard time trying to communicate.

Dylan16807 4 hours ago [-]
> Maintaining both MV2 & MV3 support isn’t easily sustainable long term when you factor in the need to prioritize other features.

The feature that better adblockers need is one callback that's similar to one that's still in V3. It's not difficult to keep if it's your own codebase.

striking 4 hours ago [-]
Try Zen! Firefox fork with Arc-like UX.
pjjpo 4 hours ago [-]
Zen is great and still mostly Firefox. I use standard Firefox on Android and everything syncs without hassle. The experience is so much better that personally cannot imagine using Chromium anymore. Of course I do wonder if the entire Firefox ecosystem is sustainable long-term funding wise.
userbinator 2 hours ago [-]
As long as MITM proxies still work (which is something that Enterprise customers demand --- even the notoriously-closed Chrome needs to), it will always be possible to filter pages outside of any browser. I've been using one for over 2 decades and it works in any browser.

However, I am also concerned that this is an "embrace extend extinguish" move.

lxgr 8 minutes ago [-]
What would prevent sites from just injecting ads into their content server-side? You'll always need both element and request blocking.
6ak74rfy 1 hours ago [-]
Tell me more, what's your setup.

I use uBlock Origin in Firefox and network ad blocker. Wondering what other options are there.

spockz 20 minutes ago [-]
In general, install a proxy which has its own certificate, resign every tls session with those keys, add the certificate of the proxy as a trusted certificate on your device.

I’m not familiar with off the shelf solutions for this that have ad blocking built in. Also ads are injected by JS so you need a mechanism to detect that.

More and more ads are now served from the same domain as the site making it harder to distinguish them from real content.

nirui 12 minutes ago [-]
Great. Coming just in time when people think the "main stream" browsers are too boring.

I'm actually glad to see Mozilla has grown a little bit "predatorial" if it can bring good to the users. The implementation is polite too, as it lets you know there was an ad been muted.

There's a lot of things that can still be done in the browser space. For example, one-click login even without entering email, easy purchase without the website ever collecting your card number (or other financial detail beyond necessary), etc etc. Ads can also be improved too, by making them not violating nor annoying.

The possibilities are still great, I hope Mozilla can figure out a way to tap into it.

Steve6 5 hours ago [-]
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 javascript functions you can run on specific sites. I've replaced most of the add ons I used with small scripts. Pretty nice.

I would prefer an engine not built on Chromium... but I've lost faith in Mozilla. I'm glad that Firefox added a built in adblock engine, but it seems too late too late. Brave has been awesome, and being Chromium based gives them time to keep working on stuff that matters.

abdullahkhalids 4 hours ago [-]
The Greasemonkey Firefox addon that allows you to run site specific JS has been around for two decades [1].

[1] https://www.greasespot.net/2005/03/

Brybry 2 hours ago [-]
And they even have a name: userscripts! [1]

Chrome also used to natively support userscripts back in 2010 [2] but they mostly killed it off

[1] https://en.wikipedia.org/wiki/Userscript

[2] https://lifehacker.com/chrome-4-supports-greasemonkey-usersc...

halapro 3 hours ago [-]
It certainly is great to have first-party support for such a simple feature. It doesn't have to support the whole GM_ API
nananana9 9 minutes ago [-]
"The first thing you have to do is to turn off the cryptocurrency stuff."

Fantastic first impression. I'm good, thanks.

dlcarrier 3 hours ago [-]
It's too bad that Mozilla does everything they can to alienate its users, with failed attempts to attract a different but non-existent new user-base. Without them, and with Safari being run by a company that likes to tie its software to its hardware, there's pretty much no reasonable non-Chrome-based web browsers, so it's the new Internet Explorer, and many web pages only work on it, because no one tests their web pages on anything else.
unethical_ban 1 hours ago [-]
I simply have no idea why people hate on Firefox so much. I mean it, it feels like an outlet for frustration toward an org people think might listen.
vachina 3 hours ago [-]
I don’t see how supporting Chromium is better than not supporting an alternate rendering engine. Firefox for the end-user is fantastic.
eduction 2 hours ago [-]
People build on chromium for the same reason they build on Linux. I’d personally prefer if they built on illumos or bsd but at a certain point people would rather spend their innovation budget higher up the stack and benefit from the platform that has the most open source engineers working on it.
esperent 5 hours ago [-]
Even better now that they have a paid offering with all that crap stripped out (Brave Origin) which is free on Linux.
pogue 4 hours ago [-]
Everyone has made these Brave debloat tools that basically do the same thing as their ridiculous Origin offering.

To sell for $60 a web browser that technically has all the features removed is a pretty goofy move.

topspin 3 hours ago [-]
> a pretty goofy move

I'm doing a goofy thing and buying it, despite knowing I can debloat Brave, because I already do that. I didn't know this existed till I read this thread. I've been benefitting from Brave for many years now; it's great that they've provided a way to pay for this without dealing with the crypto stuff, and I'm extremely happy to do so, because they deserve some of my money.

chappi42 1 hours ago [-]
I'll also pay and support their work to provide a really good browser (which needed a bit debloating).
esperent 2 hours ago [-]
That's such a weird reaction. There's constantly, for years, people here asking for Firefox to just start offering a paid version to get away from needing support from Google. And yet when someone actually does that apparently it's goofy and we should just be manually stripping that out without paying.

If you can't afford it or don't want to pay, fine. But why are you trying to influence other people to do that by labelling it "goofy"?

How would you strip those things out mobile, by the way?

cr125rider 4 hours ago [-]
Eh that’s a common business model. Pay to get the ads removed is basically the same thing.
pogue 4 hours ago [-]
Well, I'll link to this video review by Techlore.

Brave Just Released a Paid Browser: Here's What You Need to Know https://youtube.com/watch?v=3i5KH0l895o

armada651 4 hours ago [-]
> It's easy to turn off the crypto stuff

I'm living under a rock, but my first thought was that you turned off TLS.

the-grump 4 hours ago [-]
If your mind goes to TLS when you read crypto, you surely do live under a rock ... in bliss.
dlcarrier 3 hours ago [-]
Instead of turning it off, you can just make it useless: https://youtu.be/M1si1y5lvkk
devsda 3 hours ago [-]
As a developer, personally I would be worried if that wasn't my first thought when someone uses browser and crypto together :D
trueno 12 minutes ago [-]
i've never known what to think about brave because it was being pitched by cryptocurrency bros so i've always ignored its existence. who are these guys and is it genuinely good software?
Markoff 2 hours ago [-]
Why not Cromite (or Ultimatum, Helium)? Hard to understand why someone reading HN use browser without extensions support.
charcircuit 1 hours ago [-]
Brave has extensions support. You can get them from the regular chrome store for them.
Zardoz84 1 hours ago [-]
uBlock Origin was and is the BEST adblock. And it was one of the fist suggested add-ons when you get in the add-ons page. It should have been integrated.
MrAlex94 4 hours ago [-]
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.

Weirdly enough, the same time this was added to Geckko is when I started implementing the adblock-rs library for Waterfox - I stumbled across the bindings by accident when using searchfox on the main branch instead of esr140! Quite the coincidence doing it at the same time.

gbil 4 hours ago [-]
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 Firefox sync is much more robust than eg. Brave one , among various platforms. But then I will also need Firefox to fix keyboard shortcuts on Android which they had until the Fenix rebase some years ago and still haven’t fixed since
bartvk 1 hours ago [-]
Same, I'd love for the iOS version to be a little more developed. Especially support for plugins for dark mode and stuff. Safari for iOS does.
mmooss 3 hours ago [-]
What is the use case for keyboard shortcuts on handheld devices?

On desktops/laptops, keyboard shortcuts save reaching for a mouse, aiming (on the relativley large screen), and clicking. On handhelds, I don't think it's faster to use a shortcut than to simply tap something an inch away.

Also, on handhelds, the keyboard blocks a significant part of the screen. And keyboard shortcuts typically use accelerator keys, which are hard to use on handhelds.

Do you use Android with a physical keyboard?

JoshTriplett 2 hours ago [-]
I have a physical keyboard for my foldable. Works great, except that keyboard shortcuts don't typically work as expected.
gbear605 2 hours ago [-]
Could be referring to a physical keyboard attached to an iPad
catlikesshrimp 41 minutes ago [-]
Yes, I do, now on then. I started using a keyboard on handhelds with my palm m100, so I am not in the mayority.
nextaccountic 5 hours ago [-]
Does this benefit people that use uBlock Origin?

Maybe uBlock Origin for Firefox could be updated to make use of this

toofy 5 hours ago [-]
sounds like it just uses ublocks lists.

though it doesn’t seem to work as well as ublock, the ad slots are still there with just the ad missing so there’s a giant ugly blank spot.

SadTrombone 1 hours ago [-]
I'd imagine that's the reason it's not enabled by default, they're not finished fully implementing it in Firefox yet.
fabrice_d 5 hours ago [-]
Probably because they don't leverage cosmetic filtering yet: https://docs.rs/adblock/latest/adblock/struct.Engine.html#me...
gtrevorjay 5 hours ago [-]
This feels like a betrayal of their ousting of Eich in the first place. I can't imagine a world I would do this and be able to look at myself in the mirror.
dlcarrier 3 hours ago [-]
The whole organization is a huge mess that doesn't really want to accept any management.
prox 3 hours ago [-]
They try to make it feel like an “us” browser, but it just comes off as a corp trying to talk cool.

You have to walk the walk too Mozilla! Saying that as a FF for years.

yborg 4 hours ago [-]
>"their"

It's an entirely different management team.

Paul-Craft 4 hours ago [-]
I can certainly imagine such a world. I don't use Brave because I don't want to support Brendan Eich.
kulahan 3 hours ago [-]
So instead you use, what, Chrome because you want to support Sundar Pichai??
JoshTriplett 2 hours ago [-]
You are literally on a thread about Firefox, and you think someone saying they don't use Brave must be using Chrome?
kulahan 1 hours ago [-]
You are literally in a thread where 90% of the discussion is surrounding chromium and you think this isn’t a connected idea?

Edit: also crazy that someone who doesn’t want to support the Brave guy would support the browser using the Brave guy’s stuff, but I guess I see lots of chick-fil-a haters shopping in Amazon these days, so who am I to question what’s in vogue?

SadTrombone 1 hours ago [-]
If only there was another browser option that was the first word of this thread's title!
kulahan 1 hours ago [-]
Well the guy running Brave must’ve had absolutely nothing to do with Brave’s Adblock engine going into Firefox, so I can see why you’re acting so smug. After all, why would the guy involved with Brave be involved with Brave’s thing going somewhere other than Brave? Maybe it’s just random evolution! Excellent point, friend. I can tell you thought it out.
pixxel 2 hours ago [-]
[dead]
silisili 1 hours ago [-]
Same. The entire company more or less turned on him. Not picking a side, that's your right. But to then start 'borrowing' from someone you refused to work with feels... hypocritical.
fishgoesblub 5 hours ago [-]
It's surprising, and disappointing that this hasn't happened sooner. A real shame that it took a browser company other than Mozilla to make (In Rust no less!) adblock-rust. I wonder if this could've been a native Firefox feature and selling point years ago if Eich wasn't kicked out.
Markoff 2 hours ago [-]
For anyone looking for Android alternative:

Cromite - Chromium, MV2 extensions, good new tab page with 4x4 shortcuts (2x4 pinnable) with direct access to bookmarks

https://github.com/uazo/cromite/releases

Ultimatum - Chromium, MV2 extensions, not so good new tab page similar to original Chrome with only like 4 shortcuts without swiping, limitec customization, no password manager AFAIR

https://github.com/gonzazoid/Ultimatum/releases

Helium - Chromium, only MV3 extensions, built in browser from Graphene

https://github.com/jqssun/android-helium-browser/releases

Elixir - Chromium, only MV3, tabbed interface suitable for tablets

https://github.com/SF-FLAM/ElixirBrowser/releases

Former Kiwi Browser, then for about year IceRaven (Firefox) user up until recently when they fckd up already bad illogical UI and made it even worse, which was the last drop to again give up on this users hating browser (will never forget users begged for 10 years so dear devs will implement simple pull down to refresh).

On desktop the recommendation is much easier:

Vivaldi - Chromium, MV2, no AI, amazing customization compared to primitive Brave, faster than FF

https://vivaldi.com

FireInsight 2 hours ago [-]
Android Firefox versions that are geat as well - [Ironfox](https://github.com/ironfox-oss/IronFox): Hardened - [Fennec](https://f-droid.org/packages/org.mozilla.fennec_fdroid/): Fully FOSS
poisonborz 1 hours ago [-]
Why do people still have hope in / clinge on Firefox when projects like Librewolf and Waterfox exists? Yes those are still dependent on Mozilla's upstream changes, but users not trusting them have still options.
lxgr 5 minutes ago [-]
Maybe they're being realistic about how long these projects could survive without Mozilla doing all the work upstream?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 08:12:30 GMT+0000 (Coordinated Universal Time) with Vercel.