News for hackers. Stuff that matters.
Re:uBlock Origin on Firefox Preview by avolcano on Saturday May 16, 2020 @03:02AM (#23201100)
Context is interesting here: uBlock Origin is one of the few extensions available in "Firefox Preview," the new Firefox app for Android. The app is somewhat controversial for breaking existing extensions, but they have been slowly adding some whitelisted extensions, with uBlock having been the first announced.

I hope Mozilla is able to roll out full extension support sooner rather than later in FF Preview, but I do appreciate that they take it seriously enough to work with developers this closely.

Re:uBlock Origin on Firefox Preview by NGRhodes on Saturday May 16, 2020 @09:19AM (#23203151)
I am using FF Preview and in the past few days I have noticed the following extensions available: uBlock Origin, HTTPS Everywhere, Privacy Badger, NoScript Security Suite, Dark Reader, Search by Image.

I suspect there is a level of curation/testing going on here. As a non-release product I can understand the need to allow/test extensions in a controlled manner.

Re:uBlock Origin on Firefox Preview by agi0 on Saturday May 16, 2020 @12:31PM (#23204861)
We're working really hard to make extensions a first class product on Firefox Preview. The team rewrote the Android side of things from scratch so there's a lot to rebuild but we're getting close. Stay tuned!
Re:uBlock Origin on Firefox Preview by lostmsu on Saturday May 16, 2020 @12:36PM (#23204923)
Plans on uMatrix?
Re:uBlock Origin on Firefox Preview by CameronNemo on Saturday May 16, 2020 @01:46PM (#23205546)
That UI would be crazy on mobile, no?
Re:uBlock Origin on Firefox Preview by lostmsu on Saturday May 16, 2020 @01:49PM (#23205582)
I am using it on regular mobile Firefox. It just opens a new tab for the matrix (to be fair on my phone even flyout would work nicely).
Re:uBlock Origin on Firefox Preview by toastal on Saturday May 16, 2020 @04:41AM (#23201617)
I'm eagerly awaiting getting back an extension that let me strip the tracking tokens from social media sites, along with redirecting away from AMP. You'd think these would be baked into the browser's tracking protection.
Re:uBlock Origin on Firefox Preview by tommica on Saturday May 16, 2020 @04:51AM (#23201673)
That sounds like a bad idea - how would the browser know the tracking token is a tracking token and not just a token? And wouldn't redirecting away from AMP be taking away control from the user?

As extensions those are fine, as core browser features, they sound a bit iffy.

Re:uBlock Origin on Firefox Preview by searchableguy on Saturday May 16, 2020 @04:57AM (#23201707)
So is downloading amp pages in the background and bloating your phone by default though (chrome). I think something like that should be turned on by default but toggleable. It's a sensible option for a privacy focused browser.
Re:uBlock Origin on Firefox Preview by vbezhenar on Saturday May 16, 2020 @05:48AM (#23202019)
AMP is just an ordinary page on google domain. If you're going to hard-code some anti-Google behaviour in Firefox, it means to start a war against Google. Not the wisest decision when Google is the main revenue source for Firefox AFAIK.
Re:uBlock Origin on Firefox Preview by m-p-3 on Saturday May 16, 2020 @10:24AM (#23203600)
Just a toggle in the privacy settings to redirect AMP pages to their non-AMP pages would be nice.
Re:uBlock Origin on Firefox Preview by bzb3 on Saturday May 16, 2020 @10:52AM (#23203838)
That code and setting belongs in an extension.
Re:uBlock Origin on Firefox Preview by bad_user on Saturday May 16, 2020 @06:09AM (#23202151)
Given Google's reach, not the wisest decision for any browser maker.

Google being the main revenue source for Firefox is often cited and is true, but if you look at Brave, its competition, what they do is to block a publisher's ads, replacing them with their own, being essentially racketeering and I'm surprised how they weren't declared illegal already.

Fact of the matter is, if people don't pay money for browser licenses, and they don't, and if ads don't fund those browsers, and they currently do, then alternatives to Chrome cannot exist, if not funded by another mega corporation that can burn money just so Google can't be the only player, like what Apple does.

---

But back to decision making — we are talking about AMP pages being served by searching on Google.com, because that's the major source of these links.

Given the search engine is Google's property and not some public utility, they can destroy any browser maker if they wanted to.

Speaking of which, if you're so bothered with Google.com serving AMP pages, well, why not choose an alternative instead?

Re:uBlock Origin on Firefox Preview by hgoel on Saturday May 16, 2020 @07:10AM (#23202461)
Brave just has adblock by default with an opt-in system for ads based on notifications. It isn't replacing the ads on the page. Not sure how you see that as racketeering, it's a completely different system.
Re:uBlock Origin on Firefox Preview by bad_user on Sunday May 17, 2020 @03:11AM (#23210237)
But it does replace the ads on the page, because those ads they serve are related to the pages you visit and that the system is "opt-in" is irrelevant, because that's their business model.

It's racketeering because they piggyback on publishers for serving their ads contextually, while not allowing publishers to run their own ads, forcing publishers to join if they want any revenue from Brave users. Brave wants to be a gate keeper, coercing publishers in the process.

Again, I don't see how this isn't illegal. It's one thing to be a non-profit browser extension developed by a community on GitHub, it's quite another to do build ad blocking products for profit, because the later is clearly copyright infringement at the very least.

Re:uBlock Origin on Firefox Preview by sciurus on Saturday May 16, 2020 @06:18AM (#23202206)
Google pays Apple an estimated 9 to 12 billion dollars a year to be the default search engine in Safari.

https://searchengineland.com/report-google-to-pay-apple-9-bi...

Re:uBlock Origin on Firefox Preview by bad_user on Saturday May 16, 2020 @06:39AM (#23202307)
Right, forgot about that. It only makes my point stronger though.

Given Google's reach with their search engine, with YouTube, with Gmail, starting a war with Google would be a death sentence for a browser maker, no matter the supposed source of funding, which is basically ads across the board anyway, an industry also controlled by Google and Facebook.

Re:uBlock Origin on Firefox Preview by searchableguy on Saturday May 16, 2020 @07:17AM (#23202496)
Seems like anti trust can help here.
Re:uBlock Origin on Firefox Preview by toastal on Saturday May 16, 2020 @05:03AM (#23201749)
AMP breaks down some fundmental things about the internet. Obviously tracking tokens could be changed over time, but there's a blacklist in the popular Privacy Badger extension. Firefox's privacy protection features have varying levels of opt-in-ness, so I don't see why if pulling in Disconnects blacklist for one thing is okay, but tokens not. I'm fine with an extension too, but right now only one extension is whitelisted for the new Firefox on Android.
Re:uBlock Origin on Firefox Preview by bad_user on Saturday May 16, 2020 @05:47AM (#23202012)
There are a few standard tokens meant for tracking, like the utm_ parameters [1], which you could safely strip out.

That said analytics software and publishers will simply adapt to using other names.

[1] https://support.google.com/analytics/answer/1033867

Re:uBlock Origin on Firefox Preview by dmix on Saturday May 16, 2020 @12:10PM (#23204640)
Historically extensions have moved faster than the companies.

Also I highly doubt Google will ever change the utm parameter name. There’s thousands of JS libraries that extract it and use it for various additional analytics, hosted blog/wordpress hackery. and e-commerce/payment plugins that inject it across iframes and other stuff.

Plus tons of server side apps that pattern match on utm_ or simply injects them into urls and views.

It’d be a nightmare for tons of businesses which have complicated setups which reuse or inject the token for conversion tracking alone, not including all the other stuff.

Re:uBlock Origin on Firefox Preview by zo1 on Saturday May 16, 2020 @11:09AM (#23203981)
Don't think of it that way. Think of it as cookie/token spam. Just like email spam, we'll have to employ various tactics in order to fight back. Heuristics, known bad-player Databases, punishment and domain-blocking, etc. How likely is it that any mail server will deny mails coming from facebook.com? The ability to "send" your browser tokens should be something that requires a reputation that the various entities/domains have to earn and retain. And if Facebook decides to abuse it, then their domain will start breaking because they rely on cookies.
Re:uBlock Origin on Firefox Preview by mssdvd on Saturday May 16, 2020 @06:47AM (#23202340)
Re:uBlock Origin on Firefox Preview by agi0 on Saturday May 16, 2020 @12:32PM (#23204876)
What extension do you use for that?
Re:uBlock Origin on Firefox Preview by causality0 on Saturday May 16, 2020 @01:05PM (#23205158)
What seems fishy to me is that all the news I hear about Firefox Preview is "this extension will be available" and so forth, when what I should be hearing about is whatever new innovation broke compatibility with existing extensions and what its benefits are.
Re:uBlock Origin on Firefox Preview by st3fan on Saturday May 16, 2020 @01:17PM (#23205273)
We started from scratch with the WE implementation in Firefox Preview and are building things incrementally. So it is not that things broke, it is more that a lot of WE APIs are simply not available yet.

Oh, what Agi says below :-)

Re:uBlock Origin on Firefox Preview by causality0 on Tuesday May 19, 2020 @07:52PM (#23241741)
What percentage reduction in typical page rendering time does the rewrite result in?
Re:uBlock Origin on Firefox Preview by anonymousab on Saturday May 16, 2020 @01:55PM (#23205633)
Is there a plan to switch away from a whitelist model once a certain level of WE APIs are available?
Re:uBlock Origin on Firefox Preview by drannex on Saturday May 16, 2020 @01:59PM (#23205670)
Yes.
Re:uBlock Origin on Firefox Preview by glomph on Saturday May 16, 2020 @04:28PM (#23206930)
Do you have a source for that?
Re:uBlock Origin on Firefox Preview by JeremyNT on Saturday May 16, 2020 @09:54AM (#23203380)
The concern is that this is mostly just a play to create a walled garden with curated extensions, and not a technical issue. It's one thing to have this restriction in beta, but will they keep things locked down one they replace the old FF?
Re:uBlock Origin on Firefox Preview by st3fan on Saturday May 16, 2020 @01:19PM (#23205291)
There is only a limited set available right now because not all WE APIs have been implemented yet.
Re:uBlock Origin on Firefox Preview by retox on Saturday May 16, 2020 @05:35AM (#23201941)
>The app is somewhat controversial for breaking existing extensions

Have Mozilla broken the extension landscape _again_ or am I misunderstanding?

Re:uBlock Origin on Firefox Preview by Certhas on Saturday May 16, 2020 @05:52AM (#23202044)
My understanding: They are not changing the extension model, Firefox Preview simply doesn't have the full extension API of old Firefox implemented yet. Some people are always ready to assume the worst when it comes to Mozilla and threw a hissy fit over the fact that Mozilla is running an open Beta with Firefox Preview [1] that is only slowly coming up to full extension support, hence the 'controversial'.
Re:uBlock Origin on Firefox Preview by Macha on Saturday May 16, 2020 @06:03AM (#23202107)
To be fair, their initial roadmap early last year had Firefox Preview replacing the current Firefox for Android early this year with 0 extension support. So it's more than "extension support wasn't ready for beta". I wonder if that would have changed without the complaints...
Re:uBlock Origin on Firefox Preview by mook on Saturday May 16, 2020 @01:05PM (#23205157)
My understanding is that extension support got bumped high in priority after the unrelated extension breakage (due to an expiring certificate) in the old Firefox for Android. When that happened their rating in the Play store positively tanked with people commenting about broken extensions, even though it was fixed fairly shortly.
Re:uBlock Origin on Firefox Preview by Certhas on Saturday May 16, 2020 @09:26AM (#23203192)
Fair, initial communication focused around a fast timeline and didn't mention extensions. Given the history that was clearly a mistake. I still think the reaction was a bit hysterical. Mozilla had very good reasons (conveniently ignored by some people) to break the extension ecosystem when they did, and they communicated that reason. In contrast they didn't say anything about not supporting extensions for future Firefox mobile.
Re:uBlock Origin on Firefox Preview by Macha on Saturday May 16, 2020 @10:00AM (#23203430)
It's easy to say that the reaction was hysterical when the change that users wanted was made (well sort of, there's still a whitelist for extensions with no definite end date). But if people just posted on the first HN thread "I don't like this" and left it at that, I bet they would have followed their original roadmap more closely if there was no outcry of the plan to replace the current browser with no extension support.

It's also worth putting into perspective that most of the "hysteria" is people posting their disapproval in HN/Reddit threads or putting thumbs down reactions on github comments. It's not like people were picketing Mozilla HQ.

I'm sure you can find examples of crazy people on Twitter, it's a group of over 100 dissatisified people, but that's certainly not the majority.

Re:uBlock Origin on Firefox Preview by Certhas on Saturday May 16, 2020 @11:05AM (#23203946)
Hey I am not saying people weren't perfectly in line to ask about this and raise the point/push for only releasing at feature parity. That's not what I recall the tone was though, heck even in this thread people are claiming that Mozilla wanted to eliminate extensions altogether. Mozilla employees also responded to these HN threads straight away clarifying that extensions were being looked at closely with intent (albeit no commitment) to have feature parity at launch.

As I said, given the history they should have had a clear communication of what they intend to do about extensions when they premiered Firefox Preview. Of course that also implies that they would have had to have a clear idea of what they are going to do about them at the time.

Re:uBlock Origin on Firefox Preview by catalogia on Saturday May 16, 2020 @11:00AM (#23203910)
> I'm sure you can find examples of crazy people on Twitter, it's a group of over 100 dissatisified people, but that's certainly not the majority.

The world is so large, you can find examples of just about anything if you go searching for it.

Re:uBlock Origin on Firefox Preview by Macha on Saturday May 16, 2020 @11:42AM (#23204323)
I know, it's a defensive reflex these days. A lot of criticisms of company decisions these days get "Look, there's this person on Twitter/Reddit/whatever saying they wish bad things on an individual at the company", and an attempt to tar all critics as being like these examples. Usually in combination with calling the reaction overblown, which is I guess why I'm very defensive on this thread specifically.
Re:uBlock Origin on Firefox Preview by retox on Saturday May 16, 2020 @06:43AM (#23202327)
Thank you for the clarification. I found it hard to believe that another iteration of the extension APIs would happen so soon, especially after the last backlash (despite the long warning time) but a brief search didn't throw up anything either way.

Perhaps you forgot to paste the [1] source in your post, but the point was well made.

Re:uBlock Origin on Firefox Preview by worble on Saturday May 16, 2020 @05:49AM (#23202027)
Fenix is pretty much a complete rewrite of firefox on mobile, and they haven't implemented every extension api yet which is why only a subset of extensions are allowed currently.

I've read that you can sideload any extension you want (although I've not tried this personally), it'll just be coin flip whether it actually works or not.

Re:uBlock Origin on Firefox Preview by fwn on Saturday May 16, 2020 @06:18AM (#23202210)
> ... you can sideload any extension you want ...

That's amazing news! Do you have a source on that?

I can't seem to find anything on it yet.

Re:uBlock Origin on Firefox Preview by worble on Saturday May 16, 2020 @06:43AM (#23202328)
Sorry, I just remember reading it somewhere and I think it was more likely I got confused with the announcement that web-ext supports Fenix: https://github.com/mozilla/web-ext/releases/tag/4.1.0

So developers can now test for Fenix but there's no permanent solution yet, unless there was something else and I just can't for the life of me find it anywhere. Sorry for getting your hopes up!

Re:uBlock Origin on Firefox Preview by glomph on Saturday May 16, 2020 @06:26AM (#23202242)
Has it been put in writing that they ever intend to enable full extension support?
Re:uBlock Origin on Firefox Preview by dblohm7 on Saturday May 16, 2020 @05:44PM (#23207466)
st3fan agi0 and myself are all people working on Firefox Preview and its underlying technologies. Is that sufficient?
Re:uBlock Origin on Firefox Preview by hu3 on Sunday May 17, 2020 @12:55PM (#23213256)
That's very broad and doesn't answer the question.
Re:uBlock Origin on Firefox Preview by dblohm7 on Sunday May 24, 2020 @03:35PM (#23294022)
We have posted answers elsewhere in this topic.
Re:uBlock Origin on Firefox Preview by neltnerb on Saturday May 16, 2020 @01:46PM (#23205552)
What's slightly mysterious to me is that through my firefox account it autoinstalled I think at least noscript and cookie autodelete even though they were not at the time in the mobile add-on store. I was surprised and confused to find that javascript wasn't executing by default and discovered that not only did they install but they seemed to be working. I removed them because it seemed accidental and figured they might not be ready, and they were no longer possible to install.

Now I see that several other plugins are on the Firefox Preview add-on list including noscript and some others so I have the feeling that they're just being cautious about enabling them in the store but it's possible that they mostly will just work after a testing period.

Re:uBlock Origin on Firefox Preview by surround on Saturday May 16, 2020 @01:26PM (#23205362)
Also note that these design changes affect the desktop extension as well.
Re:uBlock Origin on Firefox Preview by yosito on Saturday May 16, 2020 @05:30AM (#23201904)
I've been using FF preview for the last month or two. I'm not in love with the UI, just like desktop Firefox, it's a bit tacky. But the reason I switched was because it's the only browser that allows mobile extensions and syncs bookmarks with my desktop. I'm waiting eagerly for the "I don't care about cookies" extension, since browsing the internet from my phone has become a chore since GDPR. But even with only a few available extensions, mobile extensions in Firefox are the one thing that has me hanging on to using it as my primary mobile and desktop browser.
Re:uBlock Origin on Firefox Preview by xenocyon on Saturday May 16, 2020 @01:01PM (#23205125)
> the only browser that allows mobile extensions and syncs bookmarks with my desktop

That's not correct; the "regular" Firefox on Android also allows extensions and syncs bookmarks.

Re:uBlock Origin on Firefox Preview by Markoff on Saturday May 16, 2020 @02:00PM (#23205675)
can't you sync bookmarks through some extension to desktop? then you could use Kiwi browser or Yandex on faster and much more stable chromium
Re:uBlock Origin on Firefox Preview by nana- on Saturday May 16, 2020 @05:39AM (#23201964)
I dont care about cookies is working on standard firefox app available on google play. I dont know about the ff preview app.
Re:uBlock Origin on Firefox Preview by fwn on Saturday May 16, 2020 @06:02AM (#23202101)
It does not work on preview.

...however, it might help to add the "I don't care about cookies" and "easylist cookie" filter lists to ublock origin.

Re:uBlock Origin on Firefox Preview by MikusR on Saturday May 16, 2020 @04:06AM (#23201400)
Mozilla had no plans to add extension support at all to that mobile preview. Only after the backlash they added those few extensions.
Re:uBlock Origin on Firefox Preview by commoner on Saturday May 16, 2020 @04:29AM (#23201518)
An issue on WebExtension support was added to the Fenix tracker as early as September 2019:

https://github.com/mozilla-mobile/fenix/issues/5315

Re:uBlock Origin on Firefox Preview by fwn on Saturday May 16, 2020 @04:59AM (#23201716)
... after a long time of uncertainty and community complains, yes. That's what our parent said.

The 9 month old issue you linked is not evidence of an early commitment to extension support.

Here's a comment from myself on HN from 11 months ago where I highlighted that their extension commitment was - at that point - vague at best.

https://news.ycombinator.com/item?id=20138655

Notice that there's someone from Mozilla reassuring me that there won't be a update from Fennec to Fenix prior to feature parity.

That's false by now. Apparently they changed their minds and absolutely will update from Fennec to Fenix without feature parity.

The play store beta is already restricted, an update removed all non-approved extensions.

Even now we don't know whether non-store extension support will ever come back.

Re:uBlock Origin on Firefox Preview by Macha on Saturday May 16, 2020 @08:46AM (#23202947)
September 2019 qualifies as "after the backlash"
Re:uBlock Origin on Firefox Preview by st3fan on Saturday May 16, 2020 @01:24PM (#23205344)
When _Preview_ 1.0 shipped in June last year people wrongly assumed that all the things missing were intentional and final and made of course a huge stink about it here and on Reddit.

Reality is much simpler: we have a small team and we want to do all the things, but we simply can't because it is a lot of work. So what you are seeing is incremental updates that get closer and closer to a fantastic product that we hope you will love and use on a daily basis. Great Web Extensions support is part of that. It always was. We just never had working code until recently.

(Disclosure: Engineering Manager of the Fenix 1.0 team)

Re:uBlock Origin on Firefox Preview by resoluteteeth on Saturday May 16, 2020 @07:15PM (#23208008)
I just want to say that Firefox Preview is fantastic, and I don't understand why people seemed to decide there was some sort of weird conspiracy to remove extension support. You guys are clearly doing a great job.
Re:uBlock Origin on Firefox Preview by agi0 on Saturday May 16, 2020 @12:43PM (#23204985)
I have personally been working on Extension support for Fenix/GeckoView since October 2018 :) It's just a massive project with a lot of moving parts.
Re:uBlock Origin on Firefox Preview by st3fan on Saturday May 16, 2020 @01:20PM (#23205304)
This is complete nonsense. It has been on our roadmap since day one. Engineering bandwidth and other product priorities has been the limiting factor.
Re:uBlock Origin on Firefox Preview by nolok on Saturday May 16, 2020 @09:49AM (#23203340)
Which was the dumbest thing ever, since extension support (read: adblocking) is literally the only thing that can get people to switch over to firefox from chrome
Re:uBlock Origin on Firefox Preview by JadeNB on Saturday May 16, 2020 @01:46PM (#23205548)
It's definitely a huge factor, and probably the biggest one, but I think it's false to say it's the only one. For example, part of my choice is that I don't want to use a browser whose mission isn't to integrate as tightly as possible to Google.
Re:uBlock Origin on Firefox Preview by JadeNB on Sunday May 17, 2020 @01:06PM (#23213353)
(Too many 'not's: I meant "I don't want to use a browser whose mission is to integrate as tightly as possible to Google.")
Re:uBlock Origin on Firefox Preview by Markoff on Saturday May 16, 2020 @02:02PM (#23205697)
or you could just use Kiwi Browser or Yandex browser, both with chromium and extensions

honestly only benefit of firefox over these two browsers for me were Collections

and you have built in sync with desktop if you care about it (I don't)