new foss adblocker for safari (macOS, ipadOS, iOS)
github.com
I just wanted to share with you the work of this developer on GitHub, I am a macOS and iOS user and I can't wait to use this new FOSS adblocker (there are no others on macOS).
I'm not a computer scientist and I don't have expertise but I try to help by spreading the spread, maybe someone can help or share it again!
Thank you all! P.S. I'm not the developer so I can't answer any question
The only solution is to use Firefox hardened it and install uBlock Origin 😁
Safari iOS is cancer. Source: am developer who supports websites on Safari iOS.
I am a little curious how this could work though. My impression is that iOS is extremely locked down. Can't even use a browser that isn't Safari with a skin.
Safari supports extensions these days, including first-class support for content blockers
Safari is different on iOS, you can't just take for granted we're just talking about "Safari" here. Since when have they supported extensions on mobile?
Safari on mobile iOS/iPad have supported extensions since iOS 15 (2021), it supported limited 3rd party content blockers since iOS 9 (2015)
Surprising. What do you have to do to publish such an extension? To get any app on your device typically apple must explicitly review and approve it 🤢
extensions on mobile are published as normal apps, so yes the process/requirements are the same as publishing any app on the app store
Thanks for that. Apparently a lot of apple simps are on here, since in getting downvoted a lot for just expressing distaste with the shitty practices of an evil corporation, which btw in time nearly everything I hate about them is getting legislated against by the EU. They are an anti-consumer pile of dogshit company.
You’re arguing about tech tribalists while being one yourself my dude
It’s really best in class in that regard. It’s the most customizable mobile browser. Firefox in android has more extensions, but Safari’s actually integrate better in the UI and you can use shortcuts for simple things too.
"I'll gladly sacrifice functionality and my rights as a consumer for better UI integration " 🤢
Out of curiosity, what functionality and what rights am I sacrificing?
You can't load software on your own device unless apple gives you permission even though you bought the device. I know how this goes every single time though. I can list features you don't have or reasons why apple is trash and none of them will concern you at all. You will claim you don't need other browsers but safari, you don't need features android has had for years, you don't need usb-c. Exactly the same conversation every time. When apple eventually gets any of these features, you will be ecstatic and love the company for them. It's a cult.
And inb4 I am in the Google cult. Nope, fuck Google.
Those are a lot of words you put in my mouth. In fact, I can and have sideloaded apps (the process is stupid and overcomplicated, but it does work, I am not in the EU), and my iPhone does in fact have USB C (was a dealbreaker, I used a Pixel until iPhones had USB C). I wish I could use other browsers on my phone besides Safari but it’s not a dealbreaker for me, I can and do run Firefox on my computer when I need a different browser for any reason, I hope this will change in the future.
Apologies for my incorrect assumptions. I have had some very exhausting conversations with apple users. The EU had to force apple to use USBC (among other things no other company needs forcing to do) which is just insane. Honestly I'm a bit shocked that you came from Android phones and haven't noticed the difference. There are many areas where you have little to no choice on iOS. How have you not noticed? If apple doesn't want you to do it, you basically can't.
If the browser thing was the only thing that would be a deal breaker for me for sure. You could install any browser you wanted on computers thirty years ago. How is it a thing that in 2024 a company is literally preventing you from installing a web browser on a phone that you bought?
There are many countless examples I've noticed over the years of things that cannot be done or are harder on iOS. On my android phone (and I wish there were options besides Android btw, because fuck Google) I can use SyncThing to keep my photos and other files backed up automatically without paying any cloud service. On iOS, last I checked you could even use a file manager, let alone anything remotely like SyncThing. They literally lock you out of doing anything that would cost them a penny. Such a shitty business model, removing any choice that doesn't put money in their pockets.
I’m very aware that there is less choice and have run into the various related issues. Ultimately it’s still been a positive experience, despite that.
... Ok.
So you knew all about this, you just wanted me to give specific examples so you can decide if you care about them?
To each their own but personally a company locking down the device I paid them for is a non starter. And consistently being years behind the competition when you're a trillion dollar company is just... Sad.
Seriously imagine how much damage is done to the web as an evolving ecosystem by them disallowing all other browsers on hundreds of millions of devices. I know I personally have spent months of my life specifically supporting Safari in particular. Things that worked immediately on all other tested browsers took a lot of finagling to get working on iOS safari. I could've been spending that time developing new features (for all users, not just the wealthiest ones who bought iPhones) and fixing bugs.
Here’s a different perspective on Safari: it’s the largest competition to Chrome there is. It’s the only relevant one, really. Apple forces iOS users to use Safari (or at least WebKit), and that’s the only thing standing in the way of Chrome/Blink having >90% market share. Safari alone stops Google from dictating the web. Firefox is great and I love it but it’s got like 3% market share and is itself funded by Google. Hence I think Safari is really important in maintaining an open web, even if that’s not why Apple is incentivized to force it on users. I know web devs also hate it but requiring they put in the effort to support Safari is what an open web is all about.
I just ran into a real world example of Safari's failure to implement web standards that I wanted to share with you so you can understand that web developers are not just mad about spending a few minutes testing in another browser. Because my company's user base is not the most affluent, we have to support older versions of Safari. Some of our users are currently experiencing errors because Safari <= 12 iOS does not support a feature that became supported by every major browser in early 2020.
Because of Apple's decision to not only delay adding support of new web standards (by months or even years), but also to lock the browser version to the OS version, the only browser I see throwing errors about this out of dozens that we get traffic from is Safari iOS. It is worth noting that I routinely see in our logs lots of Android models that were made up to 10 years ago. None of those have issues supporting this (or basically any other modern) feature.
The reason other browsers have no trouble with basic shit like this is that they get updates (usually automatically) on a regular basis. For other browsers, this is a standard part of how the web ecosystem works, even if the user has, say, a 7 year old OS version. But not Safari iOS. You have to update the entire OS or you necessarily get an outdated web experience. Users learned years ago that OS updates might render their perfectly functional device worse off than before, so those who can't afford to buy new devices opt not to install updates. Afraid to update to iOS 17? Well you get a web experience that is at least a year old.
You have no idea how maddening it is to have to frequently debug code that should've worked fine 4 years ago, in a single browser because of shitty monopoly's choice to avoid making the web "too good". You also don't seem to understand how frustrating it would be to be poor and unable to use a website because some random error is happening. Also, btw, these simple "feature not supported" issues are the easiest to deal with. What is even worse are things like their decision to totally hijack how html5 video works on iPhone, deviating from several completely standard ways of operating in every other browser. A video player I have to support has often had no issues in any browser except some particular version of Safari iOS, in which a weird indecipherable race condition is occurring in which some event fires at an unexpected time, which even varies from one version of Safari to the next. Trying to support that shit is so frustrating I've almost quit an otherwise cushy job.
None of this is "what the open web is all about". It is entirely what "retaining profits and market dominance at the expense of an open web" is all about.
Wowwwww, you are accepting what apple forced to happen as the only way things could be.
Safari is by farrrr worse than Firefox and the only reason firefox share is so low is because of (largely Apple's) anti-competitive monopolistic practices that specifically are about increasing app store revenue. Apple is a huge anti-open-web force like no other company has been before. Even Google, who is horrifically fucking the ecosystem up, lets you install any browser you want, and even though they are a controlling asshole force on the w3c, they don't completely flout or oppose standards like apple does.
I haven't read a statement this wrong in a while. Fuck no it isn't. Supporting other browsers, mobile or desktop, is never as difficult as supporting Safari is. There are two reasons for this, both rooted in apple being a blight on the history of the web.
One is that they literally make a conscious choice to make the web worse. Their worst nightmare is for users to be able to replace app store apps with web apps they make no money from, so they intentionally never have adopted most pwa features. They also choose to implement new standards years after everyone else for the same reason. Gotta keep users in the mindset that the web is lacking and not a great solution for anything an app can do. Even if they have to strongarm and brainwash their users to keep that attitude popular.
The other reason would be forgivable, if they weren't a TRILLION DOLLAR COMPANY: incompetence. I don't believe Safari is so buggy by choice. They just aren't great at making a web browser. People love to crow that safari is so fast and light on battery, but only web developers are uniquely qualified to understand how much of a mess it is. For example, try supporting a video player on Safari iOS. Absolute nightmare. Nothing works completely as expected. It is a dumpster fire of bugs.
What the open web is all about is creating web browsers that consistently are all interoperable with websites in the same way. But somehow you've shifted that burden to web devs, saying it's good and necessary for us to toy for weeks with sketchy workarounds for Safari that are not needed by Firefox or chrome. Firefox demonstrates that you don't need a trillion dollars to make a web browser that isn't full on garbage and conforms to standards. You just need a team of smart people and literally just to care about the web vs care about keeping it worse.
Even if apple wanted to care about the web, their business model requires them not to. So they will continue to make the web worse until the EU drags them kicking and screaming toward a better business model. And they'll fight it for years. To spin all of this as apple being the last bastion for web freedom is absolutely cult-lke apologia and you should check yourself.
I don't know the reason why you are using MacOS and iOS but you shouldn't
EDIT : I've seen that I got a lot of down vote. This post was not made with the idea of shitting on Apple, it was to say that this ecosystem is "good" only for some usecase, for one in particularly, working. You shouldn't be using a Mac and an iPhone while wanting to be a bit private. And if you do, you are doing a big mistake
Most professional programmers, graphic artist, and designers I met use MacOS.
Most professional programmers I meet use Linux. A few even scrap MacOS out to install Linux on them.
Sounds like you haven’t met very many professional programmers then.
Professional developer.
Literally have tux tattooed on my chest.
I write software that runs on enterprise Linux distributions (RHEL and its babies).
I will only purchase a MBP to develop on right now, I do not load Linux on it.
I love linux and for anything other than my primary dev box I run it there, but MacOs being Unix AND having the creature comforts AND the best desktop experience keeps me here.
I miss i3 BUT not enough
yabai, mayhaps? https://github.com/koekeishiya/yabai
disclaimer: I've never used macOS nor a tiling WM disclaimer 2: totally not stalking you
I’m in an extremely similar situation. I’m a professional software developer, but the software I develop is cross platform, but in practice most of our users are on Linux (Ubuntu LTS more specifically), and a smaller contingent of Windows users. Honestly not sure if anyone uses macOS besides the developers, but we ship best-effort builds anyways. Our developers run a mix of macOS, Linux, and Windows. I’ve used all three, and ultimately while macOS isn’t perfect, I’ve decided it’s what I can be most productive with, for the reasons you mentioned. It’s close enough to Linux being Unix-like, homebrew is sorta like having all the up to date packages like arch, except with the comfort that an update will never completely break my system, and the macOS creature comforts are extremely nice to have when I’m doing more office tasks rather than writing or reviewing code. Hardware is head and shoulders above everything else, I can go a full day without a charger. Great community too.
Was gifted an iPhone 13, been a lifelong android user. Hate to admit how much I love my iPhone. Hate not having my 512gb microSD card full of music but the multi day battery life makes up for it.
I agree partly with your point of view but a iPhone is still a phone that you cannot really tweak and flash and new rom for example
I used to think that way too. I hated having all the apps on the main screen and the lack of widgets. Nowadays iOS is better and has lets you customize the main screen a lot more. Most iOS users still have all this apps on the main screen but it’s not a necessity like it used to be.
Most people don’t care about that even a little bit. Back in the day I used to use various custom roms on my android devices, it was awesome. But that was then, I have a job and family now and I can’t just reset my phone on a whim because there’s some cool UI tweak in a new rom. Plus, most of the stuff that made custom roms worthwhile has been integrated into the OS nowadays, so the value add is significantly diminished.
Totally agree. At this point my phone is more of an appliance than a computer. I just need it to do what it is supposed to do and that’s it. I don’t even put games on the phone anymore and am really cognizant of the apps I use.
Heck I even remover Uber and lift apps if I’m not going to be using them for a while.
I don't talk about the ui focused rom, but on the private one. Stock iOS and stock android are the same shit, the only reason to change is to use a "degoogled" ROM and iOS won't let you do that easily
I understand where you’re coming from but that’s just not practical for me, even if I had the specific device. For pretty much the same reasons as before. I tried this once in college, not fully degoogled but using microg. I was able to make it work but the experience was pretty awful and I just don’t want to spend my time managing something like that anymore.
Don't know when you try this but today this is pretty simple and after the first setup the experience is seamlessly good, as any other android.
This was like 2018 I think? At this point it’s not really something I’m interested in as I’m not willing to give up creature comforts.
Are you saying Android phones can't have multi day battery? Screenshot of the battery usage of my 3 year old POCO phone...
Not at all. But also just wasn’t my experience. My last phone was the lg g9 and had horrid battery. I’ve seen the poco phone before. If I remember doesn’t it have a massive 5000mah battery?
Yup! 5160mAh battery (and 3.5mm jack 😉)