mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.2k stars 2.92k forks source link

Improve content blocking to match Safari + 3rd party content blockers #7374

Open digitalqualms opened 4 years ago

digitalqualms commented 4 years ago

Why/User Benefit/User Problem

Hi,

Content blocking in Firefox on iOS is not as good as Safari with 3rd party content blockers (e.g. AdGuard). I would switch my default browser if Firefox were able to perform as well in this regard.

Perhaps do one or more of the following:

  1. Inherit Safari content blockers somehow (I'm guessing there are currently API restrictions against this. Maybe an iOS developer can file more specific feedback to Apple on what would be required)
  2. Use more comprehensive block lists (e.g. what AdGuard and or other dedicated Safari content blockers use) by default. It looks like Edge for iOS ships with Adblock Plus but it's not as good as Safari + 3rd party either
  3. Add more customization options for content blocking (perhaps a slider with how strict it is)

Safari (iOS 14.0) + AdGurard (4.0.3) + Firefox Focus (8.1.5):

Firefox (28.2)

Edge (45.8.14)

Acceptance Criteria (how do I know when I’m done?)

Ad blocking is nearly as good as Safari + 3rd party blockers

Not included

Thanks for considering this!

┆Issue is synchronized with this Jira Task

athomasmoz commented 4 years ago

Thanks for logging @digitalqualms . We have a Strict Enhanced Tracking Protection (under Settings > Tracking Protection) that blocks tracking content. Have you tried that and does it cover what you're looking for? I'm wondering if the request should be to add more content blocking or to make the strict option more prominent in the UI

digitalqualms commented 4 years ago

Good question. Strict Enhanced Tracking Protection seems to be an improvement and closer to what I hoped to see. I think I overlooked it because I didn't realize "Tracking Protection" applied to blocking visible content - I expected that menu to be just cookies, tracking pixels, etc. It's clear once you read the description of Strict Enhanced Tracking Protection that it does block content.

I'll give it a shot but I'd still like to have the powerful customization that Safari is able to provide (again, I realize Apple may have to make concessions/changes to allow for that).

mikelambrellis commented 4 years ago

I'm with digitalqualms. Even though I use Firefox everywhere else, I'd prefer the adblocking to be improved before I switch default browser on iOS. With respect to testing and acceptance criteria, I'd suggest canyoublockit.com. At the moment FF on iOS is worse than Safari or Edge.

bcutter commented 3 years ago

Copy that. Since Apple allows to change default browser with iOS 14 I finally gave Firefox a chance to prove over few weeks. The first thing which is a massive CON compared to Safari is the huge amount of ads I have to look at when surfing on the mobile broadband (I use a network based ad blocker in home WiFi).

Firefox without improved adblocking abilities is a clear NO for me. Nice browser and I use it on every device possible but on iOS not good enough. I guess it's because of some Apple limitations right?

Anyway, strongly vote for this feature request.

dmose commented 3 years ago

I have a different use case: I'm using https://freedom.to to help block out distractions, and on iOS it uses a content blocker in Safari to help manage this. I'm hoping to avoid having to uninstall Firefox on iOS in order to take back my attention from my devices.

pshirshov commented 3 years ago

Anyway, strongly vote for this feature request.

A lot of people shared the same concern and/or requested a good content blocker. Though for some reason FF team never acknowledges the issue and ignores all the arguments. The reason is unclear and this situation creates a breeding ground for wild conspiracy theories.

DarrenSchwartz commented 3 years ago

Agree. Mozilla should recognize the importance of this. Firefox is a great experience on every other platform, but the ecosystem effect is ruined because of the lack of ad blocking on ios. I would love to give up safari and use Firefox 100% everywhere, but like the others here, I find the browsing experience in safari to be superior because of good content blocking. Firefox on ios will not have a chance at being successful until it has ad blocking parity with safari. Sorry, but it's true.

athomasmoz commented 3 years ago

Thank you for the input. We have a Strict Enhanced Tracking Protection (under Settings > Tracking Protection) that blocks tracking content, meaning a lot less ads will show. We used to have this on by default, but it can result in website breakage, so we turned it off by default mid-2019 and left the option to turn it on. I'm curious if your comments about the number of ads are with strict turned on or in our standard mode. This will help me to determine if making strict ETP more prevalent could be a solution

DarrenSchwartz commented 3 years ago

Ok, thanks for the clarification. I had standard tracking protection (not strict). I have changed it now and will have to evaluate for some time to see if it is comparable to safari. I think part of this confusion comes from referring to this function as tracking protection instead of ad blocking or content blocking. People think of tracking differently from the display of annoying ads (words matter). Tracking can be invisible, while ads are very visual. If the strict tracking protection really does work as well as safari at blocking visual ads, then you can probably resolve this complaint with clearer language around the feature. Maybe even a separate switch that clearly says "block ads" would help the user understand what it does. The picture below is from desktop Firefox, but illustrates the point. All it talks about is tracking and nowhere does it mention ads. I know that mobile Firefox does mention ads in the description, but calling it tracking protection is the root of the problem. People have come to know the difference between tracking and ads. They want to know that their preference to block visual ads is being explicitly understood. I'll report back my experience with strict tracking protection. As a side note, it would be fantastic if we could manage custom lists used by the blocker (like uBlock Origin).

Untitled picture

pshirshov commented 3 years ago

Thank you for the input. We have a Strict Enhanced Tracking Protection (under Settings > Tracking Protection) that blocks tracking content, meaning a lot less ads will show.

Not really. Maybe on some sites Strict Mode works well, but I would say that I see about 80% of ads on the sites I visit usually. Which is a lot comparing to 0-10% with uBlock or AdGuard.

This will help me to determine if making strict ETP more prevalent could be a solution

No it couldn't be. It doesn't work.

DarrenSchwartz commented 3 years ago

So I went to msn news and google news with strict tracking protection on. It did indeed block all of the visual ads I came across, but most of the elements were not collapsed (hidden) like they were in safari. So it's better than nothing, but safari was a far better experience because it wasn't full of empty white space. Here are a few examples of issues on firefox that did not exist on safari:

msn news

google news

For some reason neither one is blocking autoplay video even though it is turned off in ios settings.

For the record, the ios blockers I have installed are: adblock plus, firefox focus, purify, and 1blocker legacy.

andreiburov commented 3 years ago

Content blockers like Adguard make it possible to turn on filtering lists for ads that are constantly maintained. I definitely support adding a content blockers support to FF.

Strict mode on FF does not block plenty of ads, while at the same time this mode breaks embeddings, i.e. twitter posts embedded in a blog page.

dareducky commented 3 years ago

I would love to see a proper adblock on firefox. As it stand, firefox on iOS is a horrible user experience. Here are some quick comparisons between third party browsers on iOS (as to quickly dismiss any argument of third party browsers are too limited on iOS, which is true but not relevant to this issue).

3C1FFB34-3036-40EB-B89E-71571CF277C0

C2ABD510-5D6B-4555-B577-35B0C8C544F5

01BB4226-42E2-4B07-A199-A00907A5D152

This is just one exemple, if I had time I could parse cookies notices and many ads that firefox simply fail to block.

mcl21014 commented 3 years ago

Edge for iOS, at least in the preview, has Adblock Plus baked in. I do not like ABP as they take money for questionable "acceptable ads", but this is competition to Firefox. Edge also has its own tracking protection and third party cookie blocking as an option (another issue). Ublock origin likely will never come, see the developer's reasoning as Apple has made it hard to block ads via any extension on desktop Safari, and even though this issue is different, if I were him I wouldn't want to work with iOS either, even in Firefox. That doesn't mean Mozilla cannot port uBlock Origin code or create their own adblocker for iOS, although the latter may be more difficult, not too sure.

bcutter commented 3 years ago

It's just damn annoying to see all that ads and consent/cookie banners when using Firefox on iOS outside of a network ad-blocked WiFi. Until Firefox significantly improves here, that's a no-go for Firefox and a Go for Safari. Sorry to say but that's my two cents. And there's no progress here, not at all, unfortunately.

rogeriochaves commented 2 years ago

I’m with @bcutter, people usually mention ads but what I really can’t stand is the cookie consent banners, I’m in Europe so EVERY website needs an extra click, in a different place, to let me access it, I cannot use the web without getting annoyed

It’s not enough just to block ads, other content blockers goes beyond that also blocking cookie banners, install my app banners, etc, because of that I will have to go with Safari for now

ghost commented 2 years ago

Adding on to this, just blocking ads does not help save the wasted screen real estate always, for example as in #9102. This will need implementation of cosmetic filters as well so as to match the experience provided by Safari. Until that happens, using Firefox feels worse than using Safari + AdGuard

rogeriochaves commented 2 years ago

For now I've done my own build of firefox-ios, bundling https://www.i-dont-care-about-cookies.eu/ in it, so I could go back to use it instead of safari. Here is the repo, and the blogpost

bcutter commented 2 years ago

Wow. If you can - why can't Mozilla?

captn3m0 commented 2 years ago

Orion Browser comes with uBlock origin supported, and plans to support every extension in the Chrome and Firefox stores: https://blog.kagi.com/orion-features

How is this labelled P2! ¯\(ツ)

pshirshov commented 2 years ago

Apple-only browser? Really? Seriously?

DarrenSchwartz commented 2 years ago

Orion Browser comes with uBlock origin supported, and plans to support every extension in the Chrome and Firefox stores: https://blog.kagi.com/orion-features

Looks cool, but this thread is about Firefox for ios, not Mac. There is still no adequate ad blocking or element hiding on Firefox for ios. I really want to move to Firefox on ios because I use it everywhere else with uBlock Origin, but the ad situation is intolerable. I get that ios has limitations, but surely something can be done to pull in blocklist rules. Is there not a way to take advantage of Safari's underlying use of content blockers?

captn3m0 commented 2 years ago

Orion is supported on iOS and Mac:

Currently Orion supports large number of popular extensions on Desktop with support for more to come. Orion even supports some extensions out of the box on iOS, but we have much more to do here.

Testflight Link: https://testflight.apple.com/join/DeC8ZDnu

Just reporting this for comparison (It can be done, seeing how other browsers are doing it). I'd really like Firefox on iOS to close this issue.

ahydronous commented 2 years ago

It blows my mind how Mozilla is still fiercely opposing this when you basically cheerily patched in uBlock Origin support in Firefox Preview at the earliest possible moment.

iOS users deserve the same amount of protection as Android users. Not giving them an adequate adblocker is akin to leaving them out in the cold.

Ads are scam / attack vectors and I've personally gotten all my less tech-literate family and friends off of Firefox because of this. That's at least 10 users gone. A few of them even asked if they should tell their friends.

mr-manuel commented 2 years ago

Why is Mozilla not able to block ads like Brave (https://github.com/brave/brave-ios) do? When I watch YouTube on the iPad I have to use Brave to get rid of all the ads. With Firefox it‘s a mess. Even, if I set the tracking protection to strict. So there is no „because iOS“ excuse for me.

bcutter commented 2 years ago

Just a rumor: does Mozilla get paid by Apple?

If there's no technical reason... just a thought.

I hate seeing my former favorite browser falling so far behind its competitors. Feels like loosing focus, at least on the iOS platform.

And the communication is horrible. Not one official statement in years.

Prurite commented 1 year ago

I heavily use Firefox for desktop, but the experience on ipad is just frustrating. I’m now hang in the middle, with both Safari and Firefox unsatisfactory. Not to mention other addons, at least we should get the content blocking feature aligned with other browsers.

bcutter commented 1 year ago

I also don't get why the "slide to left/right over the address bar" does not switch tabs like it does for Safari on iOS as well as for Firefox on Android.

Off-topic, but it adds another puzzle to the feeling "Firefox on iOS has ZERO priority and/or attention."

So annoying, especially as nothing happens. Not a single reaction or time schedule, just nothing.