I’ve been using uBlock Origin Lite on iOS for several months now, but one shortcoming I see with the newer WebExtensions implementation in Safari is that WebExtensions can’t be used with the in-app Safari views, meaning extensions such as this one don’t work with in-app Safari views. There was an older Safari content blocker API that did work with the in-app Safari views, but it seems like apps are being updated to stop using it. As a workaround, I’ve been trying to set my apps to open the Safari app for links where possible, but I would have preferred to use the in-app Safari views.
As a side note, I personally HATE apps that opens links in an in-app web view (apps like Instagram, Facebook, etc). I really wish Apple could have a system wide preference where it could force in-app web views to open in the browser.
Without having any experience with the APIs to back up my claim, I believe that the WebExtensions API is more powerful in the sense that it allows more complex blocking rules. AdGuard seems to include both options simultaneously, where you have "advanced protection" (WebExtensions API) that only works in Safari and separate blocking lists (old API) that work in both Safari and WebView. This is precisely what keeps me from using uBlock Origin Lite.
I agree, and I feel it’s worth mentioning that in-app web views bypass private browsing, so they store cookies even if you run Safari in private browsing 100% of the time. PITA to clear them, buried in settings.
> There was an older Safari content blocker API that did work with the in-app Safari views, but it seems like apps are being updated to stop using it.
Which apps are being updated to stop using it?
The difference is simply that the Safari content blocker API is Apple-specific, so it can be used only on iOS and macOS, whereas uBlock Origin Lite uses the cross-platform DeclarativeNetRequest API, because uBlock Origin Lite is itself cross-platform.
I've been using Wipr for a long time. Both on iOS and macOS and it works perfectly. I don't see any ads. When I happen to use or see other people's devices I'm amazed by the amount of ads on the screen.
Brave has also been great here. It even blocks google/reddit login/gps/<insert annoyance> popups.
With brave you can uninstall the native Reddit app and just use the webapp instead, without ads and stupid-ass "It's better in the app!" or "instead of taking a screenshot, use the share button!" messages.
What do you mean by “lack of proper adblocker”? I use Adguard and Ghostery and never see an ad. Ghostery also auto-dismisses cookie popups.
Regarding playing music videos (I guess you’re referring to YouTube), while the playback pauses when you switch away from Safari or lock the phone, you can unpause it via Control Center while in an other app, or on the lock screen.
I've been using Orion for the same reason. It supports chrome/firefox extensions too so you can install uBlock origin, though it's built-in ad-block is quite good but its still cool being able to install other extensions.
I recently switched to trying iOS after all of Google's recent Android nonsense and tried all the options. Brave didn't make the cut as it failed to block all the embedded ads on reddit (my personal litmus test). The Orion browser, OTOH, did a great job at it.. and it also supports the full version of ublock-origin if I need even better ad-blocking. It has a few rough edges, but is working out to be a nice default web browser for the phone.
Every time I read this I ask for example of which web pages do you see ads using 1Blocker that uses th4 content blocking framework that has been around for a decade.
iOS Safari has adblock support; I've been using AdGuard for years. It's a little bit of a hack, but you can also get system-level ad-block in every app by using Lockdown. Lockdown works by registering itself as a VPN that works kinda like an on-device PiHole.
What? iOS has had "proper adblockers" for years now. It's literally why I switched to iOS. Android was forcing ads in all sorts of places, and forcing things into webviews that had no adblocking. Being able to install adblock that even works in webviews was a huge advantage of iOS to me.
I had been wishing for uBlock Origin for Safari for years, but now that it’s here (I’ve been using it since the betas), I’m disappointed. It’s really ugly to look at (even the icon in the toolbar looks out of place), configuration is awkward and resets itself unless you give it full permissions for every website from the get go, and it doesn’t seem to be more effective than other popular blockers. Additionally, pretty much every other blocker includes several extensions to overcome the well-known 150K rule limit, but uBlock Origin only includes one, meaning it can’t be blocking as much.
It works for me, but not as good as the ones based on content list filters. It's also brings odd problems: google.com breaks on first search request, but ipv6.google.com does not.
In all these years I haven’t found a better solution than DNS blocking with NextDNS on iOS. The only place I get ads is YT (but for that I have an Albanian VPN)
If you're in Europe, there's the newly launched DNS4EU project which is free for personal use, and also includes adblocking at the DNS level like NextDNS.
I use it in conjunction with Adguard and secure DNS, but they also publish configuration profiles for iOS.
I read that if/when Google find out that you’re not actually Albanian they’ll immediately band your entire account. So I wouldn’t recommend doing this trick for your main Google account that has your email and Google drive stuff….etc. you likely want to create a burner account just for this.
Also do you connect to the Albanian VPN all the time? That would mean all the websites you connect to now think your in Albania
Personally I’ve been using Brave browser on desktop and iOS. It has some of the best adblocking on mobile. Also use adguard pro which provides dns level filtering.
I wanted uBlock Origin Lite to win, but based on my personal experience with uBlock Origin Lite, 1Blocker, and Wipr, I find that 1Blocker blocks far more on the sites I visit. uBlock Origin Lite and Wipr are roughly equal in second place. YMMV.
It helps to run everything by Cover Your Tracks[1], too.
Scrolling through the comments reading about all the adblockers that folks recommend makes my head spin. Why exactly should I trust any of these to have full access to my browser? Looking through the app store I see so many that are clearly trying to impersonate the well known ones by using similar names. It sounds like uBlock Origin Lite is trusted by many, but watch out for Ublock and 1Block, which are also top App Store results. Going off memory, the the chrome store is even worse. The whole situation is extremely sketchy. This is not even to mention supply chain attacks which could hijack even honest projects.
Personally I’ve settled on blocking at the DNS level with unbound and a blocklist. It’s not perfect but it limits the blast radius.
>Why exactly should I trust any of these to have full access to my browser?
Content blockers on iOS don't have "full access". Most adblocking apps provide both a content blocker and an extension, the latter of which is used to work around stuff that content blockers can't block, or bugs that result as of blocking scripts from loading, but they're not needed. You can get 95% of the functionality by just using content blockers.
Semi-OT: you can use Wireguard through a home network (with dynamic dns) that has a PiHole or similar setup if you want more broad ad blocking for all apps while away from your home network.
EasyPrivacy has too many false positives, and no way to report them. If you are a techie who understands what the messages mean, and can click the button to proceed to a site on a false positive, then it's fine to have it turned on. But if you are setting up ad blocking for a non-technical user, I would recommend turning EasyPrivacy off.
I believe the parent means proper full-fat uBlock Origin. Not the neutered lite WebExtension Manifest v3 versions. Using real Firefox with uBlock Origin on Windows, macOS, and Android with sync is simple to set up and works great.
uBo paired with 1Blocker and Hush has my safari running at 100% blocked on all the adblock test sites. I was only at 84% with Adguard. Its a small improvement, but I'll take it.
Those "adblock test" sites misinform people, they should never be used as they lead people to make bad decisions regarding their choice of content blockers.[1]
One annoying thing I have is, when I want to disable Adblock on some website (suspecting Adblock impair functionality, or where Adblock is not needed), I need to grant the extension full access before I can disable it.
tech234a|4 months ago
djxfade|4 months ago
uxjw|4 months ago
Probably others doing the same. I always open pages in full safari and use NextDns to block trackers in all apps.
jtbayly|4 months ago
oktoberpaard|4 months ago
givinguflac|4 months ago
lapcat|4 months ago
Which apps are being updated to stop using it?
The difference is simply that the Safari content blocker API is Apple-specific, so it can be used only on iOS and macOS, whereas uBlock Origin Lite uses the cross-platform DeclarativeNetRequest API, because uBlock Origin Lite is itself cross-platform.
HelloUsername|4 months ago
https://news.ycombinator.com/item?id=44795825
https://news.ycombinator.com/item?id=44335664
https://news.ycombinator.com/item?id=43976898
trenchpilgrim|4 months ago
nottorp|4 months ago
Edit: at least compared to full uBlock Origin on desktop Firefox. No idea how good or bad are the other mobile solutions.
Most of the time i solve my mobile ad blocking needs by ... not browsing on mobile.
rckt|4 months ago
Synaesthesia|4 months ago
404mm|4 months ago
jjice|4 months ago
unknown|4 months ago
[deleted]
unknown|4 months ago
[deleted]
seivan|4 months ago
[deleted]
tapete2|4 months ago
[deleted]
mlok|4 months ago
And as a bonus : possibility to keep music videos playing while changing app. (A parameter has to be switched for that though)
ed_mercer|4 months ago
With brave you can uninstall the native Reddit app and just use the webapp instead, without ads and stupid-ass "It's better in the app!" or "instead of taking a screenshot, use the share button!" messages.
layer8|4 months ago
Regarding playing music videos (I guess you’re referring to YouTube), while the playback pauses when you switch away from Safari or lock the phone, you can unpause it via Control Center while in an other app, or on the lock screen.
OGWhales|4 months ago
bazmattaz|4 months ago
eikenberry|4 months ago
raw_anon_1111|4 months ago
jamesgeck0|4 months ago
tensor|4 months ago
gaws|4 months ago
404mm|4 months ago
viktorcode|4 months ago
latexr|4 months ago
aucisson_masque|4 months ago
I too hoped for a ublock origin with filters lists, kind of what we have on Firefox or even the lite version for chrome but it's not nearly as good.
And we can't say it's apple fault because other adblockers like Adguard does allow customs lists and custom rules.
viktorcode|4 months ago
unknown|4 months ago
[deleted]
ornornor|4 months ago
8fingerlouie|4 months ago
I use it in conjunction with Adguard and secure DNS, but they also publish configuration profiles for iOS.
https://www.joindns4.eu/
https://www.joindns4.eu/dns-guidelines
bazmattaz|4 months ago
Also do you connect to the Albanian VPN all the time? That would mean all the websites you connect to now think your in Albania
dry_soup|4 months ago
wasting_time|4 months ago
moontear|4 months ago
carlosjobim|4 months ago
v7engine|4 months ago
eptcyka|4 months ago
boomboomsubban|4 months ago
unknown|4 months ago
[deleted]
joak|4 months ago
Orion is webkit and can be set as default browser.
SoKamil|4 months ago
ilt|4 months ago
evelant|4 months ago
dekoidal|4 months ago
daveidol|4 months ago
runjake|4 months ago
It helps to run everything by Cover Your Tracks[1], too.
1. https://coveryourtracks.eff.org/
safehuss|4 months ago
https://github.com/0xCUB3/wBlock
microflash|4 months ago
beala|4 months ago
Personally I’ve settled on blocking at the DNS level with unbound and a blocklist. It’s not perfect but it limits the blast radius.
gruez|4 months ago
Content blockers on iOS don't have "full access". Most adblocking apps provide both a content blocker and an extension, the latter of which is used to work around stuff that content blockers can't block, or bugs that result as of blocking scripts from loading, but they're not needed. You can get 95% of the functionality by just using content blockers.
bigyabai|4 months ago
Honestly this is more of an App Store issue than an Adblock one. For all of Apple's purported talents in curation, they really cannot seem to filter out the odd trojan horses: https://blog.lastpass.com/posts/warning-fraudulent-app-imper...
tracker1|4 months ago
Dwedit|4 months ago
batrat|4 months ago
prrar|4 months ago
ge96|4 months ago
It's funny my Motorolla phone keeps installing random games on it like ugh...
ffsm8|4 months ago
JohnTHaller|4 months ago
f4uCL9dNSnQm|4 months ago
TiredOfLife|4 months ago
nomilk|4 months ago
JSR_FDED|4 months ago
- Does this also block ads on Youtube (in the browser)?
- Can this block Youtube Shorts (they're way too addictive for me)?
cassianoleal|4 months ago
[0] https://apps.apple.com/us/app/vinegar-tube-cleaner/id1591303...
insin|4 months ago
[^1]: https://soitis.dev/control-panel-for-youtube
reddalo|4 months ago
I'd almost use the "real" YouTube app with ads on, if I could disable Shorts entirely.
SG-|4 months ago
tpierce89|4 months ago
gorhill|4 months ago
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1985170#c3
buyucu|4 months ago
latexr|4 months ago
Bluescreenbuddy|4 months ago
jtokoph|4 months ago
totostache|4 months ago
weikju|4 months ago
illusive4080|4 months ago
cherioo|4 months ago
Is there some trick I am missing?
cipaa|4 months ago
Random09|4 months ago
crazygringo|4 months ago
Whether it can use uBlock is just one factor.
Other phones have their own downsides.
alarak|4 months ago